Advertisement

10.16.2007 at 11:39AM PDT, ID: 22897028
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.0

Query active directory groups is suddenly very slow

Asked by frodoman in WebApplications, Windows 2003 Server, Active Directory

Tags: , , , ,

We have a single web page that queries active directory to identify the group(s) to which a user belongs.  This page has worked fine for several years and suddenly today the page load time has gone from 1-2 seconds up to 15-20 seconds.  I've traced the execution of this page and the slowdown is in the part that queries active directory.

To the best of my knowledge nothing has changed on either the domain controller nor the web server.  The web server is Win2003 and the domain controller is Win2000.  Site traffic is within normal patterns.  All other applications on the web server are functioning normally (none use Active Directory though).  Direct activities on the domain controller (adding a user for example) don't exhibit any delay in response time.  Nothing in the event logs on either server that indicate a problem.

I'm looking for ANY suggestions where to look to resolve this problem.  The page in question is the frontend portal for all of our web apps so a 20 second load time is unacceptable.

If it helps, the code where the slowdown occurs is as follows (this is classic ASP):

  m_LogonUser = Request.ServerVariables("LOGON_USER")
  Set objUser = GetObject("WinNT://ourdomain.com/" & m_LogonUser)
      
  for each Group in objUser.Groups
    nNextElement = cint(nLastElement) + 1
    redim preserve sGroupArray(nNextElement)
    sGroupArray(nNextElement) = Group.Name
  next
Start Free Trial
 
Loading Advertisement...
 
[+][-]10.16.2007 at 12:24PM PDT, ID: 20088257

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.16.2007 at 12:34PM PDT, ID: 20088333

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.16.2007 at 12:46PM PDT, ID: 20088416

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.16.2007 at 01:00PM PDT, ID: 20088533

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.16.2007 at 01:14PM PDT, ID: 20088660

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.16.2007 at 01:15PM PDT, ID: 20088667

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.16.2007 at 01:17PM PDT, ID: 20088676

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.16.2007 at 01:19PM PDT, ID: 20088692

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: WebApplications, Windows 2003 Server, Active Directory
Tags: directory, active, query, slow, groups
Sign Up Now!
Solution Provided By: MSE-dwells
Participating Experts: 1
Solution Grade: A
 
 
[+][-]10.16.2007 at 03:20PM PDT, ID: 20089544

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_1_20070628