locked
ASP.net 2.0.50727.0 Server Unavailable RRS feed

  • Question

  • User459641190 posted
    I have ASP.net 1.1 running side by side with v 2.0.50727.  ASP.net 1.1 pages run fine, but when I try to access a v2 page i get this error:

    ------------

    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.

    --------------------

    If I look in the event viewer application log, there are two errors:
    aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid.

    and

    aspnet_wp.exe could not be started. The error code for the failure is 80004005. This error can be caused when the worker process account has insufficient rights to read the .NET Framework files. Please ensure that the .NET Framework is correctly installed and that the ACLs on the installation directory allow access to the configured account.


    I've uninstalled and re-installed v2, run asp_regiis.exe -i, asp_regiis.exe -i -enable, checked permissions, pretty much everything I can think of and have come across so far in searching the forums. I'm hoping someone has some idea of what's going on here and can help me out with this, 'cause so far nada.  Thanks in advance!
    Thursday, January 5, 2006 5:48 PM

Answers

  • User-1268387986 posted
    I had the exact same problem...  I resolved it by running the command 'aspnet_regiis.exe -i’ against the 2.0 installation (the easiest way is to use the Visual Studio 2005 Command Prompt so you don't have to type in the directory).  Then run the command 'iisreset /restart' (it's important to carry out this step immediately after regiis, or at least before trying to preview your 2.0 site).

    -Aaron.
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, January 4, 2007 11:32 AM

All replies

  • User-1427396445 posted

    Have you specified in Computer Management to run your application as 2.0?

    If you want only specific applications to run 2.0 then you have to do this for each virtual directory.

    If you want all your application to use 2.0, you can do the whole of localhost.

    The way I do it is:

    1. Right Click right click My Computer >> Manage
    2. Double Click Services and Application
    3. Double Click Internet Information Services
    4. Double Click Web Sites
    5. Right Click Default Web Site >> Properties
    6. Click ASP.NET tab
    7. Change version to 2.0

    This will affect ALL asp applications, although local version selection for each virtual directory should take precedence.

    I hope this helps.

    Thursday, January 5, 2006 9:53 PM
  • User78628899 posted

    I'm exhibiting the same/similar behavior as the original poster and have confirmed what you've suggested - that my apps are setup to run ASP.NET 2.0.

    Any other ideas?

    Friday, January 6, 2006 10:01 AM
  • User459641190 posted
    I have also verified that the apps are running 2.0.  still having the problem.
    Friday, January 6, 2006 5:27 PM
  • User-1268387986 posted
    I had the exact same problem...  I resolved it by running the command 'aspnet_regiis.exe -i’ against the 2.0 installation (the easiest way is to use the Visual Studio 2005 Command Prompt so you don't have to type in the directory).  Then run the command 'iisreset /restart' (it's important to carry out this step immediately after regiis, or at least before trying to preview your 2.0 site).

    -Aaron.
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, January 4, 2007 11:32 AM
  • User679311153 posted

    That was just what the doctor ordered.  I'd figured out the first part, but not the second part and I was going out of my mind.

    Thank you so much. [:D]

    Wednesday, May 14, 2008 9:43 AM
  • User-1720935575 posted

    That worked for me too! Thanks guys, was really stressed about it :D

    Tuesday, July 22, 2008 6:39 AM
  • User220493430 posted

     Hi,

     

    I have done what you have said but get the following error message in the log file:

     

    Starting service: StartService failed with HRESULT 8007042d: 'The service did not start due to a logon failure. ' 2008-08-28 10:40:58 Failure Starting service: aspnet_state: StartServiceByName failed with HRESULT 8007042d: 'The service did not start due to a logon failure

     

    I think someone may have deleted the user accounts needed, please can you assist.

     

    Thanks

     

    Thursday, August 28, 2008 5:04 AM
  • User2073063754 posted

    Me too.

    iisreset is required.

     

    Thanks

    Thursday, April 23, 2009 10:20 AM
  • User113830204 posted

     

    I have been facing the same error but when I follow the same procedure :i-e.,  Run aspnet_regiis /i and then iisrest and now I am happy with my production server Cool  ........Thanks fellows

    Thursday, October 8, 2009 7:26 AM