Re: Populating dataset crashes app without error message
- From: Jeroen Mostert <jmostert@xxxxxxxxx>
- Date: Wed, 30 Jul 2008 20:05:27 +0200
minima producciones wrote:
The scenario is this: VB.net 2003 connecting to Access 2003 using JetIs there anything in the event log? If the runtime itself crashes, it typically logs this.
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 withinThis 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.
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 noYou 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.
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.
--
J.
.
- References:
- Populating dataset crashes app without error message
- From: minima producciones
- Populating dataset crashes app without error message
- Prev by Date: Re: Use "lock" in three methods to prevent shared-memory corruption
- Next by Date: Re: Given a C#.NET assembly, what information can you get?
- Previous by thread: Populating dataset crashes app without error message
- Next by thread: Use "lock" in three methods to prevent shared-memory corruption
- Index(es):
Relevant Pages
|