Re: Populating dataset crashes app without error message

Tech-Archive recommends: Fix windows errors by optimizing your registry



minima producciones wrote:
The scenario is this: VB.net 2003 connecting to Access 2003 using Jet
4.0 SP8 and MDAC 2.7 SP1.

On a particular client machine with XP SP2, while trying to fill a
dataset it crashes fantastically without ANY error message. the exe
just disappears from the task manager.

Is there anything in the event log? If the runtime itself crashes, it typically logs this.

I use a Module to launch the MainApp form, if I try to connect within
the Module BEFORE calling the:

dim MainApp as new MainApp
application.run(MainApp)

...the datasets work normally, but if I do it inside the Form_Load (or
anywhere inside the form) it presents the previously mentioned fatal
crash.

This could be a lot of things, not the least of which would be COM apartment state problems. See, for example, http://msdn.microsoft.com/library/system.threading.apartmentstate(VS.71). But it might be another COM problem altogether; debugging those is not fun.

I have updated the clients machine with the SP1 for .NET 1.1 with no
luck.

Now, in a desperate attempt, I have installed VB.NET 03 in the client
machine and with the dev env it works fine, but if I try to run the
executable from outside, it crashes again. No error message from the
exception handling inside the app, no unhandled errors from the
framework or the OS, it just vanishes from the task manager.

You could try running it under AppVerifier (http://technet.microsoft.com/library/bb457063) and/or one of the native debuggers (http://www.microsoft.com/whdc/DevTools/Debugging/default.mspx) and see if there's anything useful in there.

--
J.
.



Relevant Pages

  • Re: installing BLT 2.4z
    ... > even get the actual error message down. ... graph appear in blue, but I can't roll over a point and have ... barchart1.tcl - crashes, instruction 0x1004ab96 referenced memory ... barchart2.tcl - fails, invalid command name, ".header.stacked" ...
    (comp.lang.tcl)
  • Re: Repair install leaves system crashing
    ... "Dri_kbfiltr Not Found" Error Message on Startup ... | I did a recent repair install on my Satellite 3005-S307 in which it gave me ... | Anyway on reboot it still gives an error message on a file called ... | (I should point out that the WHOLE keyboard doesn't work and crashes the ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Business Contact Mananger Crashes
    ... I also get an error message that says "an array index is ... Telling the program to go back and reinstall or correct ... >Sue Mosher, Outlook MVP ... >> and then business contact manager crashes. ...
    (microsoft.public.outlook.contacts)
  • RE: Computer crashes after turning on
    ... other response, good advice there. ... The crashes are all different. ... And sometimes I get the BSOD without any error message. ... I have had a continuing problem with my computer crashing after I turn it on ...
    (microsoft.public.windowsxp.general)
  • Re: MS Office Word 2007 crashes frequently
    ... possibly a corrupted Normal.dotm or corrupted registry entries. ... then it's possible that something else introduced instability and ultimately is causing the crashes. ... Point to note here is once the error message is sent to MS website it gives ... I will have to go to Xerox site and download the patch ...
    (microsoft.public.word.application.errors)