Active Directory time limit
-
hello, my web app use DirectoryServices to query Active Directory. On customer side i'm getting following error: The time limit for this request was exceeded. This error appears ~2 minutes (~120 s) after method FindAll() had been launched. Google this error description i found:
Active directory queies can take a bit of time to process so you may have to extend the time available from the default. You can do this by adding a section to the web.config file with an executionTimeout attribute. Take a look at
http://msdn2.microsoft.com/en-us/library/e1f13641.aspxdefault value for executionTimeout attribute is 110 seconds. So it seems my error appears because of timeout. BUT customer says - other LDAP tools didn't produce such error, and find objects quickly. So, why is my search too sloooooooow?
thanks, max
-
hello, my web app use DirectoryServices to query Active Directory. On customer side i'm getting following error: The time limit for this request was exceeded. This error appears ~2 minutes (~120 s) after method FindAll() had been launched. Google this error description i found:
Active directory queies can take a bit of time to process so you may have to extend the time available from the default. You can do this by adding a section to the web.config file with an executionTimeout attribute. Take a look at
http://msdn2.microsoft.com/en-us/library/e1f13641.aspxdefault value for executionTimeout attribute is 110 seconds. So it seems my error appears because of timeout. BUT customer says - other LDAP tools didn't produce such error, and find objects quickly. So, why is my search too sloooooooow?
thanks, max
What OS? When I wrote some LDAP code on Windows 2000 using COM a while ago it was blazing. Then I executing the same thing on XP and it would take about 10 minutes. I never did figure out the problem.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway -
What OS? When I wrote some LDAP code on Windows 2000 using COM a while ago it was blazing. Then I executing the same thing on XP and it would take about 10 minutes. I never did figure out the problem.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest HemingwayI don't know exactly but I suppose Win 2003
thanks, max