N
nathanm
We're trying to get a web site to work over IIS 6 which is being
hosted though UNC from a SAN location. The site uses ASP.NET 2.0 and
works fine if we host it from the local drive.
What we've tested and done so far:
1. Non ASP.NET 2.0 files run fine so IIS can see the directory. asp,
html, etc. .aspx fails.
2. The user IIS is connecting as has read+write permissions on the
other server share.
3. Not a domain environment.
4. Using Windows 2003 Server and IIS 6.0.
3. We ran caspol with the following parameters.
caspol -m -ag 1 -url "file://\\ServerName\ShareName\*" FullTrust -
exclusive on
Right now we're getting the followign error
Security Exception
Description: The application attempted to perform an operation not
allowed by the security policy. To grant this application the
required permission please contact your system administrator or change
the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the
permission of type 'System.Web.AspNetHostingPermission, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=dcs73kd03ksho5'
failed.
I'd appreciate any help.
Thanks.
hosted though UNC from a SAN location. The site uses ASP.NET 2.0 and
works fine if we host it from the local drive.
What we've tested and done so far:
1. Non ASP.NET 2.0 files run fine so IIS can see the directory. asp,
html, etc. .aspx fails.
2. The user IIS is connecting as has read+write permissions on the
other server share.
3. Not a domain environment.
4. Using Windows 2003 Server and IIS 6.0.
3. We ran caspol with the following parameters.
caspol -m -ag 1 -url "file://\\ServerName\ShareName\*" FullTrust -
exclusive on
Right now we're getting the followign error
Security Exception
Description: The application attempted to perform an operation not
allowed by the security policy. To grant this application the
required permission please contact your system administrator or change
the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the
permission of type 'System.Web.AspNetHostingPermission, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=dcs73kd03ksho5'
failed.
I'd appreciate any help.
Thanks.