Unable to load datamodule after update to 9.0.1

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
cointec
Posts: 50
Joined: Fri 11 Dec 2015 11:02

Unable to load datamodule after update to 9.0.1

Post by cointec » Fri 17 Sep 2021 10:21

Hello,

After update delphi 10.4 to version 9.0.1, when I try to open the datamodule that has the component of connection on it, I get an exception

"Error creating form: Oracle provider is not registered. You should add the OracleUniProvider unit to the uses clauses of any unit in your project ..."

This is the uses of the datamodule

Code: Select all

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Db, ExtCtrls,  syncobjs,
  ActnList, DBClient, Variants, MemDS, DBAccess, Uni, InterBaseUniProvider, UniProvider, OracleUniProvider,
If I switch back to 8.3.2 all runs fine.
I have checked also 8.4.4 and all runs fine

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Unable to load datamodule after update to 9.0.1

Post by MaximG » Wed 22 Sep 2021 15:46

Could you please clarify, if the UniDAC v. 8.4.4 and UniDAC v. 9.0.1, which you are using, have the same edition? How was UniDAC 9.0.1 installed? It was installed by using the installer or from source codes? Is the TOracleUniProvider component present in the IDE after installation?

cointec
Posts: 50
Joined: Fri 11 Dec 2015 11:02

Re: Unable to load datamodule after update to 9.0.1

Post by cointec » Wed 22 Sep 2021 16:16

9.0.1 raises the exception in Delphi 10.4
8.3.2 and 8.4.4 does not raise the exception in 10.4.

Not checked with other delphi versions.

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Unable to load datamodule after update to 9.0.1

Post by MaximG » Thu 23 Sep 2021 11:25

Please, clarify, do you install UniDAC 9.0.1 from source codes or by using the installer?
In the first case, do you install all the providers you need? Are you able to create the simplest new project using OracleUniProvider and UniDAC 9.0.1?

cointec
Posts: 50
Joined: Fri 11 Dec 2015 11:02

Re: Unable to load datamodule after update to 9.0.1

Post by cointec » Thu 23 Sep 2021 11:32

I have intalled 9.0.1 with the installer over 8.3.2 ==> raises exception
I have reinstalled 9.0.1 ==> raises exception
I have reverted and installed 8.3.2 from installer over 9.0.1 ==> Ok
I have installed 8.4.4 from the installer over 8.3.2 ==> Ok

I don't use the source code to install the product.

Hope this helps

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Unable to load datamodule after update to 9.0.1

Post by MaximG » Thu 23 Sep 2021 14:03

Hi!

Thanks!

We have checked the opening of the project with DataModule in exact accordance with your description and did not find any issues.
Please, explain again: Are you able to create and execute the simplest new project using OracleUniProvider right after UniDAC 9.0.1? If possible, please compose and send us the simplest project, the download of which causes the error "Error creating form: Oracle provider is not registered" For your convenience, you can use the e-support form https://www.devart.com/company/contactform.html

Post Reply