Login.htm error - Object reference not set to an instance...

  • 16 March 2007
  • 2 replies
  • 2 views

Badge +1
Hi,

We have a K2.net Server running in our development environment.

I'll blast out the basics first:

K2.net Server Version 3.5140.1.0 (Service Pack 2a).

Console window successfully starts, screenshot attached (ConsoleView.jpg)

I then load up the Workspace Login.htm screen.

I enter all of the details and click "Ok".
I am redirected to Workspace.aspx which displays "Error: object reference not set to an instance of an object"
(see screenshot attached: ErrorMessage.jpg).

What is most confusing is that the credentials that I provide when logging in (to the Login.htm) are irrelevant.
I can type "Hello World" in the username and password boxes, and I still get the same error message.

Clearly it is speaking to the K2 Server correctly, because the error message is being displayed in the K2 Server Console Window (see the last two lines of ConsoleView.jpg .. attached)

Help with this please??

cheers

Martin

2 replies

Badge +9
Hi Martin,

Quick question, r you making use of the SQL User manager? By default K2.net 2003 makes use of Integrated Windows Auth via Active Directory and in this case you would not use the Login.htm page. What do you get when you hit: http://{YOURSITE}/k2v3/workspace/Report.aspx?
Badge +1
Aye .. it seems I've fallen to a case of "RTFM".

The Report.aspx page did work .. didn't realise that you didn't need to use the login screens if you are using Windows Auth.

Cheers!

Martin

Reply