Winform app, .Net debugger crashes on start on WinNT box

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Elliot M. Rodriguez (noemail)
Date: 03/22/04


Date: Mon, 22 Mar 2004 14:26:22 -0500

I have a Winforms app that I've assembled an installer for using the VS
Installer. Everything builds fine, and I've tested it on XP and 2000
machines.

However, the installation target machines all have windows NT Workstation.
On my test NT machine (has the redistributable 1.1 installed and has been
rebooted several times), my install completes, but every time I attempt to
run the program, I get the following error:

"Application has generated an exception that could not be handled"

I tried to use the HandleCreated event and the Load event to try to write
the exception to the EventViewer during the AppDomain.UnhandledException
event, but the above error still occurs, and no writing is done.

So I decided to install debugging on the NT workstation, and the above error
popped up during installation 6 times. It was raised by ngen.exe. I
completed the install anyway, and I still cant trap the error.

What are my options here? Thanks.

-- 
Elliot M. Rodriguez, MCSD
My .Net blog, with tips here and there:
http://derivedclass.europe.webmatrixhosting.net


Relevant Pages

  • Re: Probes on Port 135 and 445 continue
    ... The house has a slow DSL connection, ... We removed more than 3000 viruses from their machines when they arrived ... about it, and you have to believe you need it, to install it. ... virus spammer infection - sending about 250 email's out from 6 infected ...
    (comp.security.misc)
  • Re: Firewall Suggestions
    ... > likely run into the same thing with most of the personal firewalls. ... I had ZA installed on all 3 machines. ... I still, however, have the install files, I suppose I could ... remove completely and reinstall clean because the ...
    (comp.security.firewalls)
  • Re: Probes on Port 135 and 445 continue
    ... The house has a slow DSL connection, ... We removed more than 3000 viruses from their machines when they arrived ... about it, and you have to believe you need it, to install it. ... virus spammer infection - sending about 250 email's out from 6 infected ...
    (comp.security.unix)
  • Re: Will .NET 2.0 Windows Services run under Windows 2000?
    ... Service, written in C# and .NET 2.0, that would install and run fine, on ... some machines, and would install, but would hang on startup, on other ... class SimpleService: ServiceBase ... protected override void OnStop() ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Client machine problems after join of SMB2003 domain
    ... the usual process for joining a workstation to the domain is: ... disjoined the client machines from Domain1 and joined them to Domain2. ... I tried to install an update to Nero 7 and got 66 ... tried to isntall as local admin and when that failed as ...
    (microsoft.public.windows.server.sbs)