473,396 Members | 1,797 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,396 software developers and data experts.

Debugging a deployed application?

I have a deployed application that is being reported as crashing with the
following dialogue box message:

----------------

MyApplicaton.exe - Common Language Runtime Debugging Services

Application has generated an exception that could not be handled.

Process id=0x240 (576), Thread id=0x2c0 (704).

Click OK to terminate the application.
Click CANCEL to debug the application.

-------------------

Whatever is causing this is NOT being duplicated in development or test
environments and is showing up randomly on user machines, with no
discernable pattern other than it happens perodically when saving data to
the database... but not all the time and not on all machines.

Does anyone have any ideas on the best way to approach getting to the root
of something like this?
Nov 15 '05 #1
2 2155
If it is possible to redistribute the application, you can set the build
type to debug which will give you more information when the application
crashes. Also you could put in some error handling that will throw back the
error message, number, and stack trace. I have found that the later part of
that helps a great deal when trying to find odd problems.

"SStewart" <nf*@nospam.com> wrote in message
news:Os**************@tk2msftngp13.phx.gbl...
I have a deployed application that is being reported as crashing with the
following dialogue box message:

----------------

MyApplicaton.exe - Common Language Runtime Debugging Services

Application has generated an exception that could not be handled.

Process id=0x240 (576), Thread id=0x2c0 (704).

Click OK to terminate the application.
Click CANCEL to debug the application.

-------------------

Whatever is causing this is NOT being duplicated in development or test
environments and is showing up randomly on user machines, with no
discernable pattern other than it happens perodically when saving data to
the database... but not all the time and not on all machines.

Does anyone have any ideas on the best way to approach getting to the root
of something like this?

Nov 15 '05 #2
Normally a release version of the application is compiled in Release
mode which really does not generate any symbol tables for debugging in
the dll's and the exe's. In such scenarios, the best way is to enable
write to a log file through some command line switches or program
logics.

The .NET library provides a vast number of API's which support this
functionality.

Hope this helps..

Manoj Mathew
http://www.sigmainfo.net
Nov 15 '05 #3

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

Similar topics

1
by: Shailendra Batham | last post by:
Hey gurus, I have a question about remote debugging in .Net. I have a Windows XP Machine with Visual Studio .Net 2003, where I have a web service application, everything works fine but now I...
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...
8
by: nick | last post by:
I have a problem and I've been using a cheezy work around and was wondering if anyone else out there has a better solution. The problem: Let's say I have a web application appA. Locally, I set...
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...
0
by: Amit | last post by:
In .net 2.0 i have deployed my web application on the remote server with application code. when i am running that application from my local machine through mapping to that server i am getting an...
4
by: John Wright | last post by:
Does anyone know how to debug a clickonce deployed application. I am trying to write a module for all our applications that will check for updates and update the program asynchronously and notify...
2
by: Tom Jones | last post by:
ClickOnce deployment appears to install applications on the local machine using an obfuscated location. I have an application that contances Trace statements that can be turned on by setting a...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.