1. James Pendarvis
  2. PowerBuilder
  3. Monday, 8 July 2019 17:41 PM UTC

We have recently upgraded from PowerBuilder 12.5 to PowerBuilder 2017. We have also updated the way we connect to the database from ODBC to ADO.NET. We have created the Resource Package files and installed them on the server that is hosting the application. When we execute the application I am getting the following error: "Data Source must be provided" and before that I was getting the "ADO.NET not supported with this installation" error. I need to get this fixed ASAP, please help

Alex Riofrio Accepted Answer Pending Moderation
  1. Tuesday, 9 July 2019 17:13 PM UTC
  2. PowerBuilder
  3. # 1

I think the first reason could be that "the specific Data Provider that you need" isn’t installed.
You can verify it in this link:

https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/data-providers

Comment
There are no comments made yet.
Alex Riofrio Accepted Answer Pending Moderation
  1. Monday, 8 July 2019 20:41 PM UTC
  2. PowerBuilder
  3. # 2

Hello;

You could check if the .NET Framework Data Provider is installed on the client station.

 

Using the ADO.NET Interface (PB Help)

One of the major components of ADO.NET is the .NET Framework data provider, which connects to a database, executes commands, and retrieves results.

Microsoft provides .NET Framework data providers for SQL Server and OLE DB with the .NET Framework, and data providers for ODBC and Oracle can be downloaded from the Microsoft Web site. You can also obtain .NET Framework data providers from other vendors, such as the .NET Framework Data Provider for Adaptive Server Enterprise from SAP.

To connect to a database using the PowerBuilder ADO.NET database interface, you must use a .NET Framework data provider.

Comment
  1. James Pendarvis
  2. Tuesday, 9 July 2019 10:24 AM UTC
I was told that .NET Framework 4.5.2 is installed.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.