Solved

NotesSQL Connect String Password

Posted on 2006-06-13
2
796 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Lotus Notes 41 202
Lotus Notes and VMWare require a double-click 22 1,397
Lotus notes email code 6 115
Permanent Lotus Notes Connection for all users in a Domino Domain 15 108
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…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
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…

822 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