Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Active Directory time limit

Active Directory time limit

Scheduled Pinned Locked Moved C#
databasecomwindows-adminsalestools
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    robot_rock
    wrote on last edited by
    #1

    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.aspx

    default 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

    E 1 Reply Last reply
    0
    • R robot_rock

      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.aspx

      default 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

      E Offline
      E Offline
      Ennis Ray Lynch Jr
      wrote on last edited by
      #2

      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

      R 1 Reply Last reply
      0
      • E Ennis Ray Lynch Jr

        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

        R Offline
        R Offline
        robot_rock
        wrote on last edited by
        #3

        I don't know exactly but I suppose Win 2003

        thanks, max

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups