Code Not Working

Discussion in 'ASP General' started by dthmtlgod, Apr 25, 2005.

  1. dthmtlgod

    dthmtlgod Guest

    OK. Here is my problem. My webserver was running Windows XP professional.
    The below code worked as it should, it provided me with the user name.

    Set Sys = CreateObject("ADSystemInfo")
    Set User = GetObject("LDAP://" & sys.UserName)
    userEmail = user.mail
    userFname = user.givenname
    userLname = user.sn
    userFullName = (user.givenname & " " & user.sn)

    Well the website out grew the 10 user limit and we had to move the site out
    to a web farm in home office. None of the LDAP queries are working.
    Running Windows 2000 and IIS 5. I can't figure out why. Is there a setting
    I am missing? Any assistance is much appreciated.
    dthmtlgod, Apr 25, 2005
    #1
    1. Advertising

  2. dthmtlgod

    Mark Schupp Guest

    What does "not working" mean (any error messages, disable error traps if
    necessary)?
    Is the web-farm part of the domain?
    Does the IUSR account on the web-farm have access rights to active
    directory?

    --
    Mark Schupp
    Head of Development
    Integrity eLearning
    www.ielearning.com


    "dthmtlgod" <> wrote in message
    news:%...
    > OK. Here is my problem. My webserver was running Windows XP

    professional.
    > The below code worked as it should, it provided me with the user name.
    >
    > Set Sys = CreateObject("ADSystemInfo")
    > Set User = GetObject("LDAP://" & sys.UserName)
    > userEmail = user.mail
    > userFname = user.givenname
    > userLname = user.sn
    > userFullName = (user.givenname & " " & user.sn)
    >
    > Well the website out grew the 10 user limit and we had to move the site

    out
    > to a web farm in home office. None of the LDAP queries are working.
    > Running Windows 2000 and IIS 5. I can't figure out why. Is there a

    setting
    > I am missing? Any assistance is much appreciated.
    >
    >
    >
    >
    Mark Schupp, Apr 25, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ratman
    Replies:
    0
    Views:
    642
    Ratman
    Sep 14, 2004
  2. Martin Heuckeroth
    Replies:
    5
    Views:
    666
    JiangZemin
    Apr 1, 2005
  3. jason
    Replies:
    4
    Views:
    2,634
    jason
    Jun 2, 2005
  4. Alan Silver
    Replies:
    1
    Views:
    3,751
    Alan Silver
    Aug 2, 2005
  5. gaurav tyagi
    Replies:
    14
    Views:
    1,304
    gaurav tyagi
    Jan 20, 2006
Loading...

Share This Page