473,833 Members | 2,132 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Debugging a deployed application?

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

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

MyApplicaton.ex e - 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 2165
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******** ******@tk2msftn gp13.phx.gbl...
I have a deployed application that is being reported as crashing with the
following dialogue box message:

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

MyApplicaton.ex e - 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
1126
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 have to deploy this on another machine. The other machine is a Windows 2000 Machine where the web service will be deployed, so I just put the asmx file and the bin folder, everything works
0
3232
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 converted/developed with VB.NET. What I want from debugging is to be able to step into the methods in the DLLs called from ASP scripts using Visual Studio .NET. Background: For typical script debugging issues, you can read and follow the two documents on...
3
1307
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 configured to debug. However, the project has all the settings and I can debug it if I remove the SSL requirement. How can I debug a project that where the virtual directory is set to require SSL?
8
3405
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 it up as C:\domains\appA. Locally, my IIS root points to C:\domains. I don't point it to C:\domains\appA since if I have an appB under C:\domains I wouldn't be able to get to it. So to access it via my browser I go to localhost/appA.
5
7804
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 app.config file referencing arbitrary versions of the plug-in components they wish to consume. Here's the problem: Assuming I have installed any one of our application software,
0
1211
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 error message:Unable to start remote debugging on the server. i have checked all permissions that need to be given to user and application but still facing the same problem. In visual studio 2005, i have also checked the remote debugging option but...
4
1705
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 user when the update is done and have them restart. However, when I debug it, I keep getting the error "Application is not installed." I have created a version 1.0 of the application and deployed it to my local drive, but no luck. Anyone have...
2
2366
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 TraceSwitch level in the config file... but here is the problem... I can't find the config file when a remote user is having a problem. Any suggestions on how to handle this?
2
20863
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 some of the tools provided on the command-line. If you hate the command line tools, get over it since you’re bound to be using them at some point in your career. All commands in Linux ARE case sensitive so capital letters are different from lowercase...
0
9796
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9642
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10782
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10213
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7753
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5624
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5789
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4422
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3078
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.