NET: Access violation at address 00A75B1D in module 'odac105
Posted: Thu 30 Dec 2010 05:22
DataBase connectivity test is odac library.
The following sources were shown.
In another computer, there is no problem.
There will be an issue of toxic computers.
================
Error message
================
NET: Access violation at address 00A75B1D in module 'odac105.bpl'. Read of address 00000008
=============================================
Source
=============================================
try
try
with FDBSession do
begin
//Disconnect;
Connected := False;
Options.Direct := True;
Options.ConnectionTimeout := ATimeout;
ConnectString := Format('%s/%s@%s:%s:%s', [AUSER, APASS, AIP, APort, ASID]);
Connected := True;
//Connect;
end;
TLogFile.GetObject.Write(mtInfo, Format('%s:%s:%s Server DB Connect Success.', [AIP, APort, ASID]));
except
on E: Exception do
begin
TLogFile.GetObject.Write(mtInfo, Format('%s:%s:%s Server of DB Connect Fail. :: %s', [AIP, APort, ASID, E.Message]));
AErrMsg := E.Message;
Result := False;
end;
end;
finally
FDBSession.Disconnect;
end;
====================================
The following sources were shown.
In another computer, there is no problem.
There will be an issue of toxic computers.
================
Error message
================
NET: Access violation at address 00A75B1D in module 'odac105.bpl'. Read of address 00000008
=============================================
Source
=============================================
try
try
with FDBSession do
begin
//Disconnect;
Connected := False;
Options.Direct := True;
Options.ConnectionTimeout := ATimeout;
ConnectString := Format('%s/%s@%s:%s:%s', [AUSER, APASS, AIP, APort, ASID]);
Connected := True;
//Connect;
end;
TLogFile.GetObject.Write(mtInfo, Format('%s:%s:%s Server DB Connect Success.', [AIP, APort, ASID]));
except
on E: Exception do
begin
TLogFile.GetObject.Write(mtInfo, Format('%s:%s:%s Server of DB Connect Fail. :: %s', [AIP, APort, ASID, E.Message]));
AErrMsg := E.Message;
Result := False;
end;
end;
finally
FDBSession.Disconnect;
end;
====================================