Scott_Chang on Fri, 04 Jan 2013 18:50:58

Hi all,

I downloaded the DotSpatial 1.4 to a folder of myC:/Drive. I unzipped it. I launched a Windows Form application "scDotSpatialForm1" in my Visual C# 2012 Express. I got the dll files of DotSpatial.Analysis, DotSpatial.Compatibility, DotSpatial.Controls, DotSpatial.Data, ... , DotSpatial Topology to the References of my "scDotSpatialForm1" project. I managed to get the "DotSpatial" tab in the Toolbox (in left Pane): AppManager, Layout Control, LayoutDocToolStrip, LayoutInsertToolStrip, LayoutMapStrip, LayoutMenuStrip, LayoutPropertyGrid, LayoutZoomToolStrip, Legend, Map, Modeler, SpatialStatusStrip, SpatialToolStrip, and ToolManager. I dragged and dropped Spatial ToolStrip and SpatialStatusStrip on the surface of Windows Form of my project successully - DotSpatial Toolbar appeared on the top of surface of the Windows Form and the SpatialStatusStrip appeared on the buttom of of the Windows Form. I clicked on the Save All" button. But minutes later, the VC# 2012 Express asked me to save the "Solution Explorer" of my project - I did it and exited the session of the VC# 2012 Express programming. Next day, I opened my "scDotSpatialForm1" project and I saw one Error - To prevent possible data loss before loading the designer, the following errors must be resolved:  Object reference not set to an instance of an object, ... Please view the for details of the error message.  I have no ideas how to resolve this error.  Please kindly help and instruct me in solving this error/problem. 

Thanks in advance,

Scott Chang


Jason Dot Wang on Mon, 07 Jan 2013 02:38:47

Hi Scott_Chang,

  Welcome to MSDN Forum Support.

  The topic you mentioned inside of your post is about DotSpatial is outside the scope,but what I can do is giving you right direction on how to solve it,thus you can redirect to Although this third-party component has been published by Microsoft open source platform, you still need to post its related question on codeplex entrace due to the fact that it has plenty of experts to answer your question.


  Jason Wang

Scott_Chang on Mon, 07 Jan 2013 16:33:58

Hi Jason, Thanks for your response.

I have posted this problem in before  I posted it in this Forum. I did not get any response from that "discussions" Forum either.

Could you please use your gerenal understanding on this special error message to give me your resolution or advise on this error?

Thanks in advance,

Scott Chang