Hi,
I'm using Firebird 1.5rc4 on Win2k. The Windows Eventlog shows entries
like this:
| The description for Event ID (251) in Source (FirebirdGuardian)
| cannot be found. The local computer may not have the
| necessary registry information or message DLL files to
| display messages from a remote computer. The following
| information is part of the event:
| Server Started: Guardian starting:
| D:\App32\database\FB15RC4\bin\fbserver.exe=C3z.
^^
(Possible Null terminator missing?)
This is caused by an uncomplete registration of fbguard.exe; the
information where Eventlog could find the message resource file is
missing. On installation (instreg), the service has to create a registry =
key
HKLM\System\CurrentControlSet\Services\Eventlog\Application\FirdbirdGuard=
ian
and set two values:
EventMessageFile REG_SZ 'PathToMessageFile'
TypesSupported REG_DWORD 7
'PathToMessageFile' needs to be a fully qualified path either to the
application/service itself (if message resource is contained in exe), or
to a DLL providing the message table.
With an resource editor, I tried to locate thoses message tables in
fbserver.exe and fbguard.exe, but did not found any. (just curious: All
version information in fbserver/fbguard have swedish language IDs.)
For testing, I've created a simple message file just containing IDs 0,
251 and 261 with message "%1". After tweaking registry to point
EventMessageFile to my file, the Eventlog now shows this:
| Server Started: Guardian starting:
| D:\App32\database\FB15RC4\bin\fbserver.exe=C3z
That looks well (except missing terminator).
For creating a messagetable resource, see:
http://msdn.microsoft.com/library/en-us/tools/tools/messagetable_resource=
=2Easp
Regards
Achim
|