Documenting Assemblies that are on a Network or UNC path

If you attempt to document a .NET assembly that is located on a network path, you may encounter an exception indicating that the assembly cannot be opened due to trust issues.

The recommended solution to this issue is to copy the assembly to a local path and document it from there. If you are unable to do that, it is possible to modify the .config file for Document! X to allow loading assemblies from remote sources.

To do this, edit each of the .config files in the \Program Files\Innovasys\DocumentX2019\bin folder to add a <runtime> element containing the loadFromRemoteSources option, as follows:

<configuration>
    <runtime>
        <loadFromRemoteSources enabled="true"/>
    </runtime>

...

</configuration

After this option is added, loading assemblies from network locations will be enabled.

Installing an update for Document! X will reset the .config files and you will need to repeat this modification.

 

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.