Jump to content

amarshall

Members
  • Posts

    5
  • Joined

  • Last visited

Reputation

0 Neutral

About amarshall

  1. I have got HAP working absolutely fine for all users who login, however the issue occurs if an incorrect username (not password) is entered. When someone enters an incorrect username they get the below error message, how can I fix this? [h=1]Server Error in '/HAP' Application.[/h][h=2]Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index[/h]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.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Source Error: [TABLE=width: 100%] [TR] [TD]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.[/TD] [/TR] [/TABLE] Stack Trace: [TABLE=width: 100%] [TR] [TD][ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index] System.Collections.ArrayList.get_Item(Int32 index) +14310269 System.DirectoryServices.SearchResultCollection.get_Item(Int32 index) +28 HAP.AD.User.UserAccountControl(String username) +146 HAP.Web.Login.login_Click(Object sender, EventArgs e) +1009 System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +153 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804 [/TD] [/TR] [/TABLE] Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009
  2. Hi, I have decided to install on a different server which is now our dedicated web server. I have followed the instructions for Installing on IIS 6, I become a bit suck at the certificate section having never used certificates in IIS before. First how do I get a certificate and second do I need 1 to 1 or many to 1 mappings??
  3. I will try it on Monday when I am back in work and let you know, thanks for the advice!
  4. Thanks for your reply, yes I changed it to the local machine and then typed IIS AppPool\HAP I got the error to say there was no such user. This is the same as when I tried to add to folder security, the only way I could add it into the security on the folder was to use icacls from the command line, is there any way of doing this within the registry?
  5. I have the same error when trying to save, I cannot add the IIS AppPool\HAP user to the registry as it does not show up when trying to add it, to add the HAP user to the folder I used icacls, is there a similar of doing this for the registry?
×
×
  • Create New...