project location is not trusted


Thursday, August 17, 2006

When a .NET project is stored on a network share, a "project location is not trusted" warning will appear if you attempt to connect to it via a UNC.  This happens because UNC locations are not trusted by default and must be added into the Local Intranet Zone security policy in order for them to work without erring.  This can be done through the .NET Framework 2.0 Configuration tool (Mscorcfg.msc).  A shortcut to this tool can be found in the Administrative Tools menu.  The process is pretty straightforward.  The only trick is to get the syntax right when entering the UNC into the code group:
 
file://\\server\share\*
 
For full details on how to accomplish this, refer to MSDN's directions.

10:38:56 PM   | c# |


Comments

Excellent
Wednesday, January 30, 2008  3:42:42 PM    Dave

Thank you for the post. This has been extremely helpful in getting my environment setup!


Post a comment on:

project location is not trusted

(HTML will not work within the comments)


Author  
Author Email  
Comment Title  
Comment  
 characters left
Captcha
Enter code in image: