RE: Error while running a virtual site by using a mapped drive
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Wed, 31 Jan 2007 11:18:12 GMT
Thanks for your quick reply Sriram,
For ASP.NET 1.1, all the other things I mentioned still fits your
scenario(and only IIS is supported for the host server).
One additional things we need to check for ASP.NET 1.1 is the code access
security. When you configure the IIS virtual directory to a mapped UNC
share, since the file is loaded from remote UNC, according to the .NET
CAS(code access security), it will be evaluated as Local Intranet zone
rather than Local computer. Thus, your ASP.NET application can not run with
trust level as "Full"(the default setting). To verify whether the problem
you encounter is CAS issue, you can temporarily turn off the .NET CAS by
using the following command(in vs 2003 command prompt)
caspol -s off
#Code Access Security Policy Tool (Caspol.exe)
http://msdn.microsoft.com/library/en-us/cptools/html/cpgrfCodeAccessSecurity
PolicyUtilityCaspolexe.asp?frame=true
You can verify from the checklist in my last reply to see whether any of
them fit your scenario.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- References:
- RE: Error while running a virtual site by using a mapped drive
- From: Steven Cheng[MSFT]
- RE: Error while running a virtual site by using a mapped drive
- From: Sriram Mallajyosula
- RE: Error while running a virtual site by using a mapped drive
- Prev by Date: RE: Permissions for remote debugging in Visual Studio 2005
- Next by Date: Certificates and web services
- Previous by thread: RE: Error while running a virtual site by using a mapped drive
- Next by thread: Certificates and web services
- Index(es):
Relevant Pages
|