Callanp Posted September 19, 2011 Posted September 19, 2011 (edited) Hi Everyone, Just putting this question out there to see if anyone has experienced a similar problem. Our company has a customised CUIX that is loaded as an enterprise that is distributed to all CAD Users. This initial CUIX was made using a windows xp 32 bit operating system. I have just been issued with a new 64 bit windows 7 machine and I am experiencing some issues with AutoCAD 2010. When I make a new command in the command list and drag it to the Customised Panel, Ribbon or Tab the following below error occurs. This occurs no matter what Command I drag from the Command bar to the Customised Panel. Even into the new ACAD cuix this will still occur. I have copied the error below so all of the relevent information can be displayed just to see if anyone has encountered this issue before. It seems to me a debugging error of some sort, any help on how to fix this issue would be greatly appreciated. ERROR DETAILS ee the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Autodesk.AutoCAD.Interop.AcadPreferences'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{9294681F-9D48-43DC-9E38-3E0BF398F25D}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at Autodesk.AutoCAD.Customization.CommandListViewDragDrop.getResourseFile(MenuMacro menuMacro) at Autodesk.AutoCAD.Customization.CommandListViewDragDrop.OnItemDrag(ItemDragEventArgs e) at System.Windows.Forms.ListView.LvnBeginDrag(MouseButtons buttons, NMLISTVIEW nmlv) at System.Windows.Forms.ListView.WmReflectNotify(Message& m) at System.Windows.Forms.ListView.WndProc(Message& m) at Autodesk.AutoCAD.Customization.ListViewEx.WndProc(Message& msg) at System.Windows.Forms.Control.ControlNativeWindow.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.5420 (Win7SP1.050727-5400) CodeBase: [url]file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll[/url] ---------------------------------------- acdbmgd Assembly Version: 18.0.0.0 Win32 Version: 18.0.309.0.0 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/AcdbMgd.DLL[/url] ---------------------------------------- msvcm90 Assembly Version: 9.0.30729.4940 Win32 Version: 9.00.30729.4940 CodeBase: [url]file:///C:/Windows/WinSxS/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_08e4299fa83d7e3c/msvcm90.dll[/url] ---------------------------------------- PresentationFramework Assembly Version: 3.0.0.0 Win32 Version: 3.0.6920.5011 built by: Win7SP1 CodeBase: [url]file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.dll[/url] ---------------------------------------- WindowsBase Assembly Version: 3.0.0.0 Win32 Version: 3.0.6920.5011 built by: Win7SP1 CodeBase: [url]file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll[/url] ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: [url]file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll[/url] ---------------------------------------- PresentationCore Assembly Version: 3.0.0.0 Win32 Version: 3.0.6920.5011 built by: Win7SP1 CodeBase: [url]file:///C:/Windows/assembly/GAC_64/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll[/url] ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: [url]file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll[/url] ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: [url]file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll[/url] ---------------------------------------- AdWindowsInterop Assembly Version: 0.0.0.0 Win32 Version: 18.0.309.0.0 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/AdWindowsInterop.DLL[/url] ---------------------------------------- AdWindows Assembly Version: 2.1.0.0 Win32 Version: 2.1.123.309 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/AdWindows.DLL[/url] ---------------------------------------- acmgd Assembly Version: 18.0.0.0 Win32 Version: 18.0.309.0.0 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/acmgd.DLL[/url] ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: [url]file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll[/url] ---------------------------------------- AcWindows Assembly Version: 18.0.0.0 Win32 Version: 18.0.309.0.0 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/AcWindows.DLL[/url] ---------------------------------------- System.Core Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.5420 built by: Win7SP1 CodeBase: [url]file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll[/url] ---------------------------------------- AcWindows.resources Assembly Version: 18.0.0.0 Win32 Version: 18.0.55.0.0 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/en-US/AcWindows.resources.DLL[/url] ---------------------------------------- AcCui Assembly Version: 18.0.0.0 Win32 Version: 18.0.309.0.0 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/AcCui.DLL[/url] ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: [url]file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll[/url] ---------------------------------------- PresentationFramework.Aero Assembly Version: 3.0.0.0 Win32 Version: 3.0.6920.4902 built by: NetFXw7 CodeBase: [url]file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework.Aero/3.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll[/url] ---------------------------------------- System.Web.Services Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: [url]file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll[/url] ---------------------------------------- Microsoft.JScript Assembly Version: 8.0.0.0 Win32 Version: 8.0.50727.4927 CodeBase: [url]file:///C:/Windows/assembly/GAC_MSIL/Microsoft.JScript/8.0.0.0__b03f5f7f11d50a3a/Microsoft.JScript.dll[/url] ---------------------------------------- ManagedMC3 Assembly Version: 2.20.0.0 Win32 Version: 3.14.1 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/ManagedMC3.DLL[/url] ---------------------------------------- AcLayer Assembly Version: 18.0.0.0 Win32 Version: 18.0.309.0.0 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/AcLayer.DLL[/url] ---------------------------------------- AcLayer.resources Assembly Version: 18.0.0.0 Win32 Version: 18.0.55.0.0 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/en-US/AcLayer.resources.DLL[/url] ---------------------------------------- WindowsFormsIntegration Assembly Version: 3.0.0.0 Win32 Version: 3.0.6920.4902 built by: NetFXw7 CodeBase: [url]file:///C:/Windows/assembly/GAC_MSIL/WindowsFormsIntegration/3.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll[/url] ---------------------------------------- ContextualTabSelectorRules Assembly Version: 0.0.0.0 Win32 Version: 18.0.309.0.0 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/AcWindows.dll[/url] ---------------------------------------- UIAutomationProvider Assembly Version: 3.0.0.0 Win32 Version: 3.0.6920.4902 built by: NetFXw7 CodeBase: [url]file:///C:/Windows/assembly/GAC_MSIL/UIAutomationProvider/3.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll[/url] ---------------------------------------- gzituuyi Assembly Version: 2.1.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: [url]file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll[/url] ---------------------------------------- AcXrefUtil Assembly Version: 18.0.0.0 Win32 Version: 18.0.309.0.0 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/AcXrefUtil.DLL[/url] ---------------------------------------- AcDialogToolTips Assembly Version: 18.0.0.0 Win32 Version: 18.0.309.0.0 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/AcDialogToolTips.DLL[/url] ---------------------------------------- AcDialogToolTips.resources Assembly Version: 18.0.0.0 Win32 Version: 18.0.55.0.0 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/en-US/AcDialogToolTips.resources.DLL[/url] ---------------------------------------- AcCustomize Assembly Version: 18.0.0.0 Win32 Version: 18.0.309.0.0 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/AcCustomize.DLL[/url] ---------------------------------------- AcCustomize.resources Assembly Version: 18.0.0.0 Win32 Version: 18.0.55.0.0 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/en-US/AcCustomize.resources.DLL[/url] ---------------------------------------- System.Data Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: [url]file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll[/url] ---------------------------------------- System.Design Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: [url]file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll[/url] ---------------------------------------- Autodesk.AutoCAD.Interop Assembly Version: 18.0.0.0 Win32 Version: 18.0.55.0.0 CodeBase: [url]file:///C:/Windows/assembly/GAC_MSIL/Autodesk.AutoCAD.Interop/18.0.0.0__eed84259d7cbf30b/Autodesk.AutoCAD.Interop.dll[/url] ---------------------------------------- AcMrUi Assembly Version: 18.0.0.0 Win32 Version: 18.0.309.0.0 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/AcMrUI.DLL[/url] ---------------------------------------- AcMrUi.resources Assembly Version: 18.0.0.0 Win32 Version: 18.0.55.0.0 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/en-US/AcMrUi.resources.DLL[/url] ---------------------------------------- AcMr Assembly Version: 18.0.0.0 Win32 Version: 18.0.309.0.0 CodeBase: [url]file:///C:/Program%20Files/AutoCAD%202010/AcMr.DLL[/url] ---------------------------------------- System.Runtime.Serialization Assembly Version: 3.0.0.0 Win32 Version: 3.0.4506.5420 (Win7SP1.030729-5400) CodeBase: [url]file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Serialization/3.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll[/url] ---------------------------------------- ************** 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 de****** registered on the computer rather than be handled by this dialog box. regards Cal Edited September 20, 2011 by SLW210 Quote
SuperCAD Posted September 19, 2011 Posted September 19, 2011 Using 2008, I have experienced similar problems when I was the only person using a 64bit machine and all the others were on 32bit. The only difference being that I wasn't the one who had the problems. It was the 32bit machines that had trouble using anything that I made on the 64bit machine. What I ended up doing was creating two working environments for each of us to use. It was the only way to keep the peace between the machines, but it was a PITA to create a block and add it to a tool palette and then have to do the same thing on a 32 bit machine. Quote
Callanp Posted September 19, 2011 Author Posted September 19, 2011 Thanks for that, greatly appreciated, I was hoping that wasn't the case but if there has to be two work environments we will just have to live with that. Anyone else come accross this before? Thanks again Quote
SLW210 Posted September 20, 2011 Posted September 20, 2011 That is a lot of info, I placed it in code tags to help on the reading. Quote
Thijs Roggekamp Posted November 11, 2011 Posted November 11, 2011 Callanp, I have similar issues when adding commands to the ribbon interface. It seems to be that only this error occurrs when the command no image has. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.