+ Post New Thread
Results 1 to 4 of 4
Home Access Plus+ Thread, Did i make a woopsie? in Projects:; Hi Guys First of all want to say that this HAP thing looks great and youve done a great job ...
  1. #1
    Bluetooth's Avatar
    Join Date
    Apr 2008
    Location
    Dewsbury
    Posts
    299
    Thank Post
    30
    Thanked 13 Times in 12 Posts
    Rep Power
    15

    Did i make a woopsie?

    Hi Guys

    First of all want to say that this HAP thing looks great and youve done a great job on it Nick =-)

    Ive finally got a test hap up and running internally and i think i made a boo boo, i forgot to add the active directory stuff to the site so i cant login, regardless of the username i use be it a domain admin, staff or pupil, i cant get access to hap.

    Can anyone help? i have tried getting back to the setup.aspx but it just puts me back onto the login screen.

    Thanks!

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    How long ago did you set HAP+ up? Can you check IIS that anonymous authentication is still enabled on the HAP site? Open the web.config file, look for the <location path="setup.aspx"> and delete that section.

  3. #3
    Bluetooth's Avatar
    Join Date
    Apr 2008
    Location
    Dewsbury
    Posts
    299
    Thank Post
    30
    Thanked 13 Times in 12 Posts
    Rep Power
    15
    Quote Originally Posted by nickbro View Post
    How long ago did you set HAP+ up? Can you check IIS that anonymous authentication is still enabled on the HAP site? Open the web.config file, look for the <location path="setup.aspx"> and delete that section.
    Hey Nick,

    Got that issue sorted, just recopied everything and reset it all. I got it working but as i was adding drive maps, something happened to break it again. Instead of messing about i just deleted it all and started again.

    Anyway, it worked for a while and has now stopped again, again i copied everything over again and checked the setup docs and as far as i can see everything is fine, but whenever i visit the site i get the following:

    erver Error in '/HAP' Application.

    The specified string parameter is empty.
    Parameter name: name

    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.ArgumentException: The specified string parameter is empty.
    Parameter name: name

    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:


    [ArgumentException: The specified string parameter is empty.
    Parameter name: name]
    System.DirectoryServices.ActiveDirectory.Directory Context..ctor(DirectoryContextType contextType, String name) +386810
    HAP.AD.ADUtils.FriendlyDomainToLdapDomain(String friendlyDomainName) +28
    HAP.Web.Default.Page_Load(Object sender, EventArgs e) +811
    System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) +14
    System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender, EventArgs e) +35
    System.Web.UI.Control.OnLoad(EventArgs e) +91
    System.Web.UI.Control.LoadRecursive() +74
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
    Extracted 7.10 but that has the same issue. Anything ive missed?

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    check the ~/appdata/hapConfig.xml file, specifically the <ad> node. Looks like the AD UPN is missing

SHARE:
+ Post New Thread

Similar Threads

  1. 23 things that make a bloke feel like a real man
    By Geoff in forum Jokes/Interweb Things
    Replies: 3
    Last Post: 10th November 2005, 07:54 PM
  2. making passwords help
    By browolf in forum Scripts
    Replies: 7
    Last Post: 26th August 2005, 09:49 AM
  3. What a change a new ICT Co-ordinator makes!
    By RobC in forum School ICT Policies
    Replies: 2
    Last Post: 24th August 2005, 01:07 PM
  4. Pretty Scripts (Making HTAs)
    By Ric_ in forum Scripts
    Replies: 3
    Last Post: 29th July 2005, 02:22 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
  •