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

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.

Related

nuget packages failing to download in VS 2019

I am trying to restore packages for my .Net core solution from private proget server maintained by my organization using vpn. But it is not completing for last 7days due to some unknown network issues. I have tried with clearing the nuget cache, running nuget restore, dotnet restore and build solution. All came with same output.
The nuget package restore starts successfully, it downloads many packages, and then it fails with some random package. Some of the error logs that I have received are:
Retrying 'FindPackagesByIdAsyncCore' for source 'https://proget.xxx.net/nuget/TestFeed/FindPackagesById()?id='packageName'&semVerLevel=2.0.0'.
An error occurred while sending the request.
Unable to connect to the remote server
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 127.0.0.1:8888
The nuget restore is working successfully for other devs. If it weren't, I could have concluded that it is an issue with the proget server. But now, I cannot decide whether it is an issue with my Visual studio 19, nuget config or system network. The url https://proget.xxx.net/ is opening successfully in my browser.
Any troubleshooting tips/logs to dig deep into the issue, or fixes are welcome.
It seemed like a network issue, nothing with any setup. I tried with dotnet restore to fetch all dependencies during idle hours, and it worked successfully. If someone has a better answer, please share.

Fixing a error in connectivity ms access in visual basic?

I receive this message error:
The Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine.
I want to connect my database in vb thru ms access. What do i do and how to fix that error message. I already installed a microsoft database engine 2010. But it not works.

JFrog artifactory 7.4.3 integration with mssql issue

I have installed the JFrog Artifactory OSS 7.4.3 on windows.It is working fine with default DB Derby.
Tried to integrate with MSSQL server. Configured DB url, username and password properly. when I start the service, it created the required tables in the database.
But application is throwing error in artifactory-service.log file as The DB driver for mssql was not found. Copy the relevant DB driver to '$JF_PRODUCT_HOME/var/bootstrap/artifactory/tomcat/lib'.
I have downloaded different versions of mssql jdbc drivers supported for jdk11. still facing the same issue.
JFrog's documentation is wrong! Following their documentation (on Windows), Artifactory was unable to connect to SQL server when placing the MSSql JDBC driver inter $JF_PRODUCT_HOME/var/bootstrap/artifactory/tomcat/lib.
So I went sleuthing and found where they put all the other SQL server dialect libraries: $JF_PRODUCT_HOME/app/artifactory/tomcat/lib. Copy the MSSQL JDBC JAR file there and you'll be good to go!

Azure Analysis Services deploying model from on-prem Oracle database

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.

Facing error 'NZOLEDB' provider is not registered on this local machine

I am using Aginity 4.8.0.2551(build 6/14/2016) for connecting Netezza server and the Netezza ODBC driver 6.0.2.0 but still i am getting the error when trying to connect data base server from visual studio platform
Error message: The 'NZOLEDB' provider is not registered on this local machine.
Even though the ODBC driver 6.0.2.0 is installed i am facing this issue. please help me on this.
It’s possible to install ODBC and OLEDB drivers separately. Having one is no guarantee for the other

Resources