bds2006 access violation - Urgent

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
missoesmundiais
Posts: 2
Joined: Thu 22 Mar 2007 12:35

bds2006 access violation - Urgent

Post by missoesmundiais » Thu 22 Mar 2007 12:41

I use bds2006 with updates and hot fix installed and with odac in a computer with 5.8.040 Windows 2000 sp4, amd Athlon 64 and with memoty 512mb. I use oracle 9.2.0.1 .0
create a connection program and and when execute in some another computer is presented me the following error.
“NET: Accesss violation at 00509b1d im modulates “conexao.exe”. Read of address 00000008.”
What it can is happening?
Before I used bds2005 and this type of problems did not happen. I formatted until my computer and I installed only bds, odac and oracle.

I also tested with versao odac 6 and continues the same thing

Bruno RIbeiro
Junta de Missões Mundiais
Rio de Janeiro
Brazil

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Fri 23 Mar 2007 08:50

Please provide us the Pascal code that causes access violation.

missoesmundiais
Posts: 2
Joined: Thu 22 Mar 2007 12:35

Post by missoesmundiais » Fri 23 Mar 2007 12:13

Uses
...,DB, DBAccess, Ora ;
...
...
...

procedure TForm1.Button1Click(Sender: TObject);
Var
v_Sessao : TOraSession;
begin
v_Sessao := TOraSession.Create(self);
with v_Sessao do
Begin
Options.Direct := true;
LoginPrompt := False;
Username := 'bruno_ribeiro';
Password := 'bfr';
Server := '192.168.0.2:1521:jmmdesv';
HomeName := 'OraHome92';

v_Sessao.Connected := true; // Erro

ShowMessage('Connected!!!');
End;
end;

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 26 Mar 2007 07:53

If your application is built with run-time packages, make sure that version of the ODAC packages on the computer where your application raises the access violation, is exactly same as on the computer where you have built the application.

Post Reply