Server Application Unavailable Message

Last post 12-02-2009 4:42 PM by miteshsura. 36 replies.

Sort Posts:

  • Server Application Unavailable Message

    02-01-2007, 3:30 PM
    • Contributor
      2,504 point Contributor
    • jose_jimenez
    • Member since 10-13-2006, 2:43 AM
    • Posts 484

    I wrote this post on my blog on how to resolve the generic Server Application Unavailable message we sometimes get as ASP.Net developers:

     If you have ever received an error message on a .Net application that simply stated "Server Application Unavailable" you might find this useful.

    When you receive this error, make sure to check the event viewer on the server. This is found under administrative tools. Under the application event log, you will likely find an error that states: "It is not possible to run two different versions of ASP.NET in the same IIS process. Please use the IIS Administration tool to run the application in a separate process."

    An application pool is a process that responds to web requests under IIS. An application pool does not have a setting for what type of ASP.Net applications will be run in it. Instead, it loads the appropriate libraries when an ASP.Net application is loaded in the process. Because the libraries for ASP.Net 1.1 and ASP.Net 2.0 are similar, but not the same, the application pool cannot respond to requests for both types of applications at the same time. This can cause sporadic behaviour if you are using the server at the same time as another developer and you have applications using different versions of the framework in the same application pool.

    Make sure that on your server there is an application pool dedicated to ASP.Net 2.0 applications and one for ASP.Net 1.1 applications. When you add an ASP.Net application to the server, make sure you select the right application pool for it.

     

    Please mark as answered if I helped.
    I don't answer personal emails unless I know you or of you. Feel free to post in the forum to get an answer from me.
  • Re: Server Application Unavailable Message

    02-14-2007, 2:37 PM
    • Contributor
      3,084 point Contributor
    • Girijesh
    • Member since 10-27-2005, 12:04 PM
    • India
    • Posts 652

    I agree with your thought about Server Application Unable Message. and I thinks this will helps a lot to others.

    Thanks

  • Re: Server Application Unavailable Message

    02-19-2007, 2:46 AM
    • Member
      6 point Member
    • LEHayes
    • Member since 02-19-2007, 7:35 AM
    • Posts 13

    This sounds like a similar issue I am running into. When I build out my web ap in Web Dev 2005, I can see the the web app working fine, as the ASP.NET Development Server pops up and the the program shows up on the site with a port value.  My problem is that when I attempt to hit it directly as if from the internet, I get a generic error message that mentions about the web.config file, I recently made a change on the site properties to change from ASP 1.1 to 2.0 now it gives a message "Server Application Unavailable" I follow the instructions according to info on the page and it talks about error 500 in the log file.

    I looked in my IIS and I could not find a reference to "application pool".  I have multiple sites running on this server (win2k, IE6SP1, assuming IIS5, SQL Express).

    This is driving me nuts as I have web pages in the same folder that are not part of the ASP.NET (C#) application and I can view them fine from the browser, but the only way I can see my web app is through the ASP.NET Development Server program using the port addressing it specifies.

  • Re: Server Application Unavailable Message

    02-19-2007, 2:48 AM
    • Member
      6 point Member
    • LEHayes
    • Member since 02-19-2007, 7:35 AM
    • Posts 13

    This sounds like a similar issue I am running into. When I build out my web ap in Web Dev 2005, I can see the the web app working fine, as the ASP.NET Development Server pops up and the the program shows up on the site with a port value.  My problem is that when I attempt to hit it directly as if from the internet, I get a generic error message that mentions about the web.config file, I recently made a change on the site properties to change from ASP 1.1 to 2.0 now it gives a message "Server Application Unavailable" I follow the instructions according to info on the page and it talks about error 500 in the log file.

    I looked in my IIS and I could not find a reference to "application pool".  I have multiple sites running on this server (win2k, IE6SP1, assuming IIS5, SQL Express).

    This is driving me nuts as I have web pages in the same folder that are not part of the ASP.NET (C#) application and I can view them fine from the browser, but the only way I can see my web app is through the ASP.NET Development Server program using the port addressing it specifies.

  • Re: Server Application Unavailable Message

    02-20-2007, 8:50 AM
    • Contributor
      2,504 point Contributor
    • jose_jimenez
    • Member since 10-13-2006, 2:43 AM
    • Posts 484

    You may be running a different version of IIS than I.   Have you run the aspnet_regiis -s command on your directory from the framework directory?

     

    --JJ

    Please mark as answered if I helped.
    I don't answer personal emails unless I know you or of you. Feel free to post in the forum to get an answer from me.
  • Re: Server Application Unavailable Message

    03-22-2007, 10:45 AM
    • Member
      2 point Member
    • shadisland
    • Member since 03-22-2007, 2:31 PM
    • Posts 1

    It sounds like you haven't looked in your Event Viewer (instead of the log file).  If you open Control Panel, Administrative Tools, Event Viewer (it's also in Computer Manager) you will see Application Errors that explain some details about the error you are getting.  In my case it was a folder permissions problem.  I gave the ASPNET user access to my web folders and it worked.

    http://www.linkedin.com/in/erikpearson

  • Re: Server Application Unavailable Message

    04-01-2007, 2:16 AM
    • Member
      20 point Member
    • securesign
    • Member since 03-21-2007, 6:23 AM
    • Posts 10


    When you need to run a different version of the .NET Framework on a different Virtual Directories inside the site,or sites; you need to create a different Application Pool and assign for each Virtual Directory or each Site one of the Application Pools that you have created. Then you can make each one of this Virtual Directory or/Site run on a different version of the .NET Framework.

    for more information:

    http://dotnetqpearl.net/blogs/securesign/archive/2007/03/31/Versions-of-the-.NET-Framework-and-the-IIS6-Application-Pools.aspx

    http://dotnetqpearl.net/blogs/default.aspx

    Versions of the .NET Framework and the IIS6 Application Pools

     


     

    Ahmed Abd El Kader
  • Re: Server Application Unavailable Message

    04-19-2007, 10:27 AM
    • Contributor
      2,024 point Contributor
    • kckriegs
    • Member since 08-15-2005, 7:55 PM
    • Posts 435

    LEHayes, Application pools are not available in IIS5/Win2k.

     Your 2.0 app in Web Dev 2005 does not use IIS at all. Rather, it uses an ASP.NET Dev Server that ships with the IDE software. When you start the application in development, it uses this software and assigns a random port.

    To prepare your application for deployment, try using the Build/Publish Web Site Interface in VS.NET 2005

    The following threads might help you:

    Web Dev Server: http://forums.asp.net/thread/1152915.aspx

    VS.NET 2005 Compilation: http://forums.asp.net/thread/1148445.aspx

  • Re: Server Application Unavailable Message

    04-25-2007, 5:58 AM
    • Member
      122 point Member
    • slasi.net
    • Member since 06-14-2005, 7:04 PM
    • Posts 61

    Hi,

    this post was verry helpfull, thank you

     here is a link how to create new application pools : http://msdn2.microsoft.com/en-us/library/ms998297.aspx#paght000009_step4 

     

    Ori

  • Re: Server Application Unavailable Message

    05-02-2007, 2:50 PM
    • Contributor
      2,024 point Contributor
    • kckriegs
    • Member since 08-15-2005, 7:55 PM
    • Posts 435
    How to run Web Dev Server outside of VS.NET (you can't just pull up a browser and specify http://localhost:someport)
  • Re: Server Application Unavailable Message

    05-10-2007, 7:27 AM
    • Member
      8 point Member
    • Azfar Khan
    • Member since 05-10-2007, 10:43 AM
    • Posts 4
    Hey, i am getting the "Server Application Unavailable " message mostly but when i check the eventlog it prompts me of the error like that asnet_wp.exe (PID: xxx): has taking more then 60% of the memory and thats why system forcedly shutdown the process...... but it is very different from your mention issue..... secondly, i m using both .net frameworks 1.1 and 2.0 and i am having IIS 5.1 version installed on my PC, third I am 3.0GHz Hyper threading PC I read in one forum that this type of error is mostly found in multiprocessor systems......... kindly resolve my issue... and also tell me the background of this problem Thanks & regards
  • Re: Server Application Unavailable Message

    05-10-2007, 7:27 AM
    • Member
      8 point Member
    • Azfar Khan
    • Member since 05-10-2007, 10:43 AM
    • Posts 4
    Hey, i am getting the "Server Application Unavailable " message mostly but when i check the eventlog it prompts me of the error like that asnet_wp.exe (PID: xxx): has taking more then 60% of the memory and thats why system forcedly shutdown the process...... but it is very different from your mention issue..... secondly, i m using both .net frameworks 1.1 and 2.0 and i am having IIS 5.1 version installed on my PC, third I have 3.0GHz Hyper threading PC I read in one forum that this type of error is mostly found in multiprocessor systems......... kindly resolve my issue... and also tell me the background of this problem Thanks & regards
  • Re: Server Application Unavailable Message

    08-08-2007, 3:23 PM
    • Member
      5 point Member
    • BOA_DEV
    • Member since 05-21-2007, 4:35 PM
    • Posts 8

    this post saved me lots of time!  thank you!

  • Re: Server Application Unavailable Message

    08-10-2007, 1:25 PM
    • Member
      40 point Member
    • Contributor
    • Member since 08-10-2007, 2:20 PM
    • Posts 32

    With this type of problem encountered in my system while browsing all .aspx pages from web browser, specifically i checked the error from the event viewer console read as follow:

     "Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied".

    After a lot of research on how it's been solved in d past, i learnt that there is a local group user that is not associated to all the application folder called "IIS_WPG" in my wwwroot which i need to give "Read & Execute, Read " right permission. Well, after checking my root folder  "wwwroot", i find this under the security tab of the server's root but not associated to all the application folder in that root, then i clicked Adavnced button where i checked "Allow inheritable permissions from the parent ....". Later I ensure i have this group applied specifically to my application folder under the security tab and give the same right and applied it to all folder underneath my application folder. After refreshing my IIS and re-browse the page, it shurely works.

     I hope this solve a problem.

    Happy Programming

  • Re: Server Application Unavailable Message

    08-25-2007, 5:51 AM
    • Member
      4 point Member
    • GeckoTT
    • Member since 07-09-2007, 4:01 AM
    • Yangon, Myanmar
    • Posts 3

     Hi !

    I also got this type of error. "Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied" in log and "Server Application Unavailable" Message on browser.

    I'm using Window 2003 Enterprise Edition, VS 2005, IIS 6.0. I already change Application Pool to New one and using Administrator Account. But, I'm still got that error.

    So, I try to solve as you said. I set permissions Advance "Allow inheritable permissions from the parent ...." to true. I'm afraid it can't solve in me. But, I didn't found "IIS_WPG" under wwwroot. It's ok if try to browse from source code. My problem is that I can't browse site after Publish Web Site.

    How can I continue now ? Please help me as soon as possible. Thanks in advance.

     

    regards,

    TTA 

     


     

    Regards,
    Thet Thet Aung
Page 1 of 3 (37 items) 1 2 3 Next >