MS .NET Framework jit debugging error

Apr 14, 2007 0 Replies

I have been trying to instal ACAD 2008 on a single PC and get the following Microsoft .NET Framework security error. I have updated to the latest .NET Framework software.



I also got the same error when trying to instal an old ACAD 2005 version (as a check).



I have tried changing the acad.exe.config file as mentioned below and have tried installing with the virus software turned off. The machine config file is set to default. This has never occurred with any other software instals.



I have found this error mentioned elsewhere (after a Google search) but have not seen a solution as yet.



regards



PeterH


See the end of this message for details on invoking



just-in-time (JIT) debugging instead of this dialog box.


************** Exception Text **************

System.Security.SecurityException: Requested registry access is not allowed.



at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)



at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)



at Autodesk.AutoCAD.CustomMigrator.Migrator.SetHasMigrated(String RootRegKey, Int32 iValue)



at Autodesk.AutoCAD.ADMigrator.MainForm.MainForm_Closed(Object sender, EventArgs e)



at System.Windows.Forms.Form.OnClosed(EventArgs e)



at System.Windows.Forms.Form.WmClose(Message& m)



at System.Windows.Forms.Form.WndProc(Message& m)



at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)



at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)



at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



The Zone of the assembly that failed was:



MyComputer


************** Loaded Assemblies **************

mscorlib



Assembly Version: 2.0.0.0



Win32 Version: 2.0.50727.42 (RTM.050727-4200)



CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


----------------------------------------



ADMigrator



Assembly Version: 17.1.0.0



Win32 Version: 17.1.51.0



CodeBase: file:///C:/Program%20Files/AutoCAD%202008/admigrator.exe


----------------------------------------



System.Windows.Forms



Assembly Version: 2.0.0.0



Win32 Version: 2.0.50727.42 (RTM.050727-4200)



CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll


----------------------------------------



System



Assembly Version: 2.0.0.0



Win32 Version: 2.0.50727.42 (RTM.050727-4200)



CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


----------------------------------------



System.Drawing



Assembly Version: 2.0.0.0



Win32 Version: 2.0.50727.42 (RTM.050727-4200)



CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


----------------------------------------



AdMigLib



Assembly Version: 17.1.0.0



Win32 Version: 17.1.51.0



CodeBase: file:///C:/Program%20Files/AutoCAD%202008/AdMigLib.DLL


----------------------------------------



System.Xml



Assembly Version: 2.0.0.0



Win32 Version: 2.0.50727.42 (RTM.050727-4200)



CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll


----------------------------------------



AcCui



Assembly Version: 17.1.0.0



Win32 Version: 17.1.51.0



CodeBase: file:///C:/Program%20Files/AutoCAD%202008/AcCui.DLL


----------------------------------------



AcMNUParser



Assembly Version: 17.1.0.0



Win32 Version: 17.1.51.0



CodeBase: file:///C:/Program%20Files/AutoCAD%202008/AcMNUParser.DLL


----------------------------------------



msvcm80



Assembly Version: 8.0.50608.0



Win32 Version: 8.00.50727.42



CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd/msvcm80.dll


----------------------------------------



ADMigrator.resources



Assembly Version: 17.1.0.0



Win32 Version: 17.1.51.0



CodeBase: file:///C:/Program%20Files/AutoCAD%202008/en-US/ADMigrator.resources.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:


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.


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required