Environment Description:Windows Server 2008 Standard (x64).NET Framework 4 (x64)IIS Setting - Enable 32-Bit Applications = TrueWindows Domain Controller (x86)The ASP.NET application works fine using the ActiveDirectoryMembershipProvider for Authentication when the IIS just startup. However, after running for about 3-4 hours, OverflowException was thrown with the following StackTrace.System.OverflowException: Arithmetic operation resulted in an overflow. atSystem.DirectoryServices.SearchResultCollection.ResultsEnumerator.GetCurrentResult() atSystem.DirectoryServices.SearchResultCollection.ResultsEnumerator.get_Current() atSystem.DirectoryServices.SearchResultCollection.ResultsEnumerator.System.Collections.IEnumerator.get_Current() atSystem.DirectoryServices.DirectorySearcher.FindOne() atSystem.Web.Security.ActiveDirectoryMembershipProvider.FindUser(DirectoryEntry containerEntry, String filter, SearchScope searchScope, Boolean retrieveSAMAccountName, DirectoryEntry& userEntry, Boolean& resetBadPasswordAnswerAttributes, String& sAMAccountName) atSystem.Web.Security.ActiveDirectoryMembershipProvider.FindUser(DirectoryEntry containerEntry, String filter, DirectoryEntry& userEntry, Boolean& resetBadPasswordAnswerAttributes) atSystem.Web.Security.ActiveDirectoryMembershipProvider.GetUser(String username, Boolean userlsOnline) atSystem.Web.Security.Membership.GetUser(String username, Boolean userlsOnline) atxxx.Web.btnLogin_Click(Object sender, EventArgs e) in ???:line ???The only way I can resolve this problem is to recycle the IIS process.Once recycled the process, the ASP.NET application work fine again for another 3-4 hours.Any permanent solution?
Visual Studio/Team Foundation Server/.NET Framework Tooling Version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...