Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Populating dataset crashes app without error message

Reply
 
Old 07-30-2008   #1 (permalink)
minima producciones


 
 

Populating dataset crashes app without error message

Hello,

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.

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.

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.

I tried to reinstall MDAC and Jet but the installers find the previous
files and won't update with the new ones. Tried also reinstalling .NET
framework and the error persists.

Help!

My System SpecsSystem Spec
Old 07-30-2008   #2 (permalink)
Jeroen Mostert


 
 

Re: Populating dataset crashes app without error message

minima producciones wrote:
Quote:

> 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.
Quote:

> 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/sy...entstate(VS.71).
But it might be another COM problem altogether; debugging those is not fun.
Quote:

> 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/DevToo...g/default.mspx)
and see if there's anything useful in there.

--
J.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
IM address import not populating in WLM Live Messenger
Populating ComboBox VB Script
Populating a combo box PowerShell
World of warcraft crashes, how to read error message? Vista Games
Windows Mail Error Sending a Message - Non-specific Error Message Vista mail


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46