![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is this really working ? here is the error message I am getting, I have this 'FoodMart 2000' DB on OLAP Server OLE DB provider 'MSOLAP' reported an error. [OLE/DB provider returned message: Database 'FoodMart 2000' does not exist.] OLE DB error trace [OLE/DB Provider 'MSOLAP' IDBInitialize::Initialize returned 0x80004005: ]. EXEC sp_addlinkedserver @server='olap_server', @srvproduct='', @provider='MSOLAP', @datasrc='OLAPServer', @catalog='foodmart 2000' go -- MDX in OPENQUERY -- SELECT * FROM OPENQUERY(olap_server, 'SELECT { Time.Year.[1997] } ON COLUMNS, NON EMPTY Store.MEMBERS ON ROWS FROM Sales WHERE ( Product.[Product Category].[Dairy])' ) |
#3
| |||
| |||
|
|
Is this really working ? here is the error message I am getting, I have this 'FoodMart 2000' DB on OLAP Server OLE DB provider 'MSOLAP' reported an error. [OLE/DB provider returned message: Database 'FoodMart 2000' does not exist.] OLE DB error trace [OLE/DB Provider 'MSOLAP' IDBInitialize::Initialize returned 0x80004005: ]. EXEC sp_addlinkedserver @server='olap_server', @srvproduct='', @provider='MSOLAP', @datasrc='OLAPServer', @catalog='foodmart 2000' go -- MDX in OPENQUERY -- SELECT * FROM OPENQUERY(olap_server, 'SELECT { Time.Year.[1997] } ON COLUMNS, NON EMPTY Store.MEMBERS ON ROWS FROM Sales WHERE ( Product.[Product Category].[Dairy])' ) |
#4
| |||
| |||
|
|
Besides the multi-hop problem, another possibiilty would be if Foodmart 2000 did not have an Everyone role; or if there is a permissions problem (i.e. we hide databases if you don't have access to them). -- Dave Wickert [MSFT] dwickert (AT) online (DOT) microsoft.com Program Manager BI SystemsTeam SQL BI Product Unit (Analysis Services) -- This posting is provided "AS IS" with no warranties, and confers no rights. "Kris" <Kris (AT) discussions (DOT) microsoft.com> wrote in message news:A8987716-724A-42CF-A689-A5EE946AB22C (AT) microsoft (DOT) com... Is this really working ? here is the error message I am getting, I have this 'FoodMart 2000' DB on OLAP Server OLE DB provider 'MSOLAP' reported an error. [OLE/DB provider returned message: Database 'FoodMart 2000' does not exist.] OLE DB error trace [OLE/DB Provider 'MSOLAP' IDBInitialize::Initialize returned 0x80004005: ]. EXEC sp_addlinkedserver @server='olap_server', @srvproduct='', @provider='MSOLAP', @datasrc='OLAPServer', @catalog='foodmart 2000' go -- MDX in OPENQUERY -- SELECT * FROM OPENQUERY(olap_server, 'SELECT { Time.Year.[1997] } ON COLUMNS, NON EMPTY Store.MEMBERS ON ROWS FROM Sales WHERE ( Product.[Product Category].[Dairy])' ) |
#5
| |||
| |||
|
|
Dave Thanks for your reply. I am admin on server, so permission is not a problem. I am still having problem. We are heavy OLAP users and I need to get result from OLAP Cube and store into DB, I appercaite your help.. Both link gives me error like page not fould .. OLE DB provider 'MSOLAP.2' reported an error. [OLE/DB provider returned message: Database 'Foodmart 2000' does not exist.] OLE DB error trace [OLE/DB Provider 'MSOLAP.2' IDBInitialize::Initialize returned 0x80004005: ]. Thanks -Kris "Dave Wickert [MSFT]" wrote: Besides the multi-hop problem, another possibiilty would be if Foodmart 2000 did not have an Everyone role; or if there is a permissions problem (i.e. we hide databases if you don't have access to them). -- Dave Wickert [MSFT] dwickert (AT) online (DOT) microsoft.com Program Manager BI SystemsTeam SQL BI Product Unit (Analysis Services) -- This posting is provided "AS IS" with no warranties, and confers no rights. "Kris" <Kris (AT) discussions (DOT) microsoft.com> wrote in message news:A8987716-724A-42CF-A689-A5EE946AB22C (AT) microsoft (DOT) com... Is this really working ? here is the error message I am getting, I have this 'FoodMart 2000' DB on OLAP Server OLE DB provider 'MSOLAP' reported an error. [OLE/DB provider returned message: Database 'FoodMart 2000' does not exist.] OLE DB error trace [OLE/DB Provider 'MSOLAP' IDBInitialize::Initialize returned 0x80004005: ]. EXEC sp_addlinkedserver @server='olap_server', @srvproduct='', @provider='MSOLAP', @datasrc='OLAPServer', @catalog='foodmart 2000' go -- MDX in OPENQUERY -- SELECT * FROM OPENQUERY(olap_server, 'SELECT { Time.Year.[1997] } ON COLUMNS, NON EMPTY Store.MEMBERS ON ROWS FROM Sales WHERE ( Product.[Product Category].[Dairy])' ) |
#6
| |||
| |||
|
|
0x80004005 is "Access is denied". I think this is more of a core OLEDB issue. Are you able to create linked servers with other OLEDB data source? Is everything on the same machine? User issuing the query, SQL RDBMS service and the AS service ? Or different machines? -- Dave Wickert [MSFT] dwickert (AT) online (DOT) microsoft.com Program Manager BI SystemsTeam SQL BI Product Unit (Analysis Services) -- This posting is provided "AS IS" with no warranties, and confers no rights. "Kris" <Kris (AT) discussions (DOT) microsoft.com> wrote in message news:B72EB5CE-5C1C-48B0-AC64-80C4E8DE1144 (AT) microsoft (DOT) com... Dave Thanks for your reply. I am admin on server, so permission is not a problem. I am still having problem. We are heavy OLAP users and I need to get result from OLAP Cube and store into DB, I appercaite your help.. Both link gives me error like page not fould .. OLE DB provider 'MSOLAP.2' reported an error. [OLE/DB provider returned message: Database 'Foodmart 2000' does not exist.] OLE DB error trace [OLE/DB Provider 'MSOLAP.2' IDBInitialize::Initialize returned 0x80004005: ]. Thanks -Kris "Dave Wickert [MSFT]" wrote: Besides the multi-hop problem, another possibiilty would be if Foodmart 2000 did not have an Everyone role; or if there is a permissions problem (i.e. we hide databases if you don't have access to them). -- Dave Wickert [MSFT] dwickert (AT) online (DOT) microsoft.com Program Manager BI SystemsTeam SQL BI Product Unit (Analysis Services) -- This posting is provided "AS IS" with no warranties, and confers no rights. "Kris" <Kris (AT) discussions (DOT) microsoft.com> wrote in message news:A8987716-724A-42CF-A689-A5EE946AB22C (AT) microsoft (DOT) com... Is this really working ? here is the error message I am getting, I have this 'FoodMart 2000' DB on OLAP Server OLE DB provider 'MSOLAP' reported an error. [OLE/DB provider returned message: Database 'FoodMart 2000' does not exist.] OLE DB error trace [OLE/DB Provider 'MSOLAP' IDBInitialize::Initialize returned 0x80004005: ]. EXEC sp_addlinkedserver @server='olap_server', @srvproduct='', @provider='MSOLAP', @datasrc='OLAPServer', @catalog='foodmart 2000' go -- MDX in OPENQUERY -- SELECT * FROM OPENQUERY(olap_server, 'SELECT { Time.Year.[1997] } ON COLUMNS, NON EMPTY Store.MEMBERS ON ROWS FROM Sales WHERE ( Product.[Product Category].[Dairy])' ) |
#7
| |||
| |||
|
|
I have linked server for SQl and I am able to run query. My AS server is on different server. still no luck same error .... Thx. "Dave Wickert [MSFT]" wrote: 0x80004005 is "Access is denied". I think this is more of a core OLEDB issue. Are you able to create linked servers with other OLEDB data source? Is everything on the same machine? User issuing the query, SQL RDBMS service and the AS service ? Or different machines? -- Dave Wickert [MSFT] dwickert (AT) online (DOT) microsoft.com Program Manager BI SystemsTeam SQL BI Product Unit (Analysis Services) -- This posting is provided "AS IS" with no warranties, and confers no rights. "Kris" <Kris (AT) discussions (DOT) microsoft.com> wrote in message news:B72EB5CE-5C1C-48B0-AC64-80C4E8DE1144 (AT) microsoft (DOT) com... Dave Thanks for your reply. I am admin on server, so permission is not a problem. I am still having problem. We are heavy OLAP users and I need to get result from OLAP Cube and store into DB, I appercaite your help.. Both link gives me error like page not fould .. OLE DB provider 'MSOLAP.2' reported an error. [OLE/DB provider returned message: Database 'Foodmart 2000' does not exist.] OLE DB error trace [OLE/DB Provider 'MSOLAP.2' IDBInitialize::Initialize returned 0x80004005: ]. Thanks -Kris "Dave Wickert [MSFT]" wrote: Besides the multi-hop problem, another possibiilty would be if Foodmart 2000 did not have an Everyone role; or if there is a permissions problem (i.e. we hide databases if you don't have access to them). -- Dave Wickert [MSFT] dwickert (AT) online (DOT) microsoft.com Program Manager BI SystemsTeam SQL BI Product Unit (Analysis Services) -- This posting is provided "AS IS" with no warranties, and confers no rights. "Kris" <Kris (AT) discussions (DOT) microsoft.com> wrote in message news:A8987716-724A-42CF-A689-A5EE946AB22C (AT) microsoft (DOT) com... Is this really working ? here is the error message I am getting, I have this 'FoodMart 2000' DB on OLAP Server OLE DB provider 'MSOLAP' reported an error. [OLE/DB provider returned message: Database 'FoodMart 2000' does not exist.] OLE DB error trace [OLE/DB Provider 'MSOLAP' IDBInitialize::Initialize returned 0x80004005: ]. EXEC sp_addlinkedserver @server='olap_server', @srvproduct='', @provider='MSOLAP', @datasrc='OLAPServer', @catalog='foodmart 2000' go -- MDX in OPENQUERY -- SELECT * FROM OPENQUERY(olap_server, 'SELECT { Time.Year.[1997] } ON COLUMNS, NON EMPTY Store.MEMBERS ON ROWS FROM Sales WHERE ( Product.[Product Category].[Dairy])' ) |
#8
| |||
| |||
|
|
Ok. So AS is on one computer and the SQL RDBMS is on a different computer. Two questions: 1) Where are you running the query? On the SQL RDMS itself or from a separate workstation? Please try it from the SQL RDMS server itself. 2) Also, is the service account for SQL Server a domain account which has permissions to access FoodMart? -- Dave Wickert [MSFT] dwickert (AT) online (DOT) microsoft.com Program Manager BI Systems Team SQL BI Product Unit (Analysis Services) -- This posting is provided "AS IS" with no warranties, and confers no rights. "Kris" <Kris (AT) discussions (DOT) microsoft.com> wrote in message news:753A69C4-0E82-4FE2-A776-8C0FFE019958 (AT) microsoft (DOT) com... I have linked server for SQl and I am able to run query. My AS server is on different server. still no luck same error .... Thx. "Dave Wickert [MSFT]" wrote: 0x80004005 is "Access is denied". I think this is more of a core OLEDB issue. Are you able to create linked servers with other OLEDB data source? Is everything on the same machine? User issuing the query, SQL RDBMS service and the AS service ? Or different machines? -- Dave Wickert [MSFT] dwickert (AT) online (DOT) microsoft.com Program Manager BI SystemsTeam SQL BI Product Unit (Analysis Services) -- This posting is provided "AS IS" with no warranties, and confers no rights. "Kris" <Kris (AT) discussions (DOT) microsoft.com> wrote in message news:B72EB5CE-5C1C-48B0-AC64-80C4E8DE1144 (AT) microsoft (DOT) com... Dave Thanks for your reply. I am admin on server, so permission is not a problem. I am still having problem. We are heavy OLAP users and I need to get result from OLAP Cube and store into DB, I appercaite your help.. Both link gives me error like page not fould .. OLE DB provider 'MSOLAP.2' reported an error. [OLE/DB provider returned message: Database 'Foodmart 2000' does not exist.] OLE DB error trace [OLE/DB Provider 'MSOLAP.2' IDBInitialize::Initialize returned 0x80004005: ]. Thanks -Kris "Dave Wickert [MSFT]" wrote: Besides the multi-hop problem, another possibiilty would be if Foodmart 2000 did not have an Everyone role; or if there is a permissions problem (i.e. we hide databases if you don't have access to them). -- Dave Wickert [MSFT] dwickert (AT) online (DOT) microsoft.com Program Manager BI SystemsTeam SQL BI Product Unit (Analysis Services) -- This posting is provided "AS IS" with no warranties, and confers no rights. "Kris" <Kris (AT) discussions (DOT) microsoft.com> wrote in message news:A8987716-724A-42CF-A689-A5EE946AB22C (AT) microsoft (DOT) com... Is this really working ? here is the error message I am getting, I have this 'FoodMart 2000' DB on OLAP Server OLE DB provider 'MSOLAP' reported an error. [OLE/DB provider returned message: Database 'FoodMart 2000' does not exist.] OLE DB error trace [OLE/DB Provider 'MSOLAP' IDBInitialize::Initialize returned 0x80004005: ]. EXEC sp_addlinkedserver @server='olap_server', @srvproduct='', @provider='MSOLAP', @datasrc='OLAPServer', @catalog='foodmart 2000' go -- MDX in OPENQUERY -- SELECT * FROM OPENQUERY(olap_server, 'SELECT { Time.Year.[1997] } ON COLUMNS, NON EMPTY Store.MEMBERS ON ROWS FROM Sales WHERE ( Product.[Product Category].[Dairy])' ) |
#9
| |||
| |||
|
|
Is this really working ? here is the error message I am getting, I have this 'FoodMart 2000' DB on OLAP Server OLE DB provider 'MSOLAP' reported an error. [OLE/DB provider returned message: Database 'FoodMart 2000' does not exist.] OLE DB error trace [OLE/DB Provider 'MSOLAP' IDBInitialize::Initialize returned 0x80004005: ]. EXEC sp_addlinkedserver @server='olap_server', @srvproduct='', @provider='MSOLAP', @datasrc='OLAPServer', @catalog='foodmart 2000' go -- MDX in OPENQUERY -- SELECT * FROM OPENQUERY(olap_server, 'SELECT { Time.Year.[1997] } ON COLUMNS, NON EMPTY Store.MEMBERS ON ROWS FROM Sales WHERE ( Product.[Product Category].[Dairy])' ) |
![]() |
| Thread Tools | |
| Display Modes | |
| |