[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 343
  • Last Modified:

Asp.net Stops Responding - asp and html resolve. Why?

Good Day,

We're trying to resolve an issue that has made the rounds in all the
groups, but we were unable to find any resolutions.  Any help in that
regard is greatly appreciated.

1. On a Sporadic basis, asp.net pages stop responding with no
resulting errors displayed in IE or in the event log.
1.a unhandled exception logging using the Application_Error handler did not produce any error logs either.
2. ASP and HTML page respond.
3. No apparent load, cpu or memory issues.
4. Recycling does not resolve the crash.
5. Stopping and starting www service is the only way to fix the issue.
ASP.Net pages respond like normal after the service restart.

Thank you in advance for your input.
0
QuestionManA
Asked:
QuestionManA
  • 10
  • 10
1 Solution
 
Ashish PatelCommented:
1. Do you have any ISAPI?
2. Did you check with Event Viewer?
0
 
QuestionManAAuthor Commented:
We do not have any ISAPI and the event viewer doesn't provide any clues.
0
 
grouptandiCommented:
Did you ever try re-registering ASP.net?
To re-register ASP.net:
1. Click Start, click Run, type cmd, and then click OK.
2. Type the following command, and then press ENTER:
cd %windir%\Microsoft.NET\Framework64\Version
Note %windir% represents the path of the Microsoft Windows system folder. Typically, this path is C:\Windows. Version represents the .NET Framework 2.0 version number. For example, type v2.0.50727.
3. Type the following command, and then press ENTER:
aspnet_regiis -i -enable

0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Ashish PatelCommented:
Also please confirm, which ASP.Net framework are you using? I mean by version.
0
 
QuestionManAAuthor Commented:
We have not tried re-registering ASP.net. This is a production server and cannot afford downtime. How risky is re-registering?
0
 
QuestionManAAuthor Commented:
We're using version: V1.1.4322
0
 
Ashish PatelCommented:
Oh if you applications are build using MS 2002 then please do not re-register this on production server.
0
 
QuestionManAAuthor Commented:
Ok. Won't re-register.
0
 
Ashish PatelCommented:
Now, can you please give me the setting details of your Application_Pool properties?
0
 
QuestionManAAuthor Commented:
The pool properties are as follows. (Please note that recycling does not bring the pages back up after a crash. The only solution we've found is to stop and start the www service)

Recycling:
1. Current set to recycle once a day @ 16:01.
1a. Previous setting was Recycle worker process (numer of requests): 35000.

2. No memory Recycling set.

Performance:
1. Idle timeout: Shutdown worker process after being idle for: 20 minutes
2. No other options selected

Health:
1. Enable Paging - Ping every 30 seconds
2. Enable Rapid Fail Protection - Failures: 5 / Time Period: 5
3. Startup Time: 90 Seconds
4. Shutdown Time: 60 Seconds

Identity:
1. Predefined: Network Service.
0
 
Ashish PatelCommented:
>>>The only solution we've found is to stop and start the www service

Generally this solution works for a number of things may be in Coding or it may be due to some IIS settings too. But make sure that in the code have you ever defined a On Error Resume Next above while loop in any part of the coding? Meanwhile i am checking with the application_pool settings if i can find something.

0
 
Ashish PatelCommented:
can u say me what is the number of maximum worker processes in Performance tab.

Also why you want the current set to recycle once a day, rather than just keeping the default recycler worker processes (in minutes) 1740 to be changed? Is there anything specific?
0
 
QuestionManAAuthor Commented:
Under the WebGarden Section on the Perfromance Tab the number ot worker processes is 1.

I wanted to try once a day to see if recycling have anything to do with the crash, or if recycling once a day would reduce the number of crashes. It did neither.
0
 
Ashish PatelCommented:
The best thing to do here is check with microsoft if you are partner with Microsoft.
0
 
QuestionManAAuthor Commented:
Would your best guess be an iis issue or .net issue?

I tend not to think that it is a coding issue (not bcause we're that confident) because the site and the asp.net pages in particular are high traffic. If it was a code issue I would think that the crash would ocurr far more frequently.

0
 
Ashish PatelCommented:
There are typically many issues, most of the times, its issues with IIS and the updates which were installed lastly before you came accross the problem. But as i have gone through this 2 times in hte past, once i had the issue of a wrong update which made on production server and one was due to a code in ISAPI filter dll which affected the code in the page. But both the times, Microsoft online support helped me out. Below is the email id from where you can ask for support. But you should be a Microsft partner and are using licensed software which i guess you are using on your production server.

gtscpro@microsoft.com
0
 
QuestionManAAuthor Commented:
I'm removing any on Err Resume lines that I find to see what errors popup.

Any idea why the unhandled exception logging using the Application_Error handler does not log any errors when it crashes? I've tested it and if I cause an error it writes to the log.
I'm thinking that might mean something.
0
 
Ashish PatelCommented:
better use iis crash dumping logs. There is an iss utility to take dump files which can show the reasons of crash down.
0
 
QuestionManAAuthor Commented:
Thanks asvforce and EE in general. In a few days you provided me with more ideas and clues than I have found of months of looking elsewhere. You're great.

As for the resolution, none has been found but MS is on the case now and I will post the outcome when we find one.

0
 
QuestionManAAuthor Commented:
Thanks for your help.
0
 
Ashish PatelCommented:
QuestionManA, just contact gtscpro@microsoft.com as this is the email address which helped me twice.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 10
  • 10
Tackle projects and never again get stuck behind a technical roadblock.
Join Now