Visual Studio‎ > ‎

CASPOL

Code Access Security Policy (CASPOL)

caspol -m -ag 1. -url "file://\\share-name\directory\*" FullTrust

%windir%\Microsoft.NET\Framework\v1.1.4322\caspol.exe
%windir%\Microsoft.NET\Framework\v2.0.50727\caspol.exe
%windir%\Microsoft.NET\Framework64\v2.0.50727\caspol.exe

Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

“The Project Location is Not Trusted” dialog box.

.NET Framework Configuration Tool (Mscorcfg.msc)

C:\Windows\Microsoft.NET\Framework\v1.1.4322\mscorcfg.msc

Also see the “blocked” file attribute for downloaded files.
Comments