Login exception - Object reference not set to an instance of an object

Feb 24, 2010 at 10:04 AM


  I am having trouble making this tool work with our CRM 4.0 server. When I press the Ok button on the login screen after a few seconds I receive a System.NullReferenceException exception:

  System.NullReferenceException: Object reference not set to an instance of an object.
   at OrbitOne.CRMUpdater.frmLoginScreen.timer_Tick(Object sender, EventArgs e) in C:\Data\Subversion\mscrmbulkupdatetool\Trunk\Trunk\OrbitOne.CRMUpdater\frmLogin.cs:line 69
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  I am using Active Directory authentication and it seems to work since if I set a wrong password I receive another error, so I think the connection can be made to the server. This exception is received when "Getting entities..." can be seen in the status bar.

Peter Neumann