Please consider helping us pay for the server hosting that keeps this website, the forums and the download hangar running. Use the PayPal link at the bottom of this page.

Library Creator Error message

Let's hear all about the eye candy at those military bases.
Post Reply
User avatar
VulcanDriver
MAIW Staff
MAIW Staff
Posts: 4565
Joined: 11 Aug 2006, 20:58
Version: FSX
Location: EGHH

Library Creator Error message

Post by VulcanDriver »

Hi All

It used to work but its now giving me this error message.

I've attached the screenshot from Library Creator






See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.IOException: The process cannot access the file 'D:\FSX\Addon Scenery\EGKR Redhill\scenery\Redhill_Library.xml' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at ASToFra.Object.Writer.BglXWriter.Write(String filename, Scenery scenery, Int32 subWriterIndex)
at ASToFra.LibraryCreatorXML.SaveForm.cmdSave_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9282.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
LibraryCreatorXML
Assembly Version: 1.0.0.0
Win32 Version: 3.0.0.0
CodeBase: file:///D:/Library%20Creator/LibraryCreatorXML.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9251.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9282.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ASToFra.Utils
Assembly Version: 1.0.0.0
Win32 Version: 1.8.0.0
CodeBase: file:///D:/Library%20Creator/ASToFra.Utils.DLL
----------------------------------------
ASToFra.Object.Reader
Assembly Version: 1.0.0.0
Win32 Version: 1.8.0.0
CodeBase: file:///D:/Library%20Creator/ASToFra.Object.Reader.DLL
----------------------------------------
ASToFra.Object.DataModel
Assembly Version: 1.0.0.0
Win32 Version: 1.8.0.0
CodeBase: file:///D:/Library%20Creator/ASToFra.Object.DataModel.DLL
----------------------------------------
ASToFra.Interfaces
Assembly Version: 1.0.0.0
Win32 Version: 1.8.0.0
CodeBase: file:///D:/Library%20Creator/ASToFra.Interfaces.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9277.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Resources.Extensions
Assembly Version: 9.0.0.0
Win32 Version: 9.0.24.52809
CodeBase: file:///D:/Library%20Creator/System.Resources.Extensions.DLL
----------------------------------------
System.Memory
Assembly Version: 4.0.1.2
Win32 Version: 4.6.31308.01
CodeBase: file:///D:/Library%20Creator/System.Memory.DLL
----------------------------------------
System.Runtime.CompilerServices.Unsafe
Assembly Version: 6.0.0.0
Win32 Version: 6.0.21.52210
CodeBase: file:///D:/Library%20Creator/System.Runtime.CompilerServices.Unsafe.DLL
----------------------------------------
System.Numerics.Vectors
Assembly Version: 4.1.4.0
Win32 Version: 4.6.26515.06
CodeBase: file:///D:/Library%20Creator/System.Numerics.Vectors.DLL
----------------------------------------
ASToFra.Utils.FS
Assembly Version: 1.0.0.0
Win32 Version: 1.8.0.0
CodeBase: file:///D:/Library%20Creator/ASToFra.Utils.FS.DLL
----------------------------------------
ASToFra.Object.Writer
Assembly Version: 1.0.0.0
Win32 Version: 1.8.0.0
CodeBase: file:///D:/Library%20Creator/ASToFra.Object.Writer.DLL
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
ASToFra.Geometry
Assembly Version: 1.0.0.0
Win32 Version: 1.8.0.0
CodeBase: file:///D:/Library%20Creator/ASToFra.Geometry.DLL
----------------------------------------
ASToFra.EventLog
Assembly Version: 1.0.0.0
Win32 Version: 1.8.0.0
CodeBase: file:///D:/Library%20Creator/ASToFra.EventLog.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Attachments
Screenshot (59).png
John

"That is the biggest fool thing we have ever done. The A-bomb will never go off, and I speak as an expert in explosives." - Admiral William Leahy
geoffj
First Lieutenant
First Lieutenant
Posts: 131
Joined: 29 Aug 2006, 09:27
Version: FSX
Location: Wiltshire, UK

Re: Library Creator Error message

Post by geoffj »

User avatar
Firebird
MAIW Admin
MAIW Admin
Posts: 12332
Joined: 11 Aug 2006, 21:04
Version: FS9
Location: EGLL

Re: Library Creator Error message

Post by Firebird »

Well starting from the first line it says that it can't access D:\FSX\Addon Scenery\EGKR Redhill\scenery\Redhill_Library.xml because it is in use. Did you still have it open in an editor?
Steve
_______________________________________________________
Image
Quid Si Coelum Ruat
_______________________________________________________
User avatar
VulcanDriver
MAIW Staff
MAIW Staff
Posts: 4565
Joined: 11 Aug 2006, 20:58
Version: FSX
Location: EGHH

Re: Library Creator Error message

Post by VulcanDriver »

geoffj wrote: 13 Jan 2025, 14:13 Could this help?

https://www.fsdeveloper.com/forum/threa ... ly.448539/
I'll try that tomorrow. I keep forgetting the users folder.

Cheers
John

"That is the biggest fool thing we have ever done. The A-bomb will never go off, and I speak as an expert in explosives." - Admiral William Leahy
User avatar
VulcanDriver
MAIW Staff
MAIW Staff
Posts: 4565
Joined: 11 Aug 2006, 20:58
Version: FSX
Location: EGHH

Re: Library Creator Error message

Post by VulcanDriver »

VulcanDriver wrote: 13 Jan 2025, 16:37
geoffj wrote: 13 Jan 2025, 14:13 Could this help?

https://www.fsdeveloper.com/forum/threa ... ly.448539/
I'll try that tomorrow. I keep forgetting the users folder.

Cheers
Tried that and still getting the same error.
John

"That is the biggest fool thing we have ever done. The A-bomb will never go off, and I speak as an expert in explosives." - Admiral William Leahy
User avatar
John Young
MAIW Developer
MAIW Developer
Posts: 4361
Joined: 12 Jul 2008, 15:15

Re: Library Creator Error message

Post by John Young »

In the debugging list, there is an error in Building 3. Have you checked that (try leaving it out)?

John
User avatar
VulcanDriver
MAIW Staff
MAIW Staff
Posts: 4565
Joined: 11 Aug 2006, 20:58
Version: FSX
Location: EGHH

Re: Library Creator Error message

Post by VulcanDriver »

Hi all. Finally fixed the problem. Xml file was corrupted. Once I removed it then created it the library as a new one it compiled OK.
John

"That is the biggest fool thing we have ever done. The A-bomb will never go off, and I speak as an expert in explosives." - Admiral William Leahy
Post Reply