Solved

NotesSQL Connect String Password

Posted on 2006-06-13
2
799 Views
Last Modified: 2013-12-18
Hello Notes Experts,

We inherited a web application written in standard ASP. It has a feature where it looks up people in a Lotus notes Address book. It uses a Notes SQL driver. The connect string looks like this:

Session("ConnectString") = "DRIVER=Lotus NotesSQL Driver (*.nsf);ThreadTimeout=60;MapSpecialChars=1;ShowImplicitFlds=0;MaxLongVarcharLen=8000;KeepTempIdx=1;MaxVarcharLen=8000;MaxRels=20;MaxStmtLen=4096;MaxSubquery=20;EncryptPWD=6CB49EE0E531A4FECD563C06A9D397CEC606549D56A4553142482149F3E40838A874775A;UserName=John Doe/ACME;Server=Galileo/ACME;Database=names.nsf;"

We want to change the user in the connect string because he is no longer here. The question I have is where do you get the EncryptPWD string shown above? I am not a Notes developer and need help with this.

Thanks.
0
Comment
Question by:fperugini
2 Comments
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 16894661
It may be easier to convert this into an LDAP request to the Domino server...
0
 
LVL 3

Accepted Solution

by:
NARoberts earned 250 total points
ID: 16895908
We use notesSQL too.  I'm setup different though.  We have DSN defined on the server then access them by code.  Hides more of the info so you don't have to encrypt the password. Maybe that would be easier?

<%
      Dim Connection
      Dim RS
      Dim SQLStmt
      Set Connection = Server.CreateObject("ADODB.Connection")
      Connection.Open "DSN=NotesTelephon;"
      SQLStmt = "SELECT * FROM FullView"
                Set RS = Connection.Execute(SQLStmt)
%>
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question