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
options.net changing settings when I load a project
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.
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.