ADOMD.Connection error
- From: Koni <kkogan@xxxxxxxxxx>
- Date: Mon, 22 Jan 2007 18:17:41 -0600
We are getting this error: 'ADODB.Connection: Provider is not specified and there is no designated default provider' on a 64 bit machine with both Sql 2K 32bit and Sql 2K5 64bit installed. It happens from Vbscript that backs up our Olap databases. The script (below) works fine on a 32 bit server with Sql 2K installed.
Function QueryDatabaseList()
Dim oConnectionServer
Dim oRS
Dim arrDatabase
Set oConnectionServer =CreateObject("ADODB.Connection")
oConnectionServer.ConnectionString = "Data Source=" & ServerName & "; Provider=MSOLAP.2"
oConnectionServer.Open
Set oRS = oConnectionServer.OpenSchema(adSchemaCatalogs)
arrDatabase = oRs.GetRows
oConnectionServer.Close
Set oConnectionServer = Nothing
QueryDatabaseList = arrDatabase
End Function
I am pretty sure the problem has to do with the fact that the right driver can not be found. But which one???
Thanks in advance,
Koni.
.
- Prev by Date: Re: Source Safe Integration W Analysis Services Crashing
- Next by Date: attn: gabrielle - highly tempting finances - pofna jurte wed - (1/1)
- Previous by thread: Re: Source Safe Integration W Analysis Services Crashing
- Next by thread: attn: gabrielle - highly tempting finances - pofna jurte wed - (1/1)
- Index(es):
Relevant Pages
|