.NET

Reply
Active Contributor
ahmed.felix
Posts: 38
Registered: ‎08-31-2006
Message 1 of 2 (72 Views)

Netload error

72 Views, 1 Replies
09-19-2006 12:20 PM
I'm having errors loading assemblies on other computers other than the one I used to develop. This is what I did: compile the assembly and place its entire folder with all the references it needed in a server. Open AutoCAD in my computer, ensure the commands I defined weren't available, loaded the assembly directly from the server and run a command, which is now available cause it's part of the assembly. If I try to do the exact thing in other computers of the network (except for the compiling of course) the commands never become available, even if I am loading the same assembly from the same place, can anybody tell me what am I doing wrong?
*Norman Yuan
Message 2 of 2 (72 Views)

Re: Netload error

09-19-2006 04:09 PM in reply to: ahmed.felix
Have you configure the security settings for the corresponding .NET
framework (1.x or 2.0) on the targeting computer? Since you load the .NET
assemblies from a network share, by default, the .NET Framework treats code
from outside of the running computer as unsafe and will not run it.

You use MS .NET Framework Configuration applet in Control Panel or
commandline tool CASPOL.exe to configure security settings of .NET
Framework. Common approach is to create a code group that points to the
network share and give the code group required trust, just enough to run
your .NET app.

wrote in message news:5334442@discussion.autodesk.com...
I'm having errors loading assemblies on other computers other than the one I
used to develop. This is what I did: compile the assembly and place its
entire folder with all the references it needed in a server. Open AutoCAD in
my computer, ensure the commands I defined weren't available, loaded the
assembly directly from the server and run a command, which is now available
cause it's part of the assembly. If I try to do the exact thing in other
computers of the network (except for the compiling of course) the commands
never become available, even if I am loading the same assembly from the same
place, can anybody tell me what am I doing wrong?

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community