I have been trying to instal AutoCAD 2008 on a single PC and get the
following
Microsoft .NET Framework security error.
I have updated to the latest .NET Framework 2.0 software, however, this
error occurred with only v1.1 installed.
I also got the same error when trying to install an old ACAD 2005 version
(as
a check). I have successfully installed this version a couple of years ago.
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 installs.
I have also installed WinDbg and tried to attach it to the acad.exe process
but it shows an error.
I have found this error mentioned elsewhere (after a Google search) but have
not seen a solution as yet.
regards
Benny
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Security .SecurityExcept ion: Requested registry access is not allowed.
at System.ThrowHel per.ThrowSecuri tyException(Exc eptionResource resource)
at Microsoft.Win32 .RegistryKey.Op enSubKey(String name, Boolean writable)
at Autodesk.AutoCA D.CustomMigrato r.Migrator.SetH asMigrated(Stri ng
RootRegKey, Int32 iValue)
at Autodesk.AutoCA D.ADMigrator.Ma inForm.MainForm _Closed(Object sender,
EventArgs e)
at System.Windows. Forms.Form.OnCl osed(EventArgs e)
at System.Windows. Forms.Form.WmCl ose(Message& m)
at System.Windows. Forms.Form.WndP roc(Message& m)
at System.Windows. Forms.Control.C ontrolNativeWin dow.OnMessage(M essage& m)
at System.Windows. Forms.Control.C ontrolNativeWin dow.WndProc(Mes sage& m)
at System.Windows. Forms.NativeWin dow.Callback(In tPtr 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__b77a5c 561934e089/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__b77a5c 561934e089/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__b03f5f 7f11d50a3a/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__b77a5c 561934e089/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.V C80.CRT_1fc8b3b 9a1e18e3b_8.0.5 0727.42_x-ww_0de06acd/msvcm80.dll
----------------------------------------
ADMigrator.reso urces
Assembly Version: 17.1.0.0
Win32 Version: 17.1.51.0
CodeBase:
file:///C:/Program%20Files/AutoCAD%202008/en-US/ADMigrator.reso urces.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:
<configuratio n>
<system.windows .forms jitDebugging="t rue" />
</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.