Article ID: 871042 - View products that this article applies to.
ASP.NET Support Voice Column: Why is my ASP.NET application restarting?To customize this column to your needs, we want to invite you to submit your ideas about topics that interest you and issues that you want to see addressed in future Knowledge Base articles and Support Voice columns. You can submit your ideas and feedback using the Ask For It
(http://support.microsoft.com/common/survey.aspx?scid=sw;en;1176&p0=&p1=&p 2=&p3=&p4=)form. There's also a link to the form at the bottom of this column.
This article was originally published as an ASP.NET Support Voice column in June, 2004. This is not a standard KB article.
Welcome back! This month's topic is how to use the Microsoft Knowledge Base (KB) to find information about scenarios where a Microsoft ASP.NET (included with the Microsoft .NET Framework) application restarts. Some readers asked about this topic, and it is also a frequent topic in the forums on the Microsoft ASP.NET Web site. To view these forums, visit the following Microsoft Web site:
http://www.asp.netIt can be confusing to deal with symptoms that are related to an application that is restarting if you do not know what is going on or why. In general, an application restarts for valid reasons, but situations do exist where an application may restart frequently and cause issues for your ASP.NET applications.
Because the goal of this column is to demonstrate how developers can use the KB, this column includes a typical troubleshooting scenario that is related to this topic. While this list is not intended to be a comprehensive list of scenarios, the behavior that is related to the application restarting may present itself in the following ways:
Sample search scenario: Session state variables are lostThe first KB query is for a scenario where session state variables are lost for an application. Start by specifying that you want developer-related articles to be returned in your search. To do this, use the kbAudDeveloper keyword to set the audience for the article. Next, add the appropriate ASP.NET keyword. For this search, use the kbASPNETSearch keyword to limit your results to articles that are related to ASP.NET. The following list includes the ASP.NET version keywords:
In this scenario, the behavior that you are seeing is related to a perceived problem with ASP.NET. Therefore, you are not interested in general informational content or how-to content, and you can narrow your results appropriately. To do this, use the kbPrb keyword. The kbPrb keyword signifies a perceived problem. If you suspect that the behavior is an actual flaw in ASP.NET, use the kbBug keyword. The following list contains brief descriptions of the most common article types:
Try this query in the KB search tool at Microsoft Help and Support. To view Microsoft Help and Support, visit the following Microsoft Web site:
http://support.microsoft.comWhen you try this query, you should get a focused result. Make sure that you click All of the words entered and Full Text when you run your search. At the time of this column's writing, this query produced the following articles:
Additional search queriesIf you already know that the session data is lost because of an application that is restarting frequently, you might search the KB from a different perspective. In this case, use kbAudDeveloper kbASPNETSearch kbPrb kbHttpRuntime application restart to search for the lower-level issue:
Note that the kbHttpRuntime keyword is added to this query. This keyword specifies that you expect the core problem to be related to an issue with the run-time services that are used to carry out the request. The application and restart query words take advantage of the full text search the same way that the session state query in the "Sample search scenario: session state variables are lost" section of this column does. The following queries demonstrate how to use some of the other keywords to search for related issues:
http://support.microsoft.comIf you have never read the forums on the Microsoft ASP.NET Web site, visit the following Microsoft Web site:
http://www.asp.netThese forums can save you a lot of time, and many of the people who are responsible for the information that is included in the KB visit these forums to determine what issues their customers are facing. For example, a thread that is posted in the FAQ section describes issues that are related to this month's topic. To read the forums, visit the following Microsoft Web site:
http://www.asp.net/ForumsIf you read any of the previous columns, you are familiar with the format. If not, you may want to view the following "General search tips" section. Each installment of this column ends with a list of general search tips. Hopefully this information helps you use the KB more productively.
General search tipsWhen KB articles are created, they have specific product elements and keywords that are associated with them. If you know the keywords that are associated with a product or a technology, use those instead of the more generic English terms during your initial searches. This typically offers a bit more precision than just stringing together words or phrases. The following is a list of tips that should help improve your experience with the KB. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/303992/ )Keywords to search .NET related Knowledge Base articles
Jeremy Osborne, MCSD
Technical Writer, Microsoft Developer Support
Jeremy Osborne is a technical writer for the Developer Support Content Team and has been working with ASP .NET and the .NET Framework since joining the team during the early beta period of .NET Framework 1.0. Before joining his current team, he served as a member of the ASP Developer Support Group in Microsoft Product Support Services.