.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unhandled exception in AcWindows.dll, after installing AutoCAD 2011

1 REPLY 1
Reply
Message 1 of 2
shashidhara_n
1346 Views, 1 Reply

Unhandled exception in AcWindows.dll, after installing AutoCAD 2011

Hi,

Thanks for your reply to all my previous posts.

Today i am getting Unhandled exception in AcWindows.dll while loading AutoCAD 2011. Recently i installed AutoCAD 2011. Find the below error description and attached image. Please help me to fix this issue.

 

Application does not support just-in-time (JIT)

debugging. See the end of this message for details.

 

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

System.Windows.Markup.XamlParseException: Failed object initialization (ISupportInitialize.EndInit). Dispatcher processing has been suspended, but messages are still being processed.  Error at object 'WorkspaceImage' in markup file 'AcWindows;component/Ribbon/Controls/Base.xaml'. ---> System.InvalidOperationException: Dispatcher processing has been suspended, but messages are still being processed.

   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

   at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

.

.

.

.

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

mscorlib

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3607 (GDR.050727-3600)

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

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

acdbmgd

    Assembly Version: 18.1.0.0

    Win32 Version: 18.1.49.0.0

    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/AcdbMgd.DLL

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

System

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

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

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

msvcm90

    Assembly Version: 9.0.30729.4148

    Win32 Version: 9.00.30729.4148

    CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_d495ac4e/msvcm90.dll

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

System.Xml

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)

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

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

System.Drawing

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

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

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

PresentationFramework

    Assembly Version: 3.0.0.0

    Win32 Version: 3.0.6920.1500 built by: QFE

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.dll

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

WindowsBase

    Assembly Version: 3.0.0.0

    Win32 Version: 3.0.6920.1427 built by: SP

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll

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

PresentationCore

    Assembly Version: 3.0.0.0

    Win32 Version: 3.0.6920.1427 built by: SP

    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll

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

AdApplicationFrame

    Assembly Version: 0.0.0.0

    Win32 Version: 3.0.264.0

    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/AdApplicationFrame.DLL

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

AdWindows

    Assembly Version: 3.0.263.0

    Win32 Version: 3.0.263.0

    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/AdWindows.DLL

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

PresentationFramework.Luna

    Assembly Version: 3.0.0.0

    Win32 Version: 3.0.6920.1427 built by: SP

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework.Luna/3.0.0.0__31bf3856ad364e35/PresentationFramework.Luna.dll

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

acmgd

    Assembly Version: 18.1.0.0

    Win32 Version: 18.1.49.0.0

    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/acmgd.DLL

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

System.Core

    Assembly Version: 3.5.0.0

    Win32 Version: 3.5.30729.1 built by: SP

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

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

System.Configuration

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

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

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

AcWindows

    Assembly Version: 18.1.0.0

    Win32 Version: 18.1.49.0.0

    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/AcWindows.DLL

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

AcWindows.resources

    Assembly Version: 18.1.0.0

    Win32 Version: 18.1.49.0.0

    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/en-US/AcWindows.resources.DLL

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

AcCui

    Assembly Version: 18.1.0.0

    Win32 Version: 18.1.49.0.0

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

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

AeciRibbon54Res

    Assembly Version: 18.1.15.1

    Win32 Version: 18.1.015.1

    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Raster%20Design%202011/AeciRibbon54res.dll

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

SmarTeam.Std.SystemConfiguration

    Assembly Version: 5.20.5.39

    Win32 Version: 5.20.5.39

    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/SmarTeam.Std.SystemConfiguration/5.20.5.39__b4ecbcafd01b2516/SmarTeam.Std.SystemConfiguration.dll

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

SmarTeam.Std.LocalConfiguration

    Assembly Version: 5.20.5.39

    Win32 Version: 5.20.5.39

    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/SmarTeam.Std.LocalConfiguration/5.20.5.39__b4ecbcafd01b2516/SmarTeam.Std.LocalConfiguration.dll

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

System.Runtime.Remoting

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

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

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

SmarTeam.Std.Foundation.Logger.Interfaces

    Assembly Version: 5.20.5.39

    Win32 Version: 5.20.5.39

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/SmarTeam.Std.Foundation.Logger.Interfaces/5.20.5.39__b4ecbcafd01b2516/SmarTeam.Std.Foundation.Logger.Interfaces.dll

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

SmarTeam.Std.Foundation.Logger

    Assembly Version: 5.20.5.39

    Win32 Version: 5.20.5.39

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/SmarTeam.Std.Foundation.Logger/5.20.5.39__b4ecbcafd01b2516/SmarTeam.Std.Foundation.Logger.dll

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

SmarTeam.Std.Foundation.Logger.SmarTeamLogger

    Assembly Version: 5.20.5.39

    Win32 Version: 5.20.5.39

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/SmarTeam.Std.Foundation.Logger.SmarTeamLogger/5.20.5.39__b4ecbcafd01b2516/SmarTeam.Std.Foundation.Logger.SmarTeamLogger.dll

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

SmarTeam.Std.Windows.Forms.SplashScreen

    Assembly Version: 5.20.5.39

    Win32 Version: 5.20.5.39

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/SmarTeam.Std.Windows.Forms.SplashScreen/5.20.5.39__b4ecbcafd01b2516/SmarTeam.Std.Windows.Forms.SplashScreen.dll

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

System.Windows.Forms

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

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

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

AcCustomize

    Assembly Version: 18.1.0.0

    Win32 Version: 18.1.49.0.0

    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/AcCustomize.DLL

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

AcCustomize.resources

    Assembly Version: 18.1.0.0

    Win32 Version: 18.1.49.0.0

    CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/en-US/AcCustomize.resources.DLL

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

AcMNUParser

    Assembly Version: 18.1.0.0

    Win32 Version: 18.1.49.0.0

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

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

PresentationFramework.Aero

    Assembly Version: 3.0.0.0

    Win32 Version: 3.0.6920.1427 built by: SP

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework.Aero/3.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll

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

 

************** JIT Debugging **************

Application does not support Windows Forms just-in-time (JIT)

debugging. Contact the application author for more

information.

 

1 REPLY 1
Message 2 of 2

I don't think anyone is going to be able to tell you what problem in your code is causing this just by reading that Exception text. There's just not enough information. Assuming this is caused by your plug-in, then you're going to have to debug your code to narrow down what calls you're making that cause AutoCAD to immediately crash or to become unstable and crash later. That may include gradually commenting our sections to narrow things down. Setting your debugger to break when an exception is thrown may help too. And check you're not setting Copy Local to True for any of the AutoCAD managed assemblies you're referencing.

 

Cheers,

 

Stephen Preston

Autodesk Developer Network

Cheers,

Stephen Preston
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost