If you are getting errors with your .Net applications due to application trust level while accessing a remote file share then the answer is simple. You can configure a custom code group to manage the trust level for that share within a given zone.<!--more-->

Start Mscorcfg.msc.

Expand the Runtime Security Policy node, the Machine node, the Code Groups node, and the All_Code node, and then highlight the LocalIntranet_Zone node.

In the right pane, click Add a Child Code Group.

Choose Create a new code group, enter a name for the code group, and then click Next.

Choose a condition type of URL, and enter the UNC path to the share location of your project, using the format file://\servernamesharename* where \servernamesharename is the name of the share. Click Next.

Check out <a href="http://msdn.microsoft.com/en-us/library/bs2bkwxc(VS.80).aspx">http://msdn.microsoft.com/en-us/library/bs2bkwxc(VS.80).aspx</a> for full instructions.