Jump to content

Recommended Posts

Posted

Hi I am setting up HAP on a 2012 R2 Server IIs8, amended the web.config file to take the IIs 8 lines out that are not needed sparked up http//'mydomain'/hap/setup.aspx in a browser and it displays the configuration form as expected but I get this message every time I press save. I have tried to copy the suggested script into web.config but then hap just does not work. What am I doing wrong?

haperror.PNG

Posted

I found this was not very well documented and still need to get this sorted before going live.

 

- - - Updated - - -

 

Maybe simeone can post a correctly cofigured config file for us to compare.

Posted (edited)

Below is a working web.config from my development server:

 



 
   
 
 
   
   
   
     
       
     
   
   
     
       
       
       
     
   
   
     
   
   
     
       
       
     
   
   
     
       
       
     
   
   
     
   
   
 
 
 
   
     
     
   
 
 
   
     
   
 
 
   
     
   
 
 
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 

   
       
           
           
       
   

 
 
 
   
   
   
     
       
         
         
         
         
         
         
         
       
       
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
       
     
   
 
 
   
     
       
     
   
   
     
       
         
       
     
     
       
         
         
       
     
   
   
     
       
         
       
     
   
   
   
     
       
         
       
     
   
 

 

If this doesn't work I recommend reinstalling HAP as it can be a bit buggy sometimes so you will need to play around with it since documentation is pretty sparse as round2it mentioned.

Edited by NokiX
  • Thanks 1
Posted
The warning at the top is explaining how to lock down the setup.aspx page so only Domain Admins can access it, open web.config in notepad, find the section at the top (the to is meant to be on the line below), then replace the whole lot with the new bit.
  • Thanks 1
Posted
You shouldn't notice any difference, it will just mean that you have to be logged in to access setup.aspx, by default this is accessible to everyone.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...