+ Post New Thread
Results 1 to 5 of 5
Home Access Plus+ Thread, HAP Error: System.NullReferenceException in Projects:; Hi I am having some difficulty finishing the configuration. When I browse to the setup page and enter the AD ...
  1. #1

    Join Date
    Jul 2007
    Posts
    101
    Thank Post
    5
    Thanked 18 Times in 15 Posts
    Rep Power
    18

    HAP Error: System.NullReferenceException

    Hi

    I am having some difficulty finishing the configuration. When I browse to the setup page and enter the AD username and password, I get this:

    Server Error in '/hap' Application.
    --------------------------------------------------------------------------------

    Object reference not set to an instance of an object.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    [NullReferenceException: Object reference not set to an instance of an object.]
    HAP.Web.Setup.Save_Click(Object sender, EventArgs e) +77
    System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) +153
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3690


    Any other changes made save perfectly. I would appreciate any help. Looks like a great system.

    Thanks

    Ben

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,471
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Are you hitting enter after you have entered your username and password. If so HAP+ is attempting to SAVE and incomplete Config File, don't hit enter after you type the password in, instead hit TAB or click in the next box

  3. #3

    Join Date
    Jul 2007
    Posts
    101
    Thank Post
    5
    Thanked 18 Times in 15 Posts
    Rep Power
    18
    Thanks for a swift reply Nick, much appreciated. I have tried your suggestion, tabbing or clicking in the next box but it happens as soon as I click away. Also, the general page is showing a red cross next to "services activated". Not sure if that's relevant. On the AD page I have base settings with a red cross but the Active Directory User List OU bit with a green tick.

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,471
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Services Activated need to have a green tick in, should be 3 greens. Browse to /hap/api/setup and see what error message is reported.

    You can try removing the .svg mime mapping in the web.config, as this, for some, has fixed the problem.

  5. #5

    Join Date
    Jul 2007
    Posts
    101
    Thank Post
    5
    Thanked 18 Times in 15 Posts
    Rep Power
    18
    Hi Nick. I got it running last night after following another thread about certificates and https, now comes the rest of the config. Looking forward to trying all the features and will be just what we need here. The booking system is a nice bonus too and will enable me to move away from the sharepoint setup I was using. Thanks again for your help, I may be in touch again soon.

    Ben

SHARE:
+ Post New Thread

Similar Threads

  1. HAP+ error 500 on new web server install
    By magic2119 in forum Home Access Plus+
    Replies: 12
    Last Post: 19th September 2012, 08:11 AM
  2. Replies: 0
    Last Post: 10th October 2008, 12:10 PM
  3. Lsass.exe - System Error
    By sLiDeR in forum Windows
    Replies: 4
    Last Post: 24th April 2008, 11:08 AM
  4. System error 67
    By paul in forum Windows
    Replies: 1
    Last Post: 5th January 2007, 06:53 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •