Azure Analysis Services deploying model from on-prem Oracle database - azure-analysis-services

Hi I have an Oracle database 11g 11.2.0.4, I have downloaded many clients and ODAC tools, finally I got the 32 bit Oracle runtime 11.2.0.4 and XCopy ODAC for 11.2.0.4 32-bit version.
I have managed to install the gateway, registered it on Azure Analysis services, have also connected to the database, retrieved tables and data using Visual Studio 2017. I am able to build the project on VS2017, but when I want to deploy the project I get this error which is frustrating because doesn't say much:
Failed to save modifications to the server. Error returned: 'An error occurred during On-Premise Gateway related activity. Additional error details: DM_GWPipeline_Gateway_MashupDataAccessError
Received error payload from gateway service with ID 396333: Async operation 777b2521-cea2-46a7-a364-9f9c80e1b816 is faulted with [0]Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.MashupDataAccessValueException: Mashup expression evaluation error. Reason: .
GatewayPipelineErrorCode=DM_GWPipeline_Gateway_MashupDataAccessError
GatewayVersion=3000.2.52
Reason= --->
[1]Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.GatewayPipelineWrapperException: Substituted: MashupValueException:<pi>Microsoft.Data.Mashup.MashupValueException (0x80004005): The provider being used is deprecated: 'System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.'. Please visit https://go.microsoft.com/fwlink/p/?LinkID=272376 to install the official provider.
Please help

Note: To fix this issue, download and install the Oracle client SDK.
If you do not have the Oracle client installed, you will see an error when you try to create or use the connection:
The provider being used is deprecated: 'System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.'. Please visit https://go.microsoft.com/fwlink/p/?LinkID=272376 to install the official provider.
You get the above error if the Oracle client SDK is not installed on the machine where the on-premises data gateway is running.
As a prerequisites: To connect to Oracle, you will also need to install the Oracle client software on the machine where you have installed the on-premises data gateway. Specifically, the Oracle Database connection requires the installation of the 64-bit Oracle Data Provider for .NET. You can use the following link to download and install the Oracle client:
64-bit ODAC 12c Release 4 (12.1.0.2.4) for Windows x64
Hope this helps.

Related

'OraOLEDB.Oracle' provider is not registered on the local machine, when working with a console application

I have a very similar situation as described in below thread:
The 'OraOLEDB.Oracle' provider is not registered on the local machine, when working with a console application?
I have website application .Net 4.5, on windows server 2016 and vs2017 with configuration as 'Any CPU'. I have a service layer to connect to oracle database and get the data. It runs very fine and connect to oracle database.
Now, i have a console application to run a job and once this job completes, i need to update the database. I call service layer from console application to update the database. However this call fails, and gives me 'The 'OraOLEDB.Oracle' provider is not registered on the local machine' error.
Solution provided in above given post (i.e. compile your console app in x86) does work for me but i don't have this option (as i have dependency on some other things as well).
Do i have any other option to resolve this issue?
EDIT: I removed oracle client installed on machine and then reinstalled 64 bit ODAC but still same problem :(

IBM DB2 .NET Core nuget package can't connect to server with licensing exception message

Installing to a console .NET Core 2.1 application the IBM.Data.DB2.Core 1.2.2.100 nuget package and trying to connect to a connection string (Database=XXXX;UID=PIDXXXX;Password=XXXXX;Server=XXX.XX.X.X:PORT) receiving the below error.
ERROR [42968] [IBM] SQL1598N An attempt to connect to the database
server failed because of a licensing problem. SQLSTATE=42968 [IBM]
SQL1598N An attempt to connect to the database server failed because
of a licensing problem. SQLSTATE=42968
My licensing info seems to be correct.
In website documentation I'm supposed to copy the .lic file I installed for DB2Connect to the %USERS DATA%\.nuget\packages\IBM.Data.DB2.Core\<version>\build\clidriver\license\ folder but still not working.

TNS no listener error message in oracle11g, i did not found oracleoraClient11g_home1tnslistener service in my machine

I have installed Oracle Client when I try to connect Oracle DB receiving a TNS no listener error message, I did not found oracleoraClient11g_home1tnslistener service on my machine. could you please advise on this.
is oracleoraClient11g_home1tnslistener part of Oracle11g Client installation?
is oracleoraClient11g_home1tnslistener need to be configured manually?
You installed the Client software.
But, is there a database on your computer? If not, you should first install the database and - once you do it - you don't need the Client software because the Server already contains all that stuff (and more).
That's what
I did not found oracleoraClient11g_home1tnslistener service on my machine
suggests - listener is installed along with the database.
If you're in doubt which database to install, I'd suggest the Oracle 11g Express Edition (XE) as it is easy to install (in a few Next clicks), contains a pre-installed HR (Human Resources) schema so you can test your skills immediately, comes with Application Express (Apex) - a really nice piece of software to start with.

Oracle Error : System.data.oracleclient requires oracle client software version 8.1.7 or greater

I am working in C#.Net Application. I had hosted my application in IIS in Server. That server contains Oracle 11g version ( 64 Bit ). The Server is also 64 Bit Machine. But while running my application i am getting the error as
system.data.oracleclient requires oracle client software version
8.1.7 or greater
Whether i need to install oracle client version in that server.
The above issue had been fixed.
Solution : The "Authenticated Users" in Oracle Home folder should give Read and Write Permissions and the System should be " RESTARTED ".

Connect to Remote Oracle database from ASP.NET

My course requires me to connect to an Oracle database server at the university for my project. I am provided with a url (like oracle.xyz.edu) and username and password. How can I connect to the database from Visual Studio. I have only dealt with SQL Server 2008. I don't know how to go ahead with setting up the database. I tried to install Oracle Instant Client, but could not find a setup exe to install. The instant client download zip consists of a set of files. Where can I find the steps to connect to Oracle database from VS.
Do you need to use the Oracle Instant Client? Or would it be acceptable to you to download and install the full version of the Oracle client?
The full version of the Oracle client is generally what ought to be installed on a developer machine. The Instant Client is a very slimmed down version of the client that is designed for developers to distribute along with their Windows applications on machines that do not have or need any way to access the database other than via the application. As a developer, I'd strongly recommend the full version of the Oracle client if only because it includes various additional utilities like SQL*Plus and SQL*Loader.
The full Oracle client is available for download from OTN on the same page that the database is available. For example, the Oracle 11.2 client for 64-bit Windows is a 615 MB download on the OTN site.
Don't use ODBC. Use ODP.NET (Oracle's Instant Client) Oracle Data Provider for .NET. (Read technical notes in provided link.)

Resources