Subject Re: [firebird-support] firebird.msg location
Author Helen Borrie
At 06:35 AM 28/01/2009, you wrote:
>On the client computer i install only fbclient.dll and firebird.msg.
>i put these 2 files in folder : C:\Program Files (x86)\Firebird\
>but i receive this error :
>can't format message 13:375 -- message file C:\Program Files (x86)
>\firebird.msg not found
>it's seam that fbclient.dll look for firebird.msg in one level up (here
>in C:\Program Files (x86)) ... why ? what the workaround ?

1. If you are using the correct fbclient.dll for the server version then the client does not need to read any firebird.msg. That is the preferred solution, call it "Fix A".

2. If you want to stay with the *wrong* fbclient.dll then the client needs to have the *correct* firebird.msg available to look up. "Available" means that fbclient.dll must know where to find it. By default, it looks into the parent directory above where fbclient.dll is located.
-- so, fix B is to create a C:\Program Files (x86)\Firebird\bin subdirectory and move fbclient.dll to there.

Other alternatives:
-- Fix C is to set the FIREBIRD variable on the client at system level, pointing it to the location of the *correct* firebird.msg

-- Fix D is to add a Registry entry on the client, similar to the one that is installed on the server but with the DefaultInstance key pointing to the local subdirectory where you have the correct firebird.msg file