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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pointing to wrong db - but the connection is correct

Status
Not open for further replies.

specialist

Programmer
Sep 7, 2001
50
US
greetings-

I am trying to define a DSN-less database connection with a connection string but appear to be getting a different database with a similar name. I check the string and everything looks fine (string below). It is pointing the the correct DB, but displaying info and contents from another DB.

<%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' DesigntimeType="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
Dim MM_DB_ONE_STRING
MM_OPINTEL_MLCPAC_STRING = "Provider=SQLOLEDB;Data Source=correctSource;"&_"Database=correctDB;User ID=myID;Password=myPW"
%>


has anyone else had this issue? any suggestions on a solution?

many thanks in advance!

michael
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top