ASP.NET 2.0 Application on IIS 5 Resulting in Error (aspnet_wp.exe (PID: XXXX) stopped unexpectedly.)

后端 未结 4 1788
野的像风
野的像风 2021-01-14 05:13

After hosting an ASP.NET 2.0 web application on a windows 2000 server(IIS 5). I was unable to browse the web site.

The following error message was displayed on the b

4条回答
  •  心在旅途
    2021-01-14 05:35

    I discovered that when the web site folder was copied to the server it inherited the security permissions of the parent folder which only had permission for the Administrator, Administrators & System accounts.

    I added

    • IUSER_MACHINENAME (Internet Guest Account)
    • ASPNET (ASP.NET Machine Account)

    With Read & Execute, List Folder Contents and Read permissions.

    Even though the problem is resolved I still have some questions

    It's clear from the third event log entry that the ApplicationManager fails to create the HostingEnvironment which is in the System.Web assembly.

    Since FileLoadException is thrown for System.Web it seems like the ASP.NET worker process doesn't have access to the GAC folder.

    Why is the FileLoadException thrown for accessing System.Web?

提交回复
热议问题