Doing DotSpatial in Visual C# 2010 Express: 1 Error - Object reference not set to an instance of an object
Tuesday, July 31, 2012 1:40 PM
I tried to open my old project "scDS1_ExpressWinForm1", that had ".Net Framework 4" in the Properties of the project and "spatialToolStrip1" on Form1 and it gave me the following 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. Instance of this error (1) 1. Show Call Stack. ... What is wrong in my old project "scDS1_ExpressWinForm1" that is using .Net Framework 4? How can I resolve this error?
Please kindly help and advise.
Thanks in advance,
Thursday, August 02, 2012 4:00 AMModerator
Welcome to MSDN Forum Support.
We're doing research on this issue. It might take some time before we get back to you.
Jason Wang [MSFT]
MSDN Community Support | Feedback to us
Thursday, August 02, 2012 1:16 PMModerator
Thursday, August 02, 2012 3:30 PM
Are you using Form controls from the .NET Framework?
Mark the best replies as answers. "Fooling computers since 1971."
Saturday, September 15, 2012 1:55 PM
Click in "GO TO CODE" on the right side, just bellow "Why am I seeing this page?". Then look for the error, that should be underlined.
Maybe you should remove by hand the erros and open the form.cs. Then add new objects or just solve the problem.