ITBlandster Posted July 18, 2016 Posted July 18, 2016 Hello, I keep getting this error message when i install home access plus V10 on Windows Server 2012 R2. Any ideas on how to fix it? Thanks Jordan
NokiX Posted July 18, 2016 Posted July 18, 2016 Did you remove the entries in the web.config that are not required as you have to remove some depending on which version of IIS your using so if your using IIS 8 then remove the following section from your web.config: Hopefully that helps
ITBlandster Posted July 18, 2016 Author Posted July 18, 2016 Hello, Because i am fairly new to this. How do you do it? Thanks
NokiX Posted July 18, 2016 Posted July 18, 2016 If you go to the location of your HAP files you should see a file called 'Web' which will be your web.config (see below image): If you open the web.config file in a text editor (notepad, notepad++ etc) you should be able to use CTRL + F to find the following line: Once found delete the following section: Save the file and I would also recycle the application pool and restart the site on IIS just to make sure the configuration applies correctly. You should find that HAP is now working once those changes have been made. 1
round2it Posted July 18, 2016 Posted July 18, 2016 are you testing as I thought you needed to use https your image shows http 1
NokiX Posted July 18, 2016 Posted July 18, 2016 are you testing as I thought you needed to use https your image shows http Nice spot, missed that one, that will also be something you require so just use a self signed while your testing.
ITBlandster Posted July 18, 2016 Author Posted July 18, 2016 This will be for use in school but yes i am just testing. The school has its own ssl certificate but the real question is how will i be able to make people be able to access the server/hap externally on a web address? what steps will i need to do in order to create such a web address so people can us it at home? Thanks
NokiX Posted July 18, 2016 Posted July 18, 2016 It depends on if you want the server to handle the requests itself or have traffic go through some sort of firewall/proxy on your end. It's pretty easy to make the server accessible externally since you just have to create the required DNS record on your domain controllers to point a specific sub domain to your HAP server and then the server will serve the default website on IIS to that address. You will of course need an external IP address as well so users can access HAP externally, as we use virgin for our ISP we just ask them to point one of our external IP's to a specific internal address but as above if your using a firewall/proxy then it would require some more fancy networking.
ITBlandster Posted July 18, 2016 Author Posted July 18, 2016 (edited) Hi Guys, After installing it on 2012 and refreshed the app pool and the web config file it is still not working. It is now asking me to do something else (see error message). Is this normal? Have i missed something? Its starting to get to me! Update...... After removing the script highlighted in red above it now says there is an authentication issue. Any ideas? Thanks Edited July 18, 2016 by ITBlandster
kidpressingbuttons Posted July 20, 2016 Posted July 20, 2016 Try https:// you need to assign a ssl certificate
ITBlandster Posted July 20, 2016 Author Posted July 20, 2016 (edited) Thanks, i will try this and let you know how i get on. I did try this but it refused to connect, it is mostly likely due to me not having an ssl certificate Edited July 20, 2016 by ITBlandster
KibosJ Posted July 21, 2016 Posted July 21, 2016 hello, Will this run in 2012 r2? thx I've just set it up and it appears to be working for me in 2012 R2
ITBlandster Posted July 21, 2016 Author Posted July 21, 2016 The errors appear in http but i haven't tried it in https as it keeps saying "refusing to connect" when doing local host and through the ip, is this due to me not having an ssl certificate? At this stage i just want to test to see if it works. So if i ran it in https, will the issues (above) dissapear? Thanks
KibosJ Posted July 21, 2016 Posted July 21, 2016 The errors appear in http but i haven't tried it in https as it keeps saying "refusing to connect" when doing local host and through the ip, is this due to me not having an ssl certificate? At this stage i just want to test to see if it works. So if i ran it in https, will the issues (above) dissapear? Thanks I set it up with https and haven't received any errors, I think it requires https. I have it setup so that the address is hap.domainname.net and then created an internal A Record in DNS for that server
ITBlandster Posted July 21, 2016 Author Posted July 21, 2016 (edited) ahh i see, have you tried it in http to see if you are getting same errors? I have an ssl certificate for our school domain so i can just install that on iis and i can create the A record in dns on our dc. Also how did you set up the address? Thx Edited July 21, 2016 by ITBlandster
KibosJ Posted July 21, 2016 Posted July 21, 2016 ahh i see, have you tried it in http to see if you are getting same errors? I have an ssl certificate for our school domain so i can just install that on iis and i can create the A record in dns on our dc. Also how did you set up the address? Thx I didn't try it with http, sorry. I have removed it now too. If you still get stuck I can put it back on again later today, only took 10 minutes.
ITBlandster Posted July 21, 2016 Author Posted July 21, 2016 So how did you create the address? this is the part i am really stuck on.
KibosJ Posted July 21, 2016 Posted July 21, 2016 So how did you create the address? this is the part i am really stuck on. Right click on the website and then click "Edit Bindings" in there should be an option for "Host Name" fill it in there So I put in there hap.domainname.net you can choose whatever subdomain you want.
ITBlandster Posted July 21, 2016 Author Posted July 21, 2016 ok i have done that. So how do i get that web address to be accessed externally?
KibosJ Posted July 21, 2016 Posted July 21, 2016 ok i have done that. So how do i get that web address to be accessed externally? If you have it working internally you need to edit the dns of your domain name and do the same as you have done. You need to create an A record that points to your public IP address and make sure you forward the https port to your server.
kidpressingbuttons Posted July 21, 2016 Posted July 21, 2016 create a self signed certificate and then you should be able to connect. It will not work without it!
round2it Posted July 21, 2016 Posted July 21, 2016 Follow the video that is available to aid setting up. Even I managed it watch it over and over especially the permissions part.
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