Jump to content

Recommended Posts

Posted

I know this is something I am doing wrong but am now stuck for ideas. I have tried HAP 9 and HAP 9.6 under both server 2012 and 2008 R2 on both everything goes OK and I can login and see my files. Once I try and login as a standard user I get the message "Either your Username or Password was Incorrect or you do not have permission to access this site." I have tried a number of different accounts.

 

This is running on a standard server so I have altered the local security policy to allow the domain users to login locally, gpupdated restarted and the usual. This makes no difference.

 

Anyone any ideas as this is driving me nuts and I think HAP is a perfect fit for my school.

Posted

Hi Nick,

 

When I log in as me (Enterprise Admin Account) the following appears in the application log, though everything works perfectly:

 

"An error occurred in Home Access Plus+

Page: HAP.Web.API.MyPic

 

 

Creating Directory Search and Searching for then current user

Using filter: (&(objectClass=user) (sAMAccountName=Ian))

Found 1 results, processing 1st result

Found 0 thumnbnailPhotos"

 

When I try loggin in as a standard user nothing in logged in any windows logs.

Posted

Hi Nick,

 

Below is the web.config from the server 2012 machine but the server 2008 R2 is the same with the IIS 8 lines left intact. I am sure this is me doing something really silly, but I have gone around and around now to the point where I am not sure where I am at.

 



 
   
 
 
   
   
     
       
     
   
   
     
       
       
       
     
   
   
     
   
   
     
       
       
     
   
   
     
       
       
     
   
   
     
   
   
 
 
 
   
   
   
     
       
         
         
         
         
         
         
         
       
       
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
       
     
   


 
 
 
   
     
     
   
 
 
   
     
   
 
 
   
     
   
 
 
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
     
   
 
 
   
     
       
       
     
   
 
 
 
   
     
       
     
   
   
     
       
         
       
     
     
       
         
         
       
     
   
   
     
   
   
   
     
       
     
   
 

Posted
I tried the v9 on Server 2008 R2 and got the same result without the looping, standard users still unable to login. Am racking my brains as to what this could be within our environment.
Posted

Still battling with this one, if I try adding the user account as an admin on server I get the same problem, deny login. If I add the account to domain admins then everything works fine. Have run out of ideas now.

 

For Home Access Plus 9 which platform is the best to run it under? Server 2008 / Server 2008 R2 / Server 2012 / Server 2012 R2 ? I have access to all of them and have a VM infrastructure so adding an additional server is not a problem.

Posted

HAP+ works best on IIS 7+, Windows Server 2008 R2 is the version I use and code against.

 

Does your HAP+ install's external access go through a reverse proxy?

Posted
HAP+ works best on IIS 7+, Windows Server 2008 R2 is the version I use and code against.

 

Does your HAP+ install's external access go through a reverse proxy?

 

Hi nick, only testing internally at the moment so no proxying, and everything works perfectly as a domain admin. Is talking to AD as it will login any account that has domain admin rights. I am sure it is something strange in our AD but I can't think what HAP is looking for in AD. I double checked by creating a fresh student account which is a member of domain users. Domain Users have Allow Local login rights on the server. This gave the original error. I then made it a domain admin and it logged in Perfectly.

Posted
Can you go into IIS manager, go into the Website, into the HAP folder, under IIS authentication, go into the properties of the Anon User, and check it's using Application Pool Identity
Posted

Hi Nick,

 

I can confirm that Anonymous Authentication is set to the application pool identity. The application pool is running under .net v4 and that the HAP application is using this pool.

 

Many thanks for your help with this.

 

Ian

  • 3 weeks later...
Posted
If it's failing to log in it's something to do with your setup. Usually local logon rights, but could also be if the server isn't joined to the correct domain, or you sit in a forest and certain groups are above you,.
Posted

Hi Nick,

 

It is definitely something to do with our set-up just trying to figure out what HAP is looking for.

 

I have domain users set to allow login locally, we only have one domain which is it is joined to and the doman has never been a forest. HAP is able to browse the domain through the setup interface.

 

Which AD groups is HAP looking at?

Posted

HAP+ just looks for Authenticated users, redirects to the login screen if they aren't logged in.

 

Make sure you don't try and use the browser on the server to access HAP+ as it may not log in.

 

The only other place to check is the web.config file.

Posted
I see, I can login locally to the server (VM) with the accounts that cant access HAP. And I am using chrome on a different computer. I posted the web.config file earlier in this thread.
Posted

Nothing generated in event logs on failed attempt. Ironically when I use a domain admin account and it successfully logs in I do get an error in eventvwr, but I have read about that one in another thread, it is below.

 

Am using just the username but have also tried domain\ and full UPN.

 

 

--

An error occurred in Home Access Plus+

 

 

Page: HAP.Web.API.MyPic

 

 

Creating Directory Search and Searching for then current user

Using filter: (&(objectClass=user) (sAMAccountName=Ian))

Found 1 results, processing 1st result

Found 0 thumnbnailPhotos

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...