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

2008 NetLoad Error

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
2199 Views, 2 Replies

2008 NetLoad Error

i have upgraded my code to 2008 from 2006, and i keep getting this error when i netload the file. the code is free of errors in VS 2005, and the 2008 libraries are referenced.

any ideas?

Command: NETLOAD
Cannot load assembly. Error details: Autodesk.AutoCAD.Runtime.Exception:
eDuplicateKey
at Autodesk.AutoCAD.Runtime.Interop.Check(Int32 returnValue)
at AcMgCommandClass.AddCommand(AcMgCommandClass* , ICommandLineCallable ca,
MethodInfo mi)
at
Autodesk.AutoCAD.ApplicationServices.AutoCADApplicationHolder.Initialize(Assembl
y assembly)
at
Autodesk.AutoCAD.ApplicationServices.ExtensionLoader.ProcessAssembly(Assembly
assembly)
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

You have multiple CommandMethod attributes, or
LispFunction attributes with the same command
or function name. If the code was working before
in 2006, it is probably because that release of the
API wasn't checking for it, or something changed
internally.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

wrote in message news:5750420@discussion.autodesk.com...
i have upgraded my code to 2008 from 2006, and i keep getting this error when i netload the file. the code is free of errors in VS 2005, and the 2008 libraries are referenced.

any ideas?

Command: NETLOAD
Cannot load assembly. Error details: Autodesk.AutoCAD.Runtime.Exception:
eDuplicateKey
at Autodesk.AutoCAD.Runtime.Interop.Check(Int32 returnValue)
at AcMgCommandClass.AddCommand(AcMgCommandClass* , ICommandLineCallable ca,
MethodInfo mi)
at
Autodesk.AutoCAD.ApplicationServices.AutoCADApplicationHolder.Initialize(Assembl
y assembly)
at
Autodesk.AutoCAD.ApplicationServices.ExtensionLoader.ProcessAssembly(Assembly
assembly)
Message 3 of 3
Anonymous
in reply to: Anonymous

thanks a million Tony.

-Mark Pendergraft

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

Post to forums  

Forma Design Contest


Autodesk Design & Make Report