AutoCAD2013 COM errors

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi I have a C# wrapper aorund AutoCAD that open autoCAD, loads a model and runs it and saves the data. The applicaitons runs fine on my system ( windows 7 , 64 bit) but fails on another system( windows 7, 64 bit). I get the following error message:
Error (Unable to cast COM object of type 'System.__ComObject' to interface type 'NBench.AutoCAD2014.IBenchmarkPlugin'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{076C9B22-3196-4F6C-B416-42517384A774}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))
I dont get this since it runs on fine on another system. both use .NET 4.0. On the failing system, the application is able to open the AutoCAd, load the model but then it crashes instead of running it.
Can anyone have any ideas for this random error?
Thanks!