This project is read-only.

NullReferenceException when running starthere.bat

Topics: Setup / Configuration
May 5, 2009 at 5:35 PM
I'm getting a NullReferenceException whenever I try to run :

System.NullReferenceException: Object reference not set to an instance of an object.
   at DC1.DC1Gui.Scan() in c:\DinnerNow25\common\DC1\DC1\DC1Gui.cs:line 71
   at DC1.DC1Gui.DC1Gui_Load(Object sender, EventArgs e) in c:\DinnerNow25\common\DC1\DC1\DC1Gui.cs:line 58
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
If I Continue, then Build and Configure, I'll get a ton more errors.  According to the install doc, all of the prereqs are installed.  I'm running Server 08 x64


May 27, 2009 at 11:02 PM

I'm having the same issue on a 2008 32-bit VM.  Any help would be greatly appreciated.

Jun 18, 2009 at 4:39 PM

Same issue.  Windows Server 2008 VM.  Anybody found a solution?

Jun 18, 2009 at 8:29 PM

Yes, I finally figured out what was wrong.  It turns out that the latest updates change the build number from 6001 to 6002.  In the config file for the DC1 app there is section for setting the dependancies.  Go into that file and change the build number from 6001 to 6002 and then it will work fine.  If you are using SQL server rather than SQLExpress you will also have issues and changed that need to be made to various config and code files.