+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 29
Home Access Plus+ Thread, Documents dont appear when I log in in Projects:; Seem to have gotten this working (kind of) but when I log in the document folder is empty. I have ...
  1. #1

    Join Date
    Feb 2012
    Posts
    49
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Documents dont appear when I log in

    Seem to have gotten this working (kind of) but when I log in the document folder is empty.

    I have a red cross next to services activated

    a red cross next to basic settings as well as it wont let me save the settings I enter, it simply puts an error up "System.ServiceModel.ServiceActivationExceptio n" when i click save.

    when i browse to
    Code:
    https://intranet/hap/api/test
    I get OK
    when I browse to
    Code:
    https://intranet/hap/api/setup
    I get an error:
    "Server Error in '/hap' Application.
    Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service."

    I was confused over that part of the setup as the youtube vid says to untick anonymous access and tick basic authentication but the pdf says the opposite. Ive tried both and neither get rid of this error.

    any help appreciated

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    As stated, you need to re-enable anonymous authentication.

  3. #3

    Join Date
    Feb 2012
    Posts
    49
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    instead of basic authentication?

    when I do this it doesnt allow me to log in at all.

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    it should be both.

    Anonymous authentication is needed to load pictures and the like

  5. #5

    Join Date
    Feb 2012
    Posts
    49
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    sorry if im being thick. I havent done much with IIS before.

    what username and password should I use - a system admin?

    still cant enter those settings and I still cant view documents.

  6. #6
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    If you are using basic authentication, make sure you add
    Code:
    AuthMode="Windows"
    to the AD node in the hapConfig.xml file (after you have set it up)

  7. #7
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Right, ok, can you set HAP+ up using Forms Authentication first, then change it over to basic authentication once you have configured it.

  8. #8

    Join Date
    Feb 2012
    Posts
    49
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    im using iis 6 by the way on server 2003.

    I cant see forms authentication

    edit : using integrated windows authentication gets my all green ticks on the first page but it still wont accept my active directory settings
    Last edited by safcphil; 29th February 2012 at 10:49 AM.

  9. #9

    Join Date
    Feb 2012
    Posts
    49
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by nickbro View Post
    If you are using basic authentication, make sure you add
    Code:
    AuthMode="Windows"
    to the AD node in the hapConfig.xml file (after you have set it up)
    are there some instructions ive missed? How do I setup a hapconfig.xml file?

  10. #10
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Please follow the instructions available here http://www.codeplex.com/Download?Pro...nloadId=282513

    You set it up using Forms Authentication First, run it once to get the configuration page up.

    Then you enable Basic Authentication and tell HAP+ to run in Windows Auth Mode. But only after you have run the configuration page.

  11. #11

    Join Date
    Feb 2012
    Posts
    49
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi Nick

    I started again and followed the instructions to the letter. When I browse to the setup page on the server I get all red crosses but If I do it on another computer I get all green ticks.

    Still getting a red cross on the basic settings for active directory. sometimes when I click save I get the error

    There is something wrong connecting to your AD Infrastructure,

    please review the AD settings and try again.
    The most common cause of this is using a user not in the Domain Admins or Administrators Group

    I am attempting to enter the username and password of a domain admin.

  12. #12
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    If you have managed to click save, what gets written to ~/app_data/hapconfig.xml? (you can omit the username & password).

    Check on line 2 that
    Code:
    local="en-GB"
    exists, if it doesn't add it

  13. #13

    Join Date
    Feb 2012
    Posts
    49
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    that wasnt in the xml file. added it but no change

  14. #14
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    ok, so your saying you get green ticks on a remote machine, have you tried doing the config on that machine?

    Can you try doing some HAP+ JSON Debugging to see if we can get anything more out of HAP+. Or check the event viewer

  15. #15

    Join Date
    Feb 2012
    Posts
    49
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    yeah im doing the config on the remote machine

    when i click save on the active directory settings i get this in firebug

    Object { GetADTreeResult=null}

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. [CLOSED] Bug/Error: Clock wrong when not logged in
    By rad in forum EduGeek.net Site Problems
    Replies: 2
    Last Post: 28th November 2010, 12:38 PM
  2. Replies: 4
    Last Post: 19th April 2010, 11:11 AM
  3. Replies: 14
    Last Post: 26th November 2008, 10:10 AM
  4. Issue when pupils logging in
    By faza in forum Wireless Networks
    Replies: 11
    Last Post: 27th September 2007, 10:41 AM
  5. Replies: 0
    Last Post: 19th September 2007, 02:02 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
  •