Hi ,
Recently for one of my asp.net application I am getting the 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.
I have found many solutions but they are not appropriate for me. ( like getting this error after installing security patch, problem due to asp.net 2.0 , application pools etc ).
One thing strange is all my other applications applications are working fine. For pages of one application only I am getting this error. Can anybody help me to solve this problem
Check the EventLog and let me know what the error there?
Usually this happens when you run two .NET versions in the same application pool.
Regards
Hismiling4ever ,
Thank you for your interest in helping me.
No entry has been added to event log.
I have read about this application pool issue, I have tried changing the application pool of this application to TestAppPool which I have newly created. That too doesn't solve my problem.
I have two applications say app1 and app2 , for app1 only I am getting this error and the second one runs fine.( both are asp.net 1.1 ).
Thanks & Regards
Rama Krishna
Check that if the website is running under .NET Framework 1.X. For this open IIS and right click on the website folder and select the properties. Click the ASPNET tab and check if the application is configured to use the .NET framework 1.X.
And then try again!
Hi azamsharp,
In the properties dialogbox I could not find any ASPNET tab. The different tabs available are Virtual Directory,Documents,Directory Security,HTTP Headers and Custom Errors.
Thanks & Regards
Rama Krishna
There must be a log in the event log. You have to find that.
Generate the error and go to see the log.
Hi Azamsharp,
I have generated the error and checked the event log. But no new error is being logged into the application section of the event viewer. I have also checked security section as well as system section of the event viewer.
Thanks & Regards
Rama Krishna
Hi Smiling4ever,
I have generated the error and checked the event log. But no new error is being logged into the application section of the event viewer. I have also checked security section as well as system section of the event viewer.
Thanks & Regards
Rama Krishna
Hi ,
I got it.
If we are giving the ASPNET and Network Service permissions for the web.config file it is working fine.
One doubt for me is the other applications which are running does not have these permissions on web.config and still they are running.
For this application too it used to run correctly , I dont know exactly what happened to it , it started giving server application unavailable.
If we give the ASPNET and Network Service Permissions on the web.config file , it started working fine. ( right click web.config file , choose properties , select security tab , add ASPNET and Netwok Service users )
Thanks for all the guys who responded for my post.
Thanks & Regards
Rama Krishna
That is great then
Looks like that you copied the files from other place and the windows missed the permissions during the copy process.
Anyway, Good Luck!
Regards
0 comments:
Post a Comment