background preloader

System Error Codes

Facebook Twitter

System Error Codes (1000-1299) Note The information on this page is intended to be used by programmers so that the software they write can better deal with errors.

System Error Codes (1000-1299)

If you are an end-user that is experiencing difficulty with an application you are installing or running, contact customer support for the software that is displaying the error message. To obtain support for a Microsoft product, go to The System Error Codes are very broad. Each one can occur in one of many hundreds of locations in the system. 1001 (0x3E9) Recursion too deep; the stack overflowed. 1002 (0x3EA) Single sign on - How to build LDAP integration for my web app? C# - UserPrincipal GetUnderlyingObject: properties missing. BeaverTail ADSI Browser. Download my freeware and open-source BeaverTail ADSI Browser, written in C#.

BeaverTail ADSI Browser

You may peek at the code, see how things are done, and incorporate that code and knowledge into your own projects at your discretion. All I'm asking is that you do not sell the source code and / or the final application under your own name, charging people for it claim it were your code and / or your application System requirements .NET framework runtime, version 1.1 (if you don't have it yet, get it from here) Windows 2000 or Windows XP Pro on your client computer Active Directory running on Windows 2000 or Windows 2003 Server Downloads Current application version: 0.9.0 - BeaverTail_090.zip To install, just copy the three files contained in the ZIP archive to a directory of your choice - no complicated install, no registration of any DLL's or OCX's needed - that's the beauty of .NET! Source code for version 0.9.0 - BeaverTail_090_source.zip Why BeaverTail? Feedback If you have any feedback, please do let me know! LDAP query for maxPwdAge of an OU, not the Domain.

I've never scripted anything before, so please excuse my ignorance!

LDAP query for maxPwdAge of an OU, not the Domain

Using Listing 6 from I have amended the script for my domain, and the response is correct for the Default Domain Policy. However we have a different password policy for an OU within the domain, so I amended the script as follows: Set objDomian = GetObject(" Test,OU=Departments,DC=fabrikam,DC=com") Set objMaxPwdAge = objDomain.Get("maxPwdAge") If objMaxPwdAge.LowPart = 0 Then WScript.Echo "The Maximum Password Age is set to 0 in the " & _ "domain.

Therefore, the password does not expire. " DirectoryEntry.RefreshCache() issue with large multi valued attributes. Hi Everyone.

DirectoryEntry.RefreshCache() issue with large multi valued attributes

I have a C# webservice developed that works 99% of the time. The web service returns data about Active Directory groups. Several of our groups have 1000+ members so the Active Directory limit of returning 1000 items for multi-valued attributes has been an issue we dealt with before. The problem is, I have one group that has more than 1000 users in it and the code executes to get the first 1000 just fine, but when I try to retrieve the next 1000 I'm getting the error: System.DirectoryServices.DirectoryServicesCOMException: An operations error occurred.

Very descriptive I know, kind of like .NET just saying, "oops, something went wrong". DirectoryEntry ent = new DirectoryEntry(__searchRoot); DirectorySearcher srch = new System.DirectoryServices.DirectorySearcher(ent, __searchFilter); Maggie Valley NC / Lodging Hotels Cabins Rentals Real Estate in North Carolina. Arithmetic operation resulted in an overflow. at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.GetCurrentResult() We have been getting this issue for the past couple of days.

Arithmetic operation resulted in an overflow. at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.GetCurrentResult()

The framework of the application has been recently updated from .net 1.1 to 4.0 without any code changes, just a framework update. The hosting environment is also updated from Windows 2003 to 2008 R2 64 bit. We did not get any exception for couple of days and then started this problem. An IIS reset with Application Pool recycle fixes the problem, but this is happening pretty frequently. Here are the exception details: Please let us know if any additional information needed. Thanks, Prasad Kadrikar.