Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Rikkimaru

    Example of ASP LDAP query string?

    Hello...I just wanted to ressurect this post to ask you all (or anyone else) who has gotten this code working what version of MDAC they use. The MDAC version can be found here: C:\Program Files\Common Files\System\ADO\MDACReadMe.htm (this location and file may vary slightly) Code of this...
  2. Rikkimaru

    How do I display the results of a query to the global catalog in AD?

    Hello again. I should have mentioned earlier that this code runs on my workstation which runs Windows XP Pro. However all these issues that I've been having happen when I'm using windows 2k Server. I assumed that since I was new to ASP it was a problem with my code but I've found a new...
  3. Rikkimaru

    How do I display the results of a query to the global catalog in AD?

    Thanks tsuji and JSpicolli for the ideas and support. I've been kept busy doing some other things, but I'm back and ready to tear my hair out again. [http://www.tipmaster.com/images/smiletiniest.gif] I've tried displaying the individual fields but that doesn't work either... Interestingly...
  4. Rikkimaru

    How do I display the results of a query to the global catalog in AD?

    Still not working... *sigh* What could I be doing wrong? In my last post I noted the difference in when I used ".value". I managed to learn a bit about VBScript in the process and understand that the variant datatype is a parent datatype and all other datatypes are sub types of this. I...
  5. Rikkimaru

    How do I display the results of a query to the global catalog in AD?

    Ahhhhhhhhhhhhhhhhhhhhhhhh... Many thanks tsuji. It becomes clear and now I am getting something. What I've found interesting is that a line like lastname = Typename(objADORecordset.Fields("xxx")) Response.Write(lastname) returns a "Field" datatype (surprise surprise) but a line like lastname =...
  6. Rikkimaru

    How do I display the results of a query to the global catalog in AD?

    So tsuji, are you saying that I should try something like: StrDisplayLine = String(objADORecordset.Fields("sn").value) Is that right? I'll test it out, but let me know if I did something wrong. Thanks
  7. Rikkimaru

    How do I display the results of a query to the global catalog in AD?

    Thanks for the ideas guys. Let me clear up some stuff for tsuji first: Ok...well, I edited my code for the sake of brevity, so the code extracting the phone numbers etc isn't there. I should have stated that though I'm guessing you're referring to my statement in the first post "For the most...
  8. Rikkimaru

    Trubble getting data from a LDAP

    Provider error '80040e37' Table does not exist. /phonebook/includes/test.asp, line 27 I get that error as well. I've gone a different route from RoKKos, so here's my code. <% Dim strName strName = "(sn=T*)" ' Create ADO connection using the ADSI OLE DB provider Dim objADOConnection...
  9. Rikkimaru

    ADSI

    I have isgten's problem. There is an error at the "execute" command I've heardn that it could be an IIS configuration problem. Has anyone figured this out? Thanks a lot, Rikki
  10. Rikkimaru

    How do I display the results of a query to the global catalog in AD?

    Thanks for the replies FesterSXS and tsuji. But I think you misunderstood my question (or I didn't ask properly). When I query the number of people whose name starts with "Z" for example, I know that the query executes properly because I see the correct number of rows returned in the...
  11. Rikkimaru

    How do I display the results of a query to the global catalog in AD?

    hello. I'm working on an ASP page that queries the Global Catalog of Active Directory for domain names and phone numbers. For the most part, the script works and gets the result set. My problem comes in displaying the records in asp. Here is the error message i get: Response object error 'ASP...
  12. Rikkimaru

    Is is possible to identify a remote user by ip address using ASP?

    I'm running an ASP application on IIS 5.0 which needs to have "Anonymous Access" turned on. I have a page that determines the network user using ASP's server variables (http://www.tek-tips.com/viewthread.cfm?qid=1017375)but IIS' "anonymous" settings makes those variables like REMOTE_USER and...
  13. Rikkimaru

    Pulling Active Directory Info into ASP

    Thanks for the help K0b3 Here's what I came up with on my own though... This isn't the complete code, but it is the section I was having trouble with. In addition to this, I turned Anonymous Authentification off and turned Windows Authentification on in IIS. It works fine right now except for...
  14. Rikkimaru

    Pulling Active Directory Info into ASP

    I have an interesting challenge. I'm working with an application that currently allows users to log in, validate themselves via username and password located in a database and then change user-specific details. I have windows machines on my network. Is there a way to pull windows active...
  15. Rikkimaru

    How can I retrieve and update database data in the same form?

    Thanks for the help guys. I'll try some of the stuff you mentioned.
  16. Rikkimaru

    How can I retrieve and update database data in the same form?

    Hello Everyone. I'm two weeks old to ASP and doing a little project to learn. My challenge is that I need to retrieve some information from a database. This information will be displayed inside text boxes. These text boxes will be within a form where the user can edit the information and click...

Part and Inventory Search

Back
Top