473,320 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Debugging live application

Hello

I have an asp.net Application that is running on a live system. The problem
I have is that it crashes sometimes, that means, the application is not
running anymore. I have to stop and start the application pool.

Is there a way to debug the application in that moment to see why it hangs?
Has someone an Idea how to find out what it could be?

Thanks
Patrick
Nov 18 '05 #1
2 1377
If you have a clue of when it is going to happen, you can watch perf
counters, et al. This is ideal, but not as realistic as some other choices.
Checking for open connections, memory use (although the GC methodology may
give you a wrong impression if you do not know the theory) and other no nos
is a good idea, however, so PerfMon can definitely be your friend.

Setting tracing on and viewing the .axd file can give some hint of what is
happening. You may want to add some custom trace variables to the trace, to
get a better idea of what is going on. Tracing will add some load, but you
can turn it off when you find the problem.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"Patrick" <pa********@bluemail.ch> wrote in message
news:Oq**************@TK2MSFTNGP10.phx.gbl...
Hello

I have an asp.net Application that is running on a live system. The problem I have is that it crashes sometimes, that means, the application is not
running anymore. I have to stop and start the application pool.

Is there a way to debug the application in that moment to see why it hangs? Has someone an Idea how to find out what it could be?

Thanks
Patrick

Nov 18 '05 #2
Hi Gregory

Thanks for your reply, but I don't have any idea when it happens, even not
what it could be... cuz have not really special code in it... but who knows,
something it must be. Is there no way to see what the application pool is
doing?

Thanks
"Cowboy (Gregory A. Beamer) [MVP]" <No************@comcast.netNoSpamM>
schrieb im Newsbeitrag news:%2****************@tk2msftngp13.phx.gbl...
If you have a clue of when it is going to happen, you can watch perf
counters, et al. This is ideal, but not as realistic as some other choices. Checking for open connections, memory use (although the GC methodology may
give you a wrong impression if you do not know the theory) and other no nos is a good idea, however, so PerfMon can definitely be your friend.

Setting tracing on and viewing the .axd file can give some hint of what is
happening. You may want to add some custom trace variables to the trace, to get a better idea of what is going on. Tracing will add some load, but you
can turn it off when you find the problem.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"Patrick" <pa********@bluemail.ch> wrote in message
news:Oq**************@TK2MSFTNGP10.phx.gbl...
Hello

I have an asp.net Application that is running on a live system. The

problem
I have is that it crashes sometimes, that means, the application is not
running anymore. I have to stop and start the application pool.

Is there a way to debug the application in that moment to see why it

hangs?
Has someone an Idea how to find out what it could be?

Thanks
Patrick


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Johann Blake | last post by:
I can hardly believe I'm the first one to report this, but having gone through the newsgroup, it appears that way. I would like to open a solution in the VS.NET IDE that consists of multiple...
0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
3
by: powerranger | last post by:
I have an ASP.NET web application on a virtual directory that is set to require SSL. After making the settings in IIS I try to debug from VS.NET and I get a message that the project is not...
3
by: Robin | last post by:
What is the best way to debug an ASP.Net application in a live environment where VS.Net can not be installed?
5
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
6
by: Tom wilson | last post by:
I have an asp.net app running off of a W2003 server. It's being written in VS2003. I've encountered a problem where a database record is being updated with the wrong value intermittently. So I...
5
by: phnimx | last post by:
Hi , We have developed a number of plug-in .NET Library Components that we typically deploy with our various applications by installing them into the GAC. Each of the applications contains an...
3
by: =?Utf-8?B?THVib21pcg==?= | last post by:
Hi, I have the folloving code: Public class MyForm : Form { …… void SomeMethod() { a = new Obj1(this);
2
jwwicks
by: jwwicks | last post by:
C/C++ Programs and Debugging in Linux This tutorial will give you a basic idea how to debug a program in Linux using GDB. As you are aware Visual Studio doesn’t run on Linux so you have to use...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.