473,382 Members | 1,290 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Code Not Working

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.


Jul 22 '05 #1
1 1160
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" <dv**@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
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.

Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

171
by: tshad | last post by:
I am just trying to decide whether to split my code and uses code behind. I did it with one of my pages and found it was quite a bit of trouble. I know that most people (and books and articles)...
17
by: tshad | last post by:
Many (if not most) have said that code-behind is best if working in teams - which does seem logical. How do you deal with the flow of the work? I have someone who is good at designing, but...
0
by: George2 | last post by:
Hello everyone, From the definition of working set, it is a subset of virtual pages resident in physical memory -- from book Windows Internals. It means working set could not be larger than...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.