Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 9 of 9

MapPoint object crashed with an internal error (6-40028--1073741819)

This is a discussion on MapPoint object crashed with an internal error (6-40028--1073741819) within the Development forums, part of the MapPoint Desktop Discussion category; Hi all, We have a C# project that use MapPoint 2006 as object to display vehicle locations. The application crashed ...

  1. #1
    bluefireball is offline Junior Member Yellow Belt
    Join Date
    Mar 2007
    Posts
    27

    MapPoint object crashed with an internal error (6-40028--1073741819)

    Hi all,

    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.

  2. #2
    bluefireball is offline Junior Member Yellow Belt
    Join Date
    Mar 2007
    Posts
    27

    Re: MapPoint object crashed with an internal error (6-40028--1073741819)

    Anybody know how to solve this problem?

  3. #3
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    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 ?

  4. #4
    bluefireball is offline Junior Member Yellow Belt
    Join Date
    Mar 2007
    Posts
    27

    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.

  5. #5
    bluefireball is offline Junior Member Yellow Belt
    Join Date
    Mar 2007
    Posts
    27

    Question Re: MapPoint object crashed with an internal error (6-40028--1073741819)

    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?

  6. #6
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    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.

  7. #7
    bluefireball is offline Junior Member Yellow Belt
    Join Date
    Mar 2007
    Posts
    27

    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 . If this is what you suspect, it must be in the C# InteropServices calls to the MapPoint control. It's difficult to debug since the error cannot be trapped, when it happens, the MapPoint object just simply crashes. 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.

  8. #8
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    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.

  9. #9
    KevinS is offline Junior Member White Belt
    Join Date
    May 2009
    Posts
    1

    Re: MapPoint object crashed with an internal error (6-40028--1073741819)

    Has Microsoft ever come up with a valid solution for this problem? I have an app where I'm using the active x control in vb.net 2003. (I'm using Mappoint 2004). The application can work great 9 times out of 10, but it does crash for no reason. The Mappoint control just seems to shut down for no reason. I've tried many of the Microsoft suggestions, but nothing has worked.

    Has anybody had this problem and been able to find a solution where it no longer crashes?? If so, I would like to hear how you solved this problem.

    If upgrading to a higher version of vb.net and/or mappoint will solve this let me know. Given the current economic situation, I need to be sure purchasing something is a guarenteed fix before we buy it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. MapPoint error 4-40028-1 : Solution
    By Etienne in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 01-11-2008, 06:23 AM
  2. VB6 error "Method 'QueryShape' of object 'DataSet' fail
    By David J in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 12-07-2005, 02:13 PM
  3. MapPoint OLE error: "Could not update object"
    By wiecho_k in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-23-2005, 11:53 AM
  4. About ERROR 4-40028-1. Error or Bug ?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 12
    Last Post: 01-11-2005, 10:32 AM
  5. Run-time error 'Method 'UpdateLink' object 'DataSet' failed
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-18-2003, 04:53 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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