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

This is what I am getting when tryi

Status
Not open for further replies.

RPredrag

ISP
Feb 18, 2002
14
US
This is what I am getting when trying to connect to olap database from an asp page:

ADODB.Connection error '800a0e7a'

Provider cannot be found. It may not be properly installed.

/Olap/Default.asp, line 4


This is peace of code I want to connect to:


<Language=VBScript>
<%
set cn = Server.CreateObject(&quot;ADODB.Connection&quot;)
cn.Open &quot;Provider=msolap;Data Source=Solomon&quot;
cn.defaultdatabase = &quot;Foodmart&quot;
%>


I also installed latest Microsoft MDAC 2.7 version.
Any one has any idea why I am getting this error and is there any way around this.

Thanks a lot
 
Hi, RPredrag!

Use ADOMD and not ADODB, using the next syntax:
Dim l_oCellSet As ADOMD.Cellset
l_oCellSet.Open <<yourQuery>>, <<yourConnectionString>>

Issahar
senior software engineer
Israel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top