Message 1 of 10
Error creating instance of AcadApplication
Not applicable
09-12-2006
12:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
"We are having a problem on an end user's machine. Creating an instance of the AcadApplication object via COM has worked on hundreds of machines, however, this one user's machine is generating exceptions.
This code writting in VB.NET using VS 2005 (Autodesk.AutoCAD.Interop and Autodesk.AutoCAD.Interop.Common have already been imported):
********************************************
dim acApp as new AcadApplication
********************************************
generates a "Creating an instance of the COM component with CLSID{28B7AA99-C0F9-4C47-995E-8A8D729603A1} from the IClassFactory failed due to the following error: 80010001".
If I try creating an instance using the old method:
********************************************
dim acApp as AcadApplication
acApp = CreateObject("AutoCAD.Application.17")
********************************************
a "cannot create ActiveX component" exception is generated.
Both methods work on all of our test machines, however, this one user is throwing exceptions. I had him check accout permissions to make sure he has adminitrative rights,which he does, Anti-virus is shut down, he reinstalled Acad 2007 with anti-virus off, and even tried running our EXE on another machine with a similar setup. There is something he has in common between his two machines where access to "AutoCAD.Application" is restricted, corrupted, or doesn't exist.
I'm completely wasted at this point trying to figure this out. Any help from you guys on what to look for would be greatly appreciated
This code writting in VB.NET using VS 2005 (Autodesk.AutoCAD.Interop and Autodesk.AutoCAD.Interop.Common have already been imported):
********************************************
dim acApp as new AcadApplication
********************************************
generates a "Creating an instance of the COM component with CLSID{28B7AA99-C0F9-4C47-995E-8A8D729603A1} from the IClassFactory failed due to the following error: 80010001".
If I try creating an instance using the old method:
********************************************
dim acApp as AcadApplication
acApp = CreateObject("AutoCAD.Application.17")
********************************************
a "cannot create ActiveX component" exception is generated.
Both methods work on all of our test machines, however, this one user is throwing exceptions. I had him check accout permissions to make sure he has adminitrative rights,which he does, Anti-virus is shut down, he reinstalled Acad 2007 with anti-virus off, and even tried running our EXE on another machine with a similar setup. There is something he has in common between his two machines where access to "AutoCAD.Application" is restricted, corrupted, or doesn't exist.
I'm completely wasted at this point trying to figure this out. Any help from you guys on what to look for would be greatly appreciated
