Go Premium for a chance to win a PS4. Enter to Win

x
?
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
Medium Priority
?
5,410 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 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
What You Need to Know when Searching for a Webhost Provider
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 keystrokes in Netbeans IDE 8.0 for Windows.

916 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