Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 13th, 2004, 06:03 PM
Registered User
 
Join Date: May 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem connecting to OLAP cube via ASP

I'm getting the following error when trying to use ADO to connect to an OLAP Cube:
Library not registered

It is pointing to the line:
Server.CreateObject(ADOMD.CATALOG)

I'm using SQL2000 with Analysis Services.
I can connect to the Cube directly via Excel but not through ASP.
I've installed SP3 on SQL and Analaysis Services. This has fixed the problem on other Servers, but not on this one...
Any ideas?

 
Old February 14th, 2007, 09:17 AM
Registered User
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well i hope it is helpful to u or some body else....its all about to connect sql analysis server2000 with .Net.....Love .Net And Enjoy...and one thing more i do not visit this site too much so if u have any question about this code so just send me mail on [email protected]ks and Enjoy....

Dim conSelServer As New ADODB.Connection
        Dim rsDatabases As ADODB.Recordset
        Dim strConnection As String


conSelServer = New ADODB.Connection


strConnection = System.Configuration.ConfigurationManager.AppSetti ngs("olapprovider") & strServer & ";Integrated Security='SSPI';"


Try
            conSelServer.Open(strConnection)
            rsDatabases = conSelServer.OpenSchema(ADODB.SchemaEnum.adSchemaC atalogs)

Your app settings should look like this..
<appSettings>
        <add key="olapprovider" value="Provider=MSOLAP.2;Data Source="/>
        <add key="olapprov" value="MSOLAP.2"/>
    </appSettings>
well...





Similar Threads
Thread Thread Starter Forum Replies Last Post
olap + reporting servcies problem roy_mm Reporting Services 0 February 19th, 2007 11:07 AM
How can i generate report from OLAP cube manoj_k79 Classic ASP Basics 0 January 25th, 2007 12:42 AM
OLAP Cube question Frank79 SQL Language 1 November 3rd, 2004 03:50 PM
problem with connecting asp with ms-access2000 ravinkumar Classic ASP Databases 2 September 12th, 2003 05:23 AM
display data from cube in ASP pkgal79 Classic ASP Databases 0 August 22nd, 2003 02:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.