Network Installations -- Separate Client and Server

Questions, answers, and tips about the installation and configuration of DraftLogic Electrical

Network Installations -- Separate Client and Server

Postby forumadmin » Sat Jun 22, 2013 1:28 pm

Autodesk added security measures to AutoCAD that default it to not allow the loading of assemblies that are not on your workstation. This causes a '.NET Sandbox' issue to be reported when attempting to load DraftLogic Electrical unless you have set your AutoCAD up to allow the loading of remote assemblies. Our install tries to help out with this, but may need a bit of final configuration depending on how your install went.

The change is pretty simple, you just need to add one line to the <runtime> section of the 'acad.exe.config' file that is in the root of your AutoCAD installation directory (likely Program Files/AutoCAD or similar). Note you will need to do this for each individual version of AutoCAD that you want to run remote assemblies with.

Here is the line to add:
<loadFromRemoteSources enabled="true"/>

Here is how my 'acad.exe.config' file looks from 'C:\ProgramFiles\Autodesk\AutoCAD 2011', I made no other changes versus the default installed version of this file:
<configuration>

<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"/>
</startup>

<!--All assemblies in AutoCAD are fully trusted so there's no point generating publisher evidence-->
<runtime>
<generatePublisherEvidence enabled="false"/>
<loadFromRemoteSources enabled="true"/>
</runtime>
</configuration>
forumadmin
Site Admin
 
Posts: 87
Joined: Fri Sep 11, 2009 5:46 am

Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron