Subject RE: [IBO] System Cannot Find File
Author Myles Wakeham
Try connecting as a TCP/IP connection to
localhost:c:\offroad\ib\orinventory.fdb (make sure you change the property
of the protocol for the connection to TCP/IP) and see if that works. It
fixed this problem for me when I did this.

Myles

===========================
Myles Wakeham
Director of Engineering
Tech Solutions Inc.
Scottsdale, Arizona USA
Phone (480) 451-7440
Web: www.techsol.org


> -----Original Message-----
> From: Michael L. Horne [mailto:guardian@...]
> Sent: Tuesday, July 27, 2004 3:44 PM
> To: IBObjects@yahoogroups.com
> Subject: [IBO] System Cannot Find File
>
> New computer running XP Pro
> Installed Firebird 1.5.1.4481
>
> Try to connect to a db on the local hard drive and get
> an error message of:
>
> -------------------
> Unable to Connect to Database "ISC ERROR CODE:335544344
>
> ISC ERROR MESSAGE:
> I/O error for file "C:\OFFROAD\IB\ORINVENTORY.FDB"
> Error while trying to open file
> The system cannot find the path specified.
> -------------------
>
> The file and path names are correct, as are the user/password.
>
> I created a new project to test the problem and
> dropped a new ib_connection component on the form with
> two buttons. Below is the code for both button. They
> both return the error above.
>
> I have been able to access the file (both local and remote)
> with EMS Interbase/Firebird Manager when it is run on the
> local computer, but not when I try to access the file from
> other computers. XP's Firewall is turned off and I can see
> the FireBird port of 3050 when I scan the ports.
>
> Any Ideals welcome.
>
> Thanks
> Michael L. Horne
>
>
> -----------------------
> procedure TForm1.btLocalClick(Sender: TObject);
> begin
> ib_Connection1.Connected := False;
> try
> ib_Connection1.Protocol := cpLocal;
> ib_Connection1.DatabaseName := 'C:\Offroad\ib\ORInventory.fdb';
> ib_Connection1.Username := 'SYSDBA';
> ib_Connection1.Password := 'tylu';
> ib_Connection1.Connected := True;
> ShowMessage('Connected');
> except
> on E: Exception do
> begin
> ShowMessage('Unable to Connect to Database "'+E.Message+'"'+#13+
> 'DatabaseName='+ib_Connection1.DatabaseName+#13+
> 'Username='+ib_Connection1.Username+#13+
> 'Password='+ib_Connection1.Password);
> end;
> end;
> end;
>
> procedure TForm1.btTCPIPClick(Sender: TObject);
> begin
> ib_Connection1.Connected := False;
> try
> ib_Connection1.Protocol := cpTCP_IP;
> ib_Connection1.DatabaseName :=
> 'Echidna:C:\Offroad\ib\ORInventory.fdb';
> ib_Connection1.Username := 'SYSDBA';
> ib_Connection1.Password := 'tylu';
> ib_Connection1.Connected := True;
> ShowMessage('Connected');
> except
> on E: Exception do
> begin
> ShowMessage('Unable to Connect to Database "'+E.Message+'"'+#13+
> 'DatabaseName='+ib_Connection1.DatabaseName+#13+
> 'Username='+ib_Connection1.Username+#13+
> 'Password='+ib_Connection1.Password);
> end;
> end;
> end;
>
>
>
>
>
> __________________________________________________________________________
> _
> IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> without the need for BDE, ODBC or any other layer.
> __________________________________________________________________________
> _
> http://www.ibobjects.com - your IBO community resource for Tech Info
> papers,
> keyword-searchable FAQ, community code contributions and more !
> Yahoo! Groups Links
>
>
>
>