PowerPivot for Excel failed to connect MSOLAP - ssas

Am trying to connect SQL Server Analysis Services from PowerPivot for Excel. This was working fine and if I use existing connections it works fine. But when I try to create a new connection throw an error as below:
Failed to connect to the Server. Reason 'MSOLAP' provider is not registered on the local machine.
Version of SQL Sever am using is 2012.
Any clues?

Looks like you are missing "Microsoft® Analysis Services OLE DB Provider for Microsoft® SQL Server®"
You should be able to find the component if you search for "Microsoft® SQL Server® Feature Pack" (SQL 2012 version (MSOLAP.5) here) - you then need to expand the "Install Instructions" section to find the "Microsoft® Analysis Services OLE DB Provider for Microsoft® SQL Server®" section.
(For reference, MSOLAP.4 is in the SQL Server 2008 R2 feature pack)

Related

Data Flow Task : Error ODBC Source Failed Validation and returned error code 0x80004005

I am trying to migrate data from PostgreSQl to SQL Server, for which I have created a SSIS package in Visual Studio 2019 using OBDC Source (for connecting to PostgreSQL) and OLE DB Destination (to connect SQL Server in Visual Studio).
I was able to successfully establish the connection in both database and transfer the data in visual studio.
To create a SQL Agent job, I tried creating a SSISDB catalog in SQL Server under integration service catalogs and deployed my SSIS package in Visual Studio 2019 (Note: I tried to change Target server version in Visual studio same as SQL server version).
Although the execution happens successfully in Visual Studio but in SQL server when I execute the package in SSMS, it is throwing an error (highlighted in title and in the screenshot).
How to resolve this issue? Any insight on this will be very helpful.
Regards,
PKR
Things I have tried
I tried to check my access to SQL server, the error is happening even after gaining complete admin level access.
I tried to change the target server version in Visual Studio to match with SQL server version yet it didn't help.

Can I Install and use OLE DB for DB2 provider V 4.0 version 9.0.1356.0 on a Client Machine without installing Microsoft SQL Server 2012 or 2008 R2

I develop a VB.Net application who use OLE DB Provider for DB2 to get and send data from/to distance DB2 database.
Do I have install SQL Server 2012 or 2008 R2 and OLE DB Provider for DB2 for each client machine for an executable application VB.Net. Is there any solution to avoid SQL Server 2008R2 or 2012 installation when I install the provider?
If not what is the necessary feature of SQL Server 2012 or 2008R2 to install and use DB2 V 4.0 version 9.0.1356.0?
Why not use the OLEDB provider from IBM?
You don't say what platform and version of DB2, that will make a difference in where you find the appropriate driver from IBM.

How to resolve "MSOLAP.4 Provider is not registered on the local machine" error without install SQL in local machine?

If I am run OLAP application in SQL installed machine (Machine A), it will work perfectly. But I need to run that application in another machine (Machine B) with Machine A's MSOLAP DLL.
Is it possible?
If yes how can I do that?
Update
I have fixed this issue by using Adomd connection instead of OleDb connection... :)
"MSOLAP.4" is the name of the OLE DB provider for Analysis Services as included with SQL Server 2008. This driver is included with the Feature Pack for SQL Server. The SQL Server 2008 Feature Pack is here. Expand the "Install instructions" header and download the correct "Microsoft SQL Server 2008 Analysis Services 10.0 OLE DB Provider" for your platform.
Since, typically, the latest versions can connect without problems to older versions, and SQL Server 2008 is no longer supported, I recommend installing the version from the SQL Server 2014 Feature Pack instead. Use "MSOLAP" as the provider name in the connection string to use the latest version rather than a specific one.

Error when creating linked server in SQL Server 2008R2

When I create a linked server in SQL Server, it causes an error
Cannot create a instance of OLEDB provider SQLNCLI10 for linked server 'linked server name '(microsoft sql server error 7302)
How can I rectify this error?
The OLEDB provider may not properly installed. What you chose is the SQL Server native client. Do you have SSMS installed on server? This should come with sql native client OLE DB.
I would like to share an experience when I faced following error
Cannot create an instance of OLE DB provider "xxx.YYYY" for linked server "test". Error 7302.
I observed this message from a failed SQL Server job. On analysis it is found that Allow Inprocess was not enabled for the provider. When this is enabled, everything worked fine for me.
Server Objects --> Linked Servers --> Providers
Also refer following
"Cannot create an instance of OLE DB provider" error as Windows Authentication user
Linked Server Properties (Provider Options Page)
Configuring OLE DB Providers for Distributed Queries

Linked Server from SQL Server 2012 to AIX DB2 via SSL

I need to create a linked server from SQL Server 2012 to a IBM DB2 (9.x) on AIX. It is a mandatory requirement to create the connection with SSL.
I was trying to use "Microsoft® OLEDB Provider for DB2 v4.0 for Microsoft® SQL Server® 2012" but I was not able to connect to DB2 by the Data Access Tool from MS OLEDB.
Later I installed the IBM DB2 client tools and GSKIT and with this I can connect to DB2 via SSL. With the installation also came the connection provider "IBM OLE DB Provider for DB2". The problem is that I can't create the linked server.
I always get the error message
Cannot create an instance of OLEDB Provider "IBMDADB2.DB2COPY1" for linked Sever "mydb2" (Microsoft SQL Server , Error 7302)
In some discussions was mentioned to use a specific provider string, but in this case the field of the provider string is greyed out.
I just have the options for Product name and Data Source. Is the Data Source == the DB Name of the Connection form the IBM BD2 Client tools? What should I use as Data Source?
Okay i could solve the problem and want to share the solution.
The mentioned provider IBMDADB2.DB2COPY1 comes from the installation of the IBM DB2 Client tools.
In Server Objects --> Linked Servers --> right click new server you can choose the provider. Using the "IBM OLE DB Provider for DB2 - DB2COPY1" which has access to the configured connection including the SSL Keys, the field Data Source is greyed out.
The key to successfully create a linked server to a DB2 is not the guy but the script. There you can use also provider string information even it is greyed out in the GUI.
EXEC master.dbo.sp_addlinkedserver #server = N'MyLinkedServer', #srvproduct=N'IBMDADB2',
#provider=N'IBMDADB2', #provstr= N'HOSTNAME=hosturl;Port=12345;
DATABASE=DBinDB2Client;UID=ItsMe;Pwd=secret;Security=SSL;', #datasrc=N'DBinDB2Client'
Et voila, as you can see the linked server will be created successfully and can acceess the DB2 Database. The issue is solved.
__
edit:
the linked server can only! used by it's creator. if other users want to access the server, they'll get this error:
Cannot create an instance of OLE DB provider "MSDADASQL" for linked server "MyDB2"
there is a tutorial how to give the permission to other users:
http://blogs.msdn.com/b/dataaccesstechnologies/archive/2011/09/28/troubleshooting-cannot-create-an-instance-of-ole-db-provider.aspx
after you walk through the tutorial, you also need to reboot.