ThinkGeo.com    |     Documentation    |     Premium Support

Exception in Hello World Sample

Hello,


I am attempting to evaluate Map Suite Deskop by using the supplied Hello World sample Visual Studio Solution. A NullReferenceException was thrown in the highlighted line of the snippet below. I have not changed the code at all...simply trying to run it "as is". Any ideas?


Thanks!


Dale


 private void Form1_Load(object sender, EventArgs e)

        {

            winformsMap1.MapUnit = GeographyUnit.DecimalDegree;



          

 


    



Dale, 
  
 Can you try/answer the following? 
  
 1.Try a different sample application. 
 2.Verify that you are running the right project type, ie VS2008 in VS2008 etc. 
 3.Past in the error message so we can see the track trace. 
 4.Try running the sample from outside of VS using the link we provide on the start menu and see if it works there. 
 5.Is this the first web project you have ever tried?  Do other web projects work on your machine? 
  
 If this problem persists I suggest you contact support and they can setup a goto-meeting and we can see your environment.  I have a feeling it is the environment or something really simple I am not thinking of.  I say that only because we have thousands of evaluators and no one else is reporting this.  We also extensively test in clean machines for lots of different operating systems.  Having said that who knows what it is until someone looks at it. 
  
 David