Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SQL connection

Author  Topic 

shajimanjeri
Posting Yak Master

179 Posts

Posted - 2007-03-24 : 07:28:45

I am trying to connect to SQL2000 server by using with out DSN. But it showing an error.
Error Type:
Microsoft OLE DB Service Components (0x80040E73)
Format of the initialization string does not conform to the OLE DB specification. What does it mean?

This is the string I wrote to connect ot sql2000:
Dim con
Set con = Server.CreateObject("ADODB.Connection")
con="DRIVER={SQL Server} SERVER=servername
UID=
PWD=
DATABASE=
con.open con"

Here what is mean by UserId (UID) and PWD?

Please help me

Shaji

Easwar
Yak Posting Veteran

59 Posts

Posted - 2007-03-24 : 07:52:06
UID Means when was you install SQLSERVER2000 into your System,That time asked UID & PWD.. UID default value is sa in SQLSERVER2000.
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-03-24 : 09:36:37
www.connectionstrings.com


Peter Larsson
Helsingborg, Sweden
Go to Top of Page
   

- Advertisement -