Home Access Plus+ Thread, error while logging in to HAP in Projects:; Setting up my 3rd HAP server... however, I'm running into this problem (haven't seen this on my other 2 HAP ...
12th July 2013, 09:04 PM #1
- Rep Power
error while logging in to HAP
Setting up my 3rd HAP server... however, I'm running into this problem (haven't seen this on my other 2 HAP servers) when attempting to login with a user account.
Method is only supported if the user name parameter matches the user name in the current Windows Identity.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Configuration.Provider.ProviderException: Method is only supported if the user name parameter matches the user name in the current Windows Identity.
| An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
|[ProviderException: Method is only supported if the user name parameter matches the user name in the current Windows Identity.] System.Web.Security.WindowsTokenRoleProvider.GetCu rrentWindowsIdentityAndCheckName(String userName) +750 System.Web.Security.WindowsTokenRoleProvider.GetCu rrentTokenAndCheckName(String userName) +49 System.Web.Security.WindowsTokenRoleProvider.GetRo lesForUser(String username) +99 HAP.AD.RoleProvider.GetRolesForUser(String username) +93 System.Web.Security.RolePrincipal.IsInRole(String role) +310 HAP.Web.Default.Page_Load(Object sender, EventArgs e) +702 System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) +25 System.Web.UI.Control.LoadRecursive() +116 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2750 |
Also, I don't know if it's related, but I in order to get the setup.aspx page to work properly, I had to add the EVERYONE group with Modify access to the App_Data folder's permissions. EVEN though the IIS AppPool\HAP WAS specified with proper permissions to the App_Data folder. Maybe the two are related?
IDG Tech News
12th July 2013, 10:13 PM #2
- Rep Power
I ended up just reinstalling HAP from scratch into a new Website within IIS and now its working... weird.
13th July 2013, 12:15 AM #3
Hmm, very odd, glad you sorted it. It may of been a cookie issue.
By atamakosi in forum Windows 7
Last Post: 8th July 2013, 03:00 PM
By MK-2 in forum Internet Related/Filtering/Firewall
Last Post: 3rd June 2010, 12:40 PM
Last Post: 19th September 2008, 12:06 PM
By AnnDroyd in forum MIS Systems
Last Post: 15th January 2008, 02:36 PM
By WithoutMotive in forum Windows
Last Post: 7th September 2007, 12:17 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)