Cannot attach to Services Manager
From: Wayne & Carr (no_at_spam.com)
Date: 09/25/04
- Next message: Viatcheslav V. Vassiliev: "Re: Cannot attach to Services Manager"
- Previous message: Wayne & Carr: "Show all Tables in Database and Choose with "Tab***""
- Next in thread: Viatcheslav V. Vassiliev: "Re: Cannot attach to Services Manager"
- Reply: Viatcheslav V. Vassiliev: "Re: Cannot attach to Services Manager"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 25 Sep 2004 00:41:57 -0500
Hello All; [ Delphi 6.02 Pro | Win2K Pro ]
I am using the [ TIBBackupService ];
And am trying to connect and backup a " Access Database "
Using the following code from the Delphi-Help.
( The code it self may be the problem ? As it was showing a different
database extension )
=================
procedure TCFF_Admin.Save1Click(Sender: TObject);
begin
with IBBackupService1 do
begin
ServerName := 'Poulet';
LoginPrompt := False;
//Params.Add('user_name=sysdba');
//Params.Add('password=masterkey');
Active := True;
try
Verbose := True;
Options := [NonTransportable, IgnoreLimbo];
DatabaseName :=
'\\Carrz-server\G\Inetpub\wwwroot\Carrz\KB\data\FireKB.mdb';
BackupFile.Add('M:\InetPub\wwwroot\Carrz\KB\data\FireKB.mdb');
ServiceStart;
While not Eof do
Memo1.Lines.Add(GetNextLine);
finally
Active := False;
end;
end;
end;
=================
I recevie the following error when I try to "Save":
---------------------------
Debugger Exception Notification
---------------------------
Project CFF_KB_Admin.exe raised exception class EIBInterBaseError with
message 'Cannot attach to services manager'. Process stopped. Use Step or
Run to continue.
---------------------------
OK Help
---------------------------
Could someone please let me know what to look for to resolve this?
Or if it is the code, could someone please provide the proper code? Or a
link ?
Thank You All
Wayne
- Next message: Viatcheslav V. Vassiliev: "Re: Cannot attach to Services Manager"
- Previous message: Wayne & Carr: "Show all Tables in Database and Choose with "Tab***""
- Next in thread: Viatcheslav V. Vassiliev: "Re: Cannot attach to Services Manager"
- Reply: Viatcheslav V. Vassiliev: "Re: Cannot attach to Services Manager"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]