Hi, I just installed Home Access Plus on IIS 7 with .net 4.5. When I go to login on an Active Directory account i get this error.
[color=#000000][font=Verdana][b]Server Error in '/' Application.[hr][/b]
[b][i]Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index[/i][/b]
[/font][/color][font=Arial][color=#000000][b]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.
[b]Exception Details: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
[b]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]
[b]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) +10689020
System.DirectoryServices.SearchResultCollection.get_Item(Int32 index) +22
HAP.AD.User.UserAccountControl(String username) +103
HAP.Web.Login.login_Click(Object sender, EventArgs e) +766
System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +116
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +101
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +9671830
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724[/TD]
[/TR]
[/TABLE]
[hr][b]Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34237[/b][/b][/b][/b][/b][/color][/font]