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

Getting a "Could not load file or assembly" error.

3 REPLIES 3
Reply
Message 1 of 4
jeffbeagle
426 Views, 3 Replies

Getting a "Could not load file or assembly" error.

I am doing some migrations from VBA to . NET and am getting an error (see image005.png attached). I should clarify "I am trying to do some migrations". All works fine on my development computer. I have ACAD 2007, 2008 and 2009 installed. Works fine under all version, but when I put the DLL another computer with only ACAD 2008 on it, I the the error in image005.png. All AutoCAD references are to the dll's in the AutoCad 2008 folder and ObjectARX 2008 inc folder.

Any help would be greatly appreciated.

Thanks,

Jeff
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: jeffbeagle

Since it's complaining about the AutoCAD 2009 interop assembly being
unavailable, you apparently have a reference somewhere to that assembly.
--
Owen Wengerd
President, ManuSoft <>
VP Americas, CADLock, Inc. <>


"jeffbeagle" wrote in message news:6341085@discussion.autodesk.com...
> I am doing some migrations from VBA to . NET and am getting an error (see
> image005.png attached). I should clarify "I am trying to do some
> migrations". All works fine on my development computer. I have ACAD
> 2007, 2008 and 2009 installed. Works fine under all version, but when I
> put the DLL another computer with only ACAD 2008 on it, I the the error in
> image005.png. All AutoCAD references are to the dll's in the AutoCad
> 2008 folder and ObjectARX 2008 inc folder.
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> Jeff
>
Message 3 of 4
jeffbeagle
in reply to: jeffbeagle

I thought so also, but look at the references on the image attached. All seem to be pointing to ACAD 2008 dll's.

Any other thoughts?

Thanks

Jeff
Message 4 of 4
Anonymous
in reply to: jeffbeagle

The error message says that it can't find the COM interop assemblies for AutoCAD
2009, which will not be present on a system without that release installed.

Conusuming COM interop with early-binding requires separate builds for each
AutoCAD release you want to target.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6341085@discussion.autodesk.com...
I am doing some migrations from VBA to . NET and am getting an error (see
image005.png attached). I should clarify "I am trying to do some migrations".
All works fine on my development computer. I have ACAD 2007, 2008 and 2009
installed. Works fine under all version, but when I put the DLL another
computer with only ACAD 2008 on it, I the the error in image005.png. All
AutoCAD references are to the dll's in the AutoCad 2008 folder and ObjectARX
2008 inc folder.

Any help would be greatly appreciated.

Thanks,

Jeff

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