Thursday, October 28, 2010

10/28: Using Virtual Directory Points To A Remote Share Error In IIS

 

When you use a virtual directory that points to a remote share to host a Microsoft ASP.NET-based application,  may receive an error message that is similar to one of the following:

System.Web.AspNetHostingPermission failed

From

 

http://support.microsoft.com/?id=320268

 

Solution :

(1) Run the following command:

 

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\caspol.exe -m -ag 1 -url "\\colstf01\Multisite_Sync\Configuration\*" FullTrust -exclusive on

 

(2) Reset IIS

0 Comments:

Post a Comment

<< Home