<p>I have a Delphi 5 executable that calls into a .NET assembly via the free <a href="http://sourceforge.net/projects/delphinet/" rel="nofollow noreferrer">Delphi .NET</a> code, and for the most part, this works great.  However, one of the requirements of my application is that our clients be able to use this from a networked share as well as local.  On my test machine, I can't get this to work, I just get an error message.  The .NET code has it's permissions set to full, but some error comes back that Delphi can't seem to get or interpret.  On a local drive, the application and assembly communicate flawlessly.</p>

<p>Can anyone tell me how to at least get the error messages back from this?  Or if possible, can anyone tell me why I would get errors this way?  Thanks.</p>

You say that you have given the code full permissions, but have you assigned FullTrust to the network share? In .NET, network shares are part of the local intranet domain, so you lose some trust. Run something like;
```
```
CasPol.exe -m -ag 1.2 -url file://\\ShawnFa-Srv/Tools/* FullTrust
```
```
For more info see this post about the topic,
Using CasPol to Fully Trust a Share