您的位置:首页 > 其它

找不到虚拟目录

2006-04-02 10:42 85 查看
问题2

环境搭建

解决方案

首先安装Microsoft .Net Framework 1.1,然后再安装Microsoft .Net Framework SDK 1.1。(注意安装顺序)

问题3

找不到应用程序虚拟目录

Server Error in '/' Application.

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 'C:/Documents and Settings/Administrator/桌面/aspnet/'. 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 <br>
regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

[code][HttpException (0x80004005): Server cannot access application directory 'C:/Documents and Settings/<br>Administrator/桌面/aspnet/'. The directory does not exist or is not accessible because of security settings.]
System.Web.HttpRuntime.EnsureAccessToApplicationDirectory() +72
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +263

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +964
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128

[/code]
解决方案

设置应用程序虚拟目录用户权限:应用程序虚拟目录-->属性-->安全-->添加-->ASP.NET Machine Account-->权限:-->完全控制
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: