hello ..
I use the driver for UniDAC connection with Ms-sql server for delphi.
occurs that may have problems with connection on machines with Windows XP sp3.
The error that occurs is: "ole db error occured. 0x80004005h Code"
could someone help?
Douglas Specht
			
									
									
						problem with connection in windows xp sp3
- 
				AndreyZ
 
Re: problem with connection in windows xp sp3
Hello,
Please try executing the following code:, and specify the exact message that the ShowMessage function will show you.
			
									
									
						Please try executing the following code:
Code: Select all
uses OLEDBAccess;
procedure TForm1.Button1Click(Sender: TObject);
var
  er: EMSError;
  ts: string;
  i: integer;
begin
  try
    UniConnection1.Open;
  except
    on E: EUniError do begin
      er := EMSError(E.InnerError);
      ts := '';
      for i := 0 to er.ErrorCount - 1 do
        ts := ts + 'Message: ' + er.Message + '; ErrorCode: ' + IntToStr(er.Errors[i].ErrorCode) + '; OLEDBErrorCode: ' + IntToStr(er.Errors[i].OLEDBErrorCode) + #13#10;
      ShowMessage(ts);
    end;
  end;
end;- 
				douglasfabiano
 - Posts: 5
 - Joined: Mon 17 Sep 2012 23:24
 
Re: problem with connection in windows xp sp3
thanks for your reply,
but I managed to solve installing client ms-sql server 2008 cd that comes in install mode server database.
douglas specht
			
									
									
						but I managed to solve installing client ms-sql server 2008 cd that comes in install mode server database.
douglas specht
- 
				AndreyZ
 
Re: problem with connection in windows xp sp3
It is good to see that you have found a solution. If any other questions come up, please contact us.