« Previous Next »

Thread: aspx pages not loading

Last post 07-12-2009 5:06 PM by arkain88. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 06-28-2009, 12:40 PM

    • arkain88
    • Not Ranked
    • Joined on 06-28-2009, 12:09 PM
    • Posts 6

    aspx pages not loading

    I am running IIS 5.1. I can view .htm files fine, but aspx files will not load. When I try to view an aspx file I get the error, "Server Application Unavailable".

     

    In the event log I get three errors. Starting with

    "Failed to initialize the AppDomain:/LM/W3SVC/1/ROOT

    Exception: System.IO.FileLoadException

    Message: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Access is denied.

    StackTrace:    at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
       at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
       at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
       at System.Activator.CreateInstance(String assemblyName, String typeName)
       at System.AppDomain.CreateInstance(String assemblyName, String typeName)
       at System.AppDomain.CreateInstance(String assemblyName, String typeName)
       at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
       at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)"

     Followed by

    "Failed to execute the request because the ASP.NET process identity does not have read permissions to the global assembly cache. Error: 0x80070005 Access is denied.  "

     

    and then 

    " aspnet_wp.exe  (PID: 3556) stopped unexpectedly."

    As far as I can tell the IUSR_KAI user has all the permissions necessary.

  • 06-29-2009, 6:28 AM In reply to

    Re: aspx pages not loading

    Seems ASPNET Account has no proper permissions on GAC.

    Please provide permissions for aspnet account and then try again.

    HTH.

    ~ Ganesh

  • 06-29-2009, 10:01 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 6,222
    • IIS MVPs

    Re: aspx pages not loading

    ... or the local ASPNET account does not have at least NTFS Read permissions on the content files and folders ...

  • 06-29-2009, 2:05 PM In reply to

    Re: aspx pages not loading

    arkain88:
    As far as I can tell the IUSR_KAI user has all the permissions necessary.
     

    The error message is telling you that it is the ASP.NET process identity which is having permissions issues, not the IUSR account. Use Process Monitor to reveal the source of the problem in its entirety :

    Process Monitor v2.04

    Regards,

    Paul Lynch | www.iisadmin.co.uk
  • 07-02-2009, 3:46 AM In reply to

    Re: aspx pages not loading

    Hi,

    You can refer to the steps in the following article to grant ASPNET account read permission on the global assembly cache "%windir%\Assembly".

    "Aspnet_wp.exe could not be started" error message when you view an ASP.NET page
    http://support.microsoft.com/default.aspx?kbid=811320

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • 07-12-2009, 5:06 PM In reply to

    • arkain88
    • Not Ranked
    • Joined on 06-28-2009, 12:09 PM
    • Posts 6

    Re: aspx pages not loading

     Following the instructions on this page, http://support.microsoft.com/default.aspx?kbid=811320, fixed the problem.

Page 1 of 1 (6 items)
Microsoft Communities