I just have downloaded the latest Map Suite Desktop Full Edition 3.0. Its a licensed version not a trial one. When I run the How Do I Samples, it crashed on displaying the shapefiles. Check the attached image.
Our tester has tested the latest version 3.1.299 for Desktop Full edition in Windows7 both 32bit and 64bit OS. They’re working properly, not any exception thrown.
From the attached image, I can not get enough information. I just know you select one sample under Getting Started catalog. Can you tell me which sample is your selected? And is any sample can work or every sample will throw the same exception. Please supply us more information which is helpful.
I have another question to you: Before you install the 3.1.299 Full edition, have you ever installed another version or the Eval Edition?
I am using 32 bit version of Win 7. Which ever sample I try to open application crash with the object reference error. If I click on continue map appearse sometimes displaying only the outline but when I perform any operation on map same thing happens again. I have attached the screen shot of application after clicking continue on error message.
On Windows7 I installed Map Suite for the first time. Previously I was using Windows 2003 Server and things were working fine there.
If you say, I can send you the complete error details from the message box.
Commenting the mentioned lines among the sample project removed the perticular problem. Some projects works fine but in some project map is just disappeared. For instance "Display a simple map"; attached is the screen shot.
In some samples e.g. Load GeoDatabaseFeatureLayer application comes with an error of "File not found". Its image is also attached.
I think your sample is running at offline environment, our WorldMapKitWmsDesktopOverlay will connect the remote server, so if you can not access the internet, it will throw exception by default, the problem is that we are not throw a meaningful exception, you can solve this problem by two ways, one is get online, the other one is set the property of WorldMapKitWmsDesktopOverlay, worldMapKitDesktopOverlay.DrawingExceptionMode = DrawingExceptionMode.DrawException;
“Display a simple map” only has one overlay which is showing as map, if you remove the overlay, I think the result is correct that the map shows nothing because there is no overlay can display any more.
About “Load GeoDatabaseFeatureLayer”, it’s common problem that it can not find the specified DLLs from the dependency path, but not a bug. I don’t think that it’s working in your win2003 but can not work in windows7. You can look at the exception message that will guide you to copy the dependency DLLs to system32 folder.