This project has moved and is read-only. For the latest updates, please go here.

SharpMap Object reference not set to an instance of an object

Nov 12, 2012 at 12:42 PM

Hi Every one,

I am trying to get SharpMap working with,so I created a new web form and I added the SharpMap References and I went to the toolbox and draged the AJAXMapControl item into the webform page then when I run the application I always get that error "Object reference not set to an instance of an object" NullReferenceException: Object reference not set to an instance of an object.] 



System.Web.UI.Control.EnsureChildControls() +83

System.Web.UI.Control.PreRenderRecursiveInternal() +42

System.Web.UI.Control.PreRenderRecursiveInternal() +168

System.Web.UI.Control.PreRenderRecursiveInternal() +168 

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +974

if any one can help me I would really appreciate it.

Thanks every one.