options.net changing settings when I load a project

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Locked
bhuggins
Posts: 1
Joined: Mon 17 Jan 2005 15:00

options.net changing settings when I load a project

Post by bhuggins » Mon 17 Jan 2005 15:06

This has been happing since we've owned ODAC (version 4 and version 5). What happens is that sometimes when we load a project the setting for Options.net gets changed from false to true and so we get an invalid SID because of it. It has forced us to have options.net := false in all of our code but if someone forgets to close the TOraSession then we will get that error when the program loads.

Anyone have any suggestions on how to get this to stay with what we pick? We didn't purchase the source code version so I'm unable to look into why it is happening.

We are using Delphi 7 Pro

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Tue 18 Jan 2005 12:14

Sorry but we couldn't reproduce your problem.
Note that you mustn't have different setting of Net option in the same IDE instance even in different forms or projects.
In case that note described above is not your situation please specify exact version of ODAC that you use, and with the next problem appearance see the *.DFM file, is the Net option already corrupted in it or it was corrupted during project loading? Please remove all other components from the form and try to get this situation with only one TOraSession component, if problem disappears then try to locate which component caused this situation.
Thank you for assistance.

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Thu 27 Jan 2005 09:31

We fixed this problem. This fix will be included in the next ODAC build.

Locked