Vista APPCRASH problem

This is a discussion on Vista APPCRASH problem within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have a .net application that uses the MapPoint 2006 object model, and it has been rock-solid for a year ...

Vista APPCRASH problem

I have a .net application that uses the MapPoint 2006 object model, and it has been rock-solid for a year on XP. After an upgrade to Vista Business, the app started crashing occasionally with the MapPoint internal error pop-up: "MapPoint has stopped working and must close".
Name= APPCRASH
Module 13.0.15.2800
Exceptipon Code c0000005
offset 0018601e
LCID 1033

The .net part is not able to handle these errors. Everything is try-catched, and I also have a global handler that is also not handling the error:

So the error is thrown inside the mapPoint control. It happens occasionally and randomly so it is impossible to reproduce and even harder to debug. I have turned off ALL firewalls, Defender, UAC is off, etc.

Other than going back to XP, I have run out of ideas. Although it is possible I am the only one in the world that will ever have this problem, I have a feeling that as Vista becomes widely adopted, this thread may get some activity.

Re: Vista APPCRASH problem

Hi,

I have no idea, but the only thing that come into mind is: Try to install and run your application as Administrator with full rights. If you don't have the error any more it has something to do with security.

I also tried setting "compatibility mode" by right-clicking the app's .exe, but I get a "windows did not save the registry settings correctly" error. I get this error for both my .net app and mapPoint.exe.

I doubt any of this will make a difference because the problem is an un-handled exeception in the .ocx, so these .net settings wont really help.

I did start a support case with Microsoft because I did find a post somewhere that mentioned Microsoft was aware of the MapPoint c0000005 issues. But this was a few days ago and I havent heard from them, so I wont hold my breath. However, in the unlikely event I hear from them, I will share their wisdom here.

Re: Vista APPCRASH problem

Unfortunately, we cant expect any help from Microsoft. They simply redirected my support ticket to MapPoint web services. The Web Service group told me to get support from the Home Products Group:

Thank you for contacting Microsoft's Home Product Support. My name is Rahul Aher. I see that you are having a MappOint Object Model issue. The Microsoft Home Products Support team manages Service Requests directly related to the product itself. For MappOint Object Model issue, you will need to contact the appropriate group listed below for your issue type. Just click on the link below.....

I am in the endless loop from hell! This was actualy the first (and last) time I ever went to Microsoft for help. Thankfully we have this forum.

Re: Vista APPCRASH problem

I am trying the "compatibility mode". I tried to set this before but I was doing it wrong. You cant right-click the mapPoint.exe and change the Compatibility properties of an existing installation. I needed to un-install, insert the CD, use file explorer to find the setup.exe on the CD, then right-click setup.exe>properties>Compatibility mode> Win XP SP2. Then I ran the setup.exe

This installed mapPoint and set Compatibility MOde to Win XP SP2

So now for some testing. This may take awhile because it sometimes runs for a few days without an error. I am not very hopeful though. The compatibility mode forces MapPoint to use legacy Windows system files, but I doubt it affects how the .ocx activeX control runs..I may be wrong.

Re: Vista APPCRASH problem

doh! I posted too quickly. When I run the MP.exe I get the same old "Registry settings were not copied correctly" error. There may be a way to force XP mode by inserting a compatMode key in the registry, but I dont have a clue where it would go...this would take some trial and error.

Re: Vista APPCRASH problem

Another update: I actually created a MS support incident (my fisrt ever...and last). They were not able to solve the problem of running MP in XP compatibility mode. The final work-around was to run the application as administrator and make sure the permissions are all set to "full". Not much help to me since thjis was the first thing I tried.

We un-installed Vista and went back to WIndows Server 2003 since the application has NEVER crashed in XP pro or WS2003. I may re-visit Vita after a service pack or 2.

Re: Vista APPCRASH problem

I hate to jynx myself, but 1 of these may have fixed the problem since I have not had the APPCRASH since then.

Please dont run out and buy Vista on my say-so. Personally, for a mission-critical application, I would wait for a service pack or 2. This Vista server is just a test-server for us. We run Windows Server 2003 for anything important.