Open-Source GIS "DotSpatial" v1.4 used in Visual C# 2012 Express: 1 Error-Object reference not set to instance of an object. How to resolve it?
Friday, January 04, 2013 6:50 PM
I downloaded the DotSpatial 1.4 Minimal.zip 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 http://www.ge.tt/1r7eOfU/v/0 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,
Monday, January 07, 2013 2:38 AMModerator
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 http://dotspatial.codeplex.com/discussions. 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 [MSFT]
MSDN Community Support | Feedback to us
Monday, January 07, 2013 4:33 PM
Hi Jason, Thanks for your response.
I have posted this problem in
http://dotspatial.codeplex.com/discussions 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,