How do I run Dyalog from or use .Net assemblies on a network

The Dyalog "Knowledgebase". This forum is read-only
Forum rules
The FAQ is a read-only forum which is in general updated only by employees of Dyalog Ltd. It replaces the FAQ page which existed under http://www.dyalog.com. Rather than rejecting other posts to this forum, such posts will be put in a moderation queue, and moved to a more appropriate forum.

How do I run Dyalog from or use .Net assemblies on a network

Postby JohnD|Dyalog on Fri May 07, 2010 2:06 pm

How do I run Dyalog from or use .Net assemblies on a network drive?

The .Net Framework does not, by default, permit the execution of assemblies that are located on network drives. This means that if you install Dyalog on a network drive the .Net interface may not function correctly. In addition runtime applications that use .Net may not work if you have bridge*.dll and/or dyalognet.dll installed on a network drive.

The .Net Framework includes a utility called caspol that can be used to change the permissions for assemblies on network drives.

The expression

caspol.exe -m -ag 1.2 -url file://share/* FullTrust

gives FullTrust to all assemblies located on the //share network machine

For more details, see http://blogs.msdn.com/shawnfa/archive/2004/12/30/344554.aspx or http://msdn.microsoft.com/en-us/library/zdc263t0(VS.80).aspx.
User avatar
JohnD|Dyalog
 
Posts: 74
Joined: Wed Oct 01, 2008 9:35 am

Return to Frequently Asked Questions (FAQ)

Who is online

Users browsing this forum: No registered users and 1 guest