ahinst
asked on
.net popup exception
When I first set up my Toshiba Satellite(windows home 7) all was well. Then I upgraded to ultimate as I use a number of old EX programs that have not yet been updated for win. 7
Now I am getting a popup telling me that an exception has occoured in .net.
I enclose the detail. This is most infuriating. I have searched your site and also the web but none of the solutions seem to help.
detail:-
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 requested operation cannot be performed on a file with a user-mapped section open.
at System.IO.__Error.WinIOErr or(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, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor (String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter..ct or(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ct or(String path)
at Toshiba.OOBE.Common.Regist rationSett ings.Save( )
at Toshiba.OOBE.Reminder.Remi nderForm.r eminderTim er_Tick(Ob ject sender, EventArgs e)
at System.Windows.Forms.Timer .OnTick(Ev entArgs e)
at System.Windows.Forms.Timer .TimerNati veWindow.W ndProc(Mes sage& m)
at System.Windows.Forms.Nativ eWindow.Ca llback(Int Ptr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microso ft.NET/Fra mework64/v 2.0.50727/ mscorlib.d ll
-------------------------- ---------- ----
ToshibaReminder
Assembly Version: 8.0.5.0
Win32 Version: 8.0.5.0
CodeBase: file:///C:/Program%20Files /Toshiba/R egistratio n/ToshibaR eminder.ex e
-------------------------- ---------- ----
ToshibaCommon
Assembly Version: 8.0.5.0
Win32 Version: 8.0.5.0
CodeBase: file:///C:/Program%20Files /Toshiba/R egistratio n/ToshibaC ommon.DLL
-------------------------- ---------- ----
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembl y/GAC_MSIL /System.Wi ndows.Form s/2.0.0.0_ _b77a5c561 934e089/Sy stem.Windo ws.Forms.d ll
-------------------------- ---------- ----
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembl y/GAC_MSIL /System/2. 0.0.0__b77 a5c561934e 089/System .dll
-------------------------- ---------- ----
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembl y/GAC_MSIL /System.Dr awing/2.0. 0.0__b03f5 f7f11d50a3 a/System.D rawing.dll
-------------------------- ---------- ----
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembl y/GAC_MSIL /System.Co nfiguratio n/2.0.0.0_ _b03f5f7f1 1d50a3a/Sy stem.Confi guration.d ll
-------------------------- ---------- ----
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembl y/GAC_MSIL /System.Xm l/2.0.0.0_ _b77a5c561 934e089/Sy stem.Xml.d ll
-------------------------- ---------- ----
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembl y/GAC_MSIL /System.Ma nagement/2 .0.0.0__b0 3f5f7f11d5 0a3a/Syste m.Manageme nt.dll
-------------------------- ---------- ----
ToshibaReminder.resources
Assembly Version: 8.0.5.0
Win32 Version: 8.0.5.0
CodeBase: file:///C:/Program%20Files /Toshiba/R egistratio n/en/Toshi baReminder .resources .DLL
-------------------------- ---------- ----
-f3thuj-
Assembly Version: 8.0.5.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembl y/GAC_MSIL /System/2. 0.0.0__b77 a5c561934e 089/System .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.
Now I am getting a popup telling me that an exception has occoured in .net.
I enclose the detail. This is most infuriating. I have searched your site and also the web but none of the solutions seem to help.
detail:-
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 requested operation cannot be performed on a file with a user-mapped section open.
at System.IO.__Error.WinIOErr
at System.IO.FileStream.Init(
at System.IO.FileStream..ctor
at System.IO.FileStream..ctor
at System.IO.StreamWriter..ct
at System.IO.StreamWriter..ct
at Toshiba.OOBE.Common.Regist
at Toshiba.OOBE.Reminder.Remi
at System.Windows.Forms.Timer
at System.Windows.Forms.Timer
at System.Windows.Forms.Nativ
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microso
--------------------------
ToshibaReminder
Assembly Version: 8.0.5.0
Win32 Version: 8.0.5.0
CodeBase: file:///C:/Program%20Files
--------------------------
ToshibaCommon
Assembly Version: 8.0.5.0
Win32 Version: 8.0.5.0
CodeBase: file:///C:/Program%20Files
--------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembl
--------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembl
--------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembl
--------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembl
--------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembl
--------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembl
--------------------------
ToshibaReminder.resources
Assembly Version: 8.0.5.0
Win32 Version: 8.0.5.0
CodeBase: file:///C:/Program%20Files
--------------------------
-f3thuj-
Assembly Version: 8.0.5.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembl
--------------------------
************** 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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Will wait a couple of days before I install .net again unless some of my programms have problems. Thank you.