aspx程序问题
我安装了asp.net。
运行*.htm的文件和*.asp 的文件都没问题。但如果运行*.aspx 的程序就会说
我要访问的目录不存在。或者没有访问权
原话如下
Server Error in '/' Application.
--------------------------------------------------------------------------------
Server cannot access application directory 'E:\mh\webtest\'. The directory does not exist or is not accessible because of security settings.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Server cannot access application directory 'E:\mh\webtest\'. The directory does not exist or is not accessible because of security settings.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identifed using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Server cannot access application directory 'E:\mh\webtest\'. The directory does not exist or is not accessible because of security settings.]
System.Web.HttpRuntime.EnsureAccessToApplicationDirectory() +87
[HttpException (0x80004005): Server cannot access application directory 'E:\mh\webtest\'. The directory does not exist or is not accessible because of security settings.]
System.Web.HttpRuntime.EnsureAccessToApplicationDirectory() +143
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +172
[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +554
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +120
--------------------------------------------------------------------------------
Version Information: Runtime Build:1.0.2914.16; ASP.NET Build:1.4000.2914.16