safcphil Posted February 29, 2012 Posted February 29, 2012 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.ServiceActivationException" when i click save. when i browse to https://intranet/hap/api/test I get OK when I browse to 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
nickbro Posted February 29, 2012 Posted February 29, 2012 As stated, you need to re-enable anonymous authentication.
safcphil Posted February 29, 2012 Author Posted February 29, 2012 instead of basic authentication? when I do this it doesnt allow me to log in at all.
nickbro Posted February 29, 2012 Posted February 29, 2012 it should be both. Anonymous authentication is needed to load pictures and the like
safcphil Posted February 29, 2012 Author Posted February 29, 2012 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.
nickbro Posted February 29, 2012 Posted February 29, 2012 If you are using basic authentication, make sure you add AuthMode="Windows" to the AD node in the hapConfig.xml file (after you have set it up)
nickbro Posted February 29, 2012 Posted February 29, 2012 Right, ok, can you set HAP+ up using Forms Authentication first, then change it over to basic authentication once you have configured it.
safcphil Posted February 29, 2012 Author Posted February 29, 2012 (edited) 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 Edited February 29, 2012 by safcphil
safcphil Posted February 29, 2012 Author Posted February 29, 2012 If you are using basic authentication, make sure you add 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?
nickbro Posted February 29, 2012 Posted February 29, 2012 Please follow the instructions available here http://www.codeplex.com/Download?ProjectName=hap&DownloadId=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.
safcphil Posted February 29, 2012 Author Posted February 29, 2012 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.
nickbro Posted February 29, 2012 Posted February 29, 2012 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 local="en-GB" exists, if it doesn't add it
safcphil Posted February 29, 2012 Author Posted February 29, 2012 that wasnt in the xml file. added it but no change
nickbro Posted February 29, 2012 Posted February 29, 2012 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 http://www.edugeek.net/forums/home-access-plus/86059-hap-json-debugging.html to see if we can get anything more out of HAP+. Or check the event viewer
safcphil Posted February 29, 2012 Author Posted February 29, 2012 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}
nickbro Posted February 29, 2012 Posted February 29, 2012 Ok, it looks like HAP+ isn't working well with your AD setup, you may have to manually enter the groups, etc.
nickbro Posted February 29, 2012 Posted February 29, 2012 In each of the tabs, only hit save once you have filled in as much info as you can. Don't worry about the AD User Lists, as this is only for the booking system/help desk.
safcphil Posted February 29, 2012 Author Posted February 29, 2012 In each of the tabs, only hit save once you have filled in as much info as you can. Don't worry about the AD User Lists, as this is only for the booking system/help desk. there is no other information to enter. Sorry but I dont understand at all
nickbro Posted February 29, 2012 Posted February 29, 2012 On the configuration page, you should have a load of tabs and boxes that you fill in to configure HAP+. This includes group names, LDAP paths, UNC paths and other settings
safcphil Posted February 29, 2012 Author Posted February 29, 2012 couldnt get it to work so tried version 4 so I could follow the video step by step. sort of worked for a minute but then nothing. not getting any response when I browse to the site now and the RM Management console has stopped working, returns an IIS error. Gonna restart the server shortly to see if it goes back to normal. Bit worried ive buggered something up but I havent messed with any settings away from the hap stuff :/
nickbro Posted February 29, 2012 Posted February 29, 2012 The text boxes you need to enter information into, there are lots of them [ATTACH=CONFIG]13223[/ATTACH][ATTACH=CONFIG]13224[/ATTACH][ATTACH=CONFIG]13225[/ATTACH][ATTACH=CONFIG]13226[/ATTACH]
safcphil Posted February 29, 2012 Author Posted February 29, 2012 yeah nick I filled those in. the second picture is where I had trouble. It wont accept my details. the rest of the details are in.
nickbro Posted February 29, 2012 Posted February 29, 2012 If it has an issue, continue and see if after it's setup it will work, sometimes the tick doesn't work (and the helper tree doesn't load, that's just HAP+ having a little issue populating the AD Tree, just continue)
safcphil Posted February 29, 2012 Author Posted February 29, 2012 like I said earlier it was sort of working. i could log in and see the home page and the buttons but there was no documents showing when I clicked view my files.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now