Executing the following SQL raises an access violation:
sp_attach_db "MyDBname", "c:\MyPath\MyFile.mdf", "c:\MyPath\MyFile_log.ldf"
with only one file it works.
The error occurs on this line in oledbaccess.pas:
function TOLEDBRecordSet.GetIRowset: IRowset;
begin
Result := FIRowset;
end;
Please help, Peter
AV using sp_attach_db with more than 1 file
I could not reproduce the problem with the latest SDAC version.
Please send me a complete small sample at sdac*crlab*com to demonstrate it.
Also supply the following information:
- the exact version of SDAC. You can see it in the About sheet of TMSConnection Editor;
- the exact version of your IDE;
- the exact version of SQL server and client. You can see it in the Info sheet of TMSConnection Editor.
Please send me a complete small sample at sdac*crlab*com to demonstrate it.
Also supply the following information:
- the exact version of SDAC. You can see it in the About sheet of TMSConnection Editor;
- the exact version of your IDE;
- the exact version of SQL server and client. You can see it in the Info sheet of TMSConnection Editor.