Solved

Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable.

Posted on 2007-11-29
2
5,365 Views
Last Modified: 2013-11-06
I'm not really sure how to categorize this questions.  Our environment is a Windows XP box set up as a server.  Out of nowhere it's not working today.  I tried to access the main site and received the "Unavailable" error.  Picking through the logs I've found a couple of errors, the first is:

aspnet_wp could not be started

When I try to connect to SQL reporting services on the same server I get the error:

Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.

Server administration is definitely not my forte but this little monster has rolled downhill to me.

Any suggestions?

N

 
0
Comment
Question by:stretch73
2 Comments
 
LVL 15

Accepted Solution

by:
spprivate earned 500 total points
ID: 20374903
First of all look for SQL Authentication.Possibly the user name or password could have changed. If all are fine then a big task in hand.
Read the link.
http://forums.asp.net/p/1013929/1370141.aspx
Summary
Okay, after having finally solved this problem I have some choice words for Microsoft. But first, the solution that worked for me:

By replacing the machine.config line "<processModel autoConfig="true" />" with "<processModel userName="system" password="AutoGenerate" />", the problem was solved. Of course, no one wants to run .Net under ths system account, so all this did for me was indicate that I had a permissions problem that, in theory, can be resolved.
Then I proceeded to do everything everyone recommended regarding setting appropriate permissions for ASP.Net. Twice. Particularly following the recommendations in http://homepages.wmich.edu/~kchen/courses/cis4900/ASP.NET%202.0%20Installation%20and%20troubleshooting.pdf I set all the permissions again and again for  ASPNET, IUSR_, and IWAM_ accounts, rebooting to make sure the changes took effect. No go.

Then, I discovered another Microsoft article that mentions something not mentioned in the PDF or the other ideas I'd gotten until now: check permissions on the ASP.NET profile directory. http://msdn2.microsoft.com/en-US/library/kwzs111e.aspx This was interesting but also didn't work.
Finally, I pulled out good ole FilemonNT to trace what was going on when I request a page. The first time I used it it turned nothing up (except a buffer overflow in aspnet_isapi!), so I rebooted and tried again and I struck gold: IIS had not been granted write permissions on the log directory in C:\Windows\System32\Logfiles! I gave IUSR_, IWAM_ and ASPNET write permissions on that directory and voila! What appeared to be an ASP.Net error went away.
Regarding my feedback to Microsoft: first, why is there no knowledgebase article on this pervasive problem; why are the knowledgebase articles related to asp.net 2.0 permissions (e.g. the one referenced above) not linked to related articles on IIS permissions which, when configured incorrectly, cause a .Net-looking error. And why is there absolutely no intelligence on the internet that couldn't have told me this already?! So there you have it, hope this helps someone else too.


0
 

Author Comment

by:stretch73
ID: 20374982
spprivate

Good suggestions.  I'm not sure if any of them worked because one of our other guys got it working.  Not totally sure how yet but your post came in handy.

Thanks,

N
0

Featured Post

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Join & Write a Comment

Suggested Solutions

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now