Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Im trying to connect to a sqlserver using this: MyConnObj.Open _ "Provider = sqloledb;" & _ "Data Source={ServerName};" & _ "Initial Catalog={DatabaseName};" & _ "User ID={UserName};" & _ "Password={Password};" But I am getting an error message: Run-time error '-2147467259 (80004005)': [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied I have got a System DSN which does connect to the database successfully. It is using standard SQL server connection. If i could supply the system DSN Im sure it would work? Please help Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Connecting to SQL Server table | Excel Programming | |||
connecting to back end server | Excel Discussion (Misc queries) | |||
Connecting Excel, Access and SQL Server | Excel Programming | |||
adodb connecting to a server issues | Excel Programming | |||
Excel Connecting to SQL Server Database - Need your Help | Excel Programming |