dbTalk Databases Forums  

Error 80004005 connecting to cube from ASP page

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Error 80004005 connecting to cube from ASP page in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Andrea Worley
 
Posts: n/a

Default Error 80004005 connecting to cube from ASP page - 03-01-2004 , 04:11 PM






We just moved our database to a new server with a new name, got rid of the old server, and renamed the new server the same as the old one. I use the code below to display MDX statements on an asp page and since the switch over it displays the error

Microsoft® OLE DB Provider for Analysis Services error '80004005'
Database 'MyDatabaseName' does not exist.

Set cat = Server.CreateObject("ADOMD.Catalog"
Set cst = Server.CreateObject("ADOMD.CellSet"
cat.ActiveConnection = "Data Source=MyServerName;Initial Catalog=MyDatabaseName;Provider=msolap;

The database is there and SQLServer is set up for mixed mode authentication. Anybody have any other ideas? Thank you



Reply With Quote
  #2  
Old   
Brian Foree
 
Posts: n/a

Default Re: Error 80004005 connecting to cube from ASP page - 04-22-2004 , 04:15 PM






I got the same message when I first tried connecting to an OLAP cube from
ASP, and was able to solve it by creating a role in the cube that gave the
appropriate people rights to view the cube. I hope this helps solve your
problem, if you haven't already solved it.

--Brian Foree


"Andrea Worley" <k_rage (AT) hotmail (DOT) com> wrote

Quote:
We just moved our database to a new server with a new name, got rid of the
old server, and renamed the new server the same as the old one. I use the
code below to display MDX statements on an asp page and since the switch
over it displays the error:
Quote:
Microsoft® OLE DB Provider for Analysis Services error '80004005'
Database 'MyDatabaseName' does not exist.

Set cat = Server.CreateObject("ADOMD.Catalog")
Set cst = Server.CreateObject("ADOMD.CellSet")
cat.ActiveConnection = "Data Source=MyServerName;Initial
Catalog=MyDatabaseName;Provider=msolap;"

The database is there and SQLServer is set up for mixed mode
authentication. Anybody have any other ideas? Thank you.





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.