Community of VE/MapPoint Users and Developers
This is a discussion on MapPoint object crashed with an internal error (6-40028--1073741819) within the Development forums, part of the MapPoint 2006/2009 Discussion category; Hi all, We have a C# project that use MapPoint 2006 as object to display vehicle locations. The application crashed ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| MapPoint object crashed with an internal error (6-40028--1073741819) We have a C# project that use MapPoint 2006 as object to display vehicle locations. The application crashed on some Win XP machines after running a while. The error message is follwoing: This program has encountered an error and will close. The error details says: This application is unable to continue running due to an internal error. (6-40028--1073741819) I googled the error. Microsoft knowledgebase has to articles addressing this error. It suggests either the MDAC is broken or the user has an uncompatible network printer driver. In our case, we ruled out the broken MDAC and believe it's probably a printer driver issue. But Micorsoft did not give a real fix or work around to get rid of this problem. As a product, we cannot limit the user not to use network printer. We are at the dead end now. Does anybody encounter the same problem? Any solutions or suggestion? Thanks. |
| |||
| Re: MapPoint object crashed with an internal error (6-40028--1073741819)
Hi, How do you call the printer ? Can you show the offending code please ?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: MapPoint object crashed with an internal error (6-40028--1073741819)
Wilfried, thanks for asking. The bad thing is, we never call the printer or try to print anything from our code. The Microsoft knowledge base suggests this error could be a printer driver issue. We donot know how this issue is related to printer driver. Maybe MapPoint object by default will try to do something with printer, but definitely not from our code. To confirm this, we ran a test on 4 identical machines with fresh installed Win XP, MapPoint 2006 and our application. When no printer is installed, our application could continuously run for days without crashing. But after we installed a HP network printer, the application will eventually crash after running a period time, time range from several minutes to 8 hours. Some our clients also complain the same error. |
| |||
|
When checking for details error messages, I found the ModName of error sigature is different with what's described in Microsoft's KB310596. So it may not be the printer at all but the VC++ run time library!!!??? Then, how to explain when no printer installed, the application never crash?Error signature: App NameL mappoint .exe AppVer: 13.0.15.2800 ModName: msvcrt.dll ModVer: 7.0.2600.2180 Offset: 00037fd4 Any clue? |
| |||
| Re: MapPoint object crashed with an internal error (6-40028--1073741819)
Hi, I doubt it is the printer, could be coincidence. Could be you overwrite something on the stack or in pool and thereby loosing a pointer. Very difficult to debug.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: MapPoint object crashed with an internal error (6-40028--1073741819)
Thanks Wilfried for the reply. Managed code ususally does not introduce this kind of errors, unless we did a very poor job Does anybody have some ideas how to debug MapPoint? Still, the printer does not look like a coincidence, since we can always reproduce the error. When no printer is installed, the error is gone. |
| |||
| Re: MapPoint object crashed with an internal error (6-40028--1073741819)
Hi, In Delphi it is possible to pause a running program in IDE and then view cpu / call stack and so. I see the latter are also possible in VS2005, but I cannot see how to pause a program. Maybe it is possible ? If you can pause at the moment of the crash then the call stack maybe get you further.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| crashed, error, internal, mappoint, object |
| ||||
| Posted By | For | Type | Date | |
| www.AboutAlzheimer-Association.info: Internal | This thread | Refback | 12-07-2007 02:42 AM | |
| Snap to a Road - MapPoint Articles - MP2K Magazine | This thread | Refback | 11-09-2007 11:15 AM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MapPoint error 4-40028-1 : Solution | Etienne | MapPoint 2006/2009 Discussion | 5 | 01-11-2008 06:23 AM |
| VB6 error "Method 'QueryShape' of object 'DataSet' fail | David J | MapPoint 2006/2009 Discussion | 2 | 12-07-2005 02:13 PM |
| MapPoint OLE error: "Could not update object" | wiecho_k | MapPoint 2006/2009 Discussion | 1 | 07-23-2005 11:53 AM |
| About ERROR 4-40028-1. Error or Bug ? | Anonymous | MapPoint 2006/2009 Discussion | 12 | 01-11-2005 10:32 AM |
| Run-time error 'Method 'UpdateLink' object 'DataSet' failed | Anonymous | MapPoint 2006/2009 Discussion | 0 | 09-18-2003 04:53 PM |