473,786 Members | 2,344 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Application Exception

This app I am working on generated an exception but I have only found it
on his laptop. Other machines do not seem to have this issue.

The exception is normally according to what I have seen on the net an
ASP.NET exception. So why it is happening in Windows is a mystery to me.

The exception is:

Application has generated an exception that could not be handled.

Process id=0x8c0 (2240), Thread id=0x4d8 (1240)

Click OK to terminate

Click CANCEL to debug

When clicking the CANCEL the user reported that "a registered JIT
debugger" is not available.

This is occurring in the beginning of the program. Some of the functions
being performed are requests from Access and SQL databases, and registry
checks for MS Office installed applications.

Thank you for your help.


Nov 21 '05 #1
2 1566
"scorpion53 061" <ad***@nospampl easekjmsolution s.com> wrote in message
news:%2******** *******@tk2msft ngp13.phx.gbl.. .
This app I am working on generated an exception but I have only found it
on his laptop. Other machines do not seem to have this issue.

The exception is normally according to what I have seen on the net an
ASP.NET exception. So why it is happening in Windows is a mystery to me.

The exception is:

Application has generated an exception that could not be handled.

Process id=0x8c0 (2240), Thread id=0x4d8 (1240)


I just bumped into this today on XPE. In my case, it was some missing
registry settings for performance monitor.

However! The key to solving the problem was that I had zero error handing
in the code at that point. It was occuring before I installed the global
error handler.

So I would say your best best is to put a try/catch around the code in
question, and MsgBox(ex.Messa ge). Then you can see what's really going on,
and get right to the bottom of it.

Best Regards,

Andy
Nov 21 '05 #2
I have error handling around everything in my code. It don't leave home
without it!!

That is why this is perplexing to me.

_______________ _______________ __

From: Andy Becker [mailto:x@x.com]
Sent: Friday, August 20, 2004 5:21 PM
To: microsoft.publi c.dotnet.langua ges.vb
Subject: Re: Application Exception

"scorpion53 061" <ad***@nospampl easekjmsolution s.com> wrote in message
news:%2******** *******@tk2msft ngp13.phx.gbl.. .
This app I am working on generated an exception but I have only found it
on his laptop. Other machines do not seem to have this issue.

The exception is normally according to what I have seen on the net an
ASP.NET exception. So why it is happening in Windows is a mystery to me.

The exception is:

Application has generated an exception that could not be handled.

Process id=0x8c0 (2240), Thread id=0x4d8 (1240)

I just bumped into this today on XPE. In my case, it was some missing
registry settings for performance monitor.

However! The key to solving the problem was that I had zero error
handing
in the code at that point. It was occuring before I installed the
global
error handler.

So I would say your best best is to put a try/catch around the code in
question, and MsgBox(ex.Messa ge). Then you can see what's really going
on,
and get right to the bottom of it.

Best Regards,

Andy
Nov 21 '05 #3

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

Similar topics

5
5819
by: PCC | last post by:
I am using the Exception Managment Application Block on Windows Server 2003 Enterprise and .NET v1.1. If I use the block with an ASP.NET web wervice or in a web application I get the following error: ------------------------------------ System.Security.SecurityException: The event source ExceptionManagerInternalException does not exist and cannot be created with
0
5004
by: Rhon Stewart via DotNetMonster.com | last post by:
Hi please visit this link : http://www.eggheadcafe.com/articles/pfc/selfupdater.asp I followed all the steps for listed on the link , when I execute the application it it gives me the following error on the log file: --- ApplicationUpdateManager.StartUpdater] : The Updater has started; the target application's name is 'SayHello'. Time started: 2005_03_01_14:33:21.
2
2651
by: Randall Powell | last post by:
I am in the process of developing a Windows Service which will: (1) monitor multiple network shares; (2) marshal text file transfers into an SQL Server 2000 instance; and (3) provide messaging services via email and a customized event log viewer. An additional goal is to have the service provide a visual status indicator via an icon to be located in the Taskbar status area. The NotifyIcon component appears to be a logical candidate and worked...
2
4775
by: Alex | last post by:
My Problem is that although i have added a handler to Application.ThreadException and it works fine for my application exceptions, it does not fire if an exception is generated inside an event handler of my App. eg. If i throw a exception inside DragDrop, or MouseDown of an event the ThreadException does not fire !! Any ideas ???
8
6048
by: mike2036 | last post by:
I have an application (that has unmanaged code) and when I launch it without 'FullTrust' permissions (LocalIntranet_Zone), it crashes. When I set 'FullTrust' permissions, it launches fine. Is there a way I can compile the application such that it won't even attempt to launch without correct permissions instead of just crashing? Thanks for any help. -Mike
0
9647
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
9491
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
10357
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
10163
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10104
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9959
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...
0
8988
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7510
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
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.