Asp Net4.0

在IIS6中安装.Net环境出现错误

偶看在Windows 2003+IIS6上配置.Net环境,遇到一些问题。

第一个错误

Server Error in ‘/’ Application.
——————————————————————————–

Thread was being aborted.
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.Threading.ThreadAbortException: Thread was being aborted.

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 identified using the exception stack trace below.

Stack Trace:
[ThreadAbortException: Thread was being aborted.]
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +518
System.Web.ApplicationStepManager.ResumeSteps(Exception error) +506
System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +172
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +417

——————————————————————————–
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

这个错误启用了父路径导致错误,关闭父路径即可。

Asp Net4.0

第二个错误

Server Application Unavailable

The web application you are attempting to access on this web server is currently unavailable. Please hit the “Refresh” button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.

这个是网站权限问题,偶看给网站目录添加了everyone用户的读取权限就正常了。添加everyone用户的权限应该对服务器安全有影响,需要去研究下。

《在IIS6中安装.Net环境出现错误》有3个想法

发表评论