.NET Error

Pauhe Gunor

Stalker
Joined
Dec 25, 2007
Posts
2,466
Location
Newcastle, uk
Society
Hunters Unlimited
Avatar Name
Pauhe Cybertrash Gunor
anyone explain this to me please it only happens when running EU and ET together.

dotnet_error.jpg


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 'C:\Users\<name removed>\Documents\Entropia Universe\chat.log' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path)
at System.IO.File.OpenText(String path)
at DmgReader.Form1.ReadFromFile()
at DmgReader.Form1.Tracking_Iteration()
at DmgReader.Form1.Timer_Tick(Object sender, EventArgs eArgs)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4200 (NetFxQFE.050727-4200)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Entropia Tracker Suite
Assembly Version: 1.0.0.1
Win32 Version: 1.0.0.1
CodeBase: file:///C:/Users/<name removed>/AppData/Local/Apps/2.0/744J28T8.BN7/YK3E69JA.NML/entr..tion_8d0d4db70d5e3e95_0001.0000_41e73927e5c5558c/Entropia%20Tracker%20Suite.exe
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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.
 
Looks like the chat.log file is being held open rather than being closed each time an addition is made (by the EU client) so when ET tries to access it .Net gets an exception due to an access violation (two processes can't access the same file at the same time).

i.e. EU opens the file and writes to it, ET tries to open the file before EU closes or unlocks it and so the error occurs.

Were you getting the error before todays update?
 
Last edited:
mabey you need to update your net framework ??
 
your .NET application is attempting to open the file in exclusive mode. You need to chande FileMode and/or FileAccess properties of the filestream object.

if you need specifics send me a PM and I'll get back to you when I'm at a PC.
Posted via Mobile Device
 
sorry, thought this was your own custom app causing the problem rather than ET. StarFinder may have to offer assistance.

Posted via Mobile Device
 
your .NET application is attempting to open the file in exclusive mode. You need to chande FileMode and/or FileAccess properties of the filestream object.

if you need specifics send me a PM and I'll get back to you when I'm at a PC.
Posted via Mobile Device

Marked as Answer.
 
Back
Top