Firebird BLR 623 invalid request - LRTRIM is not defined - module name or entrypoint could not be found

前端 未结 2 1616
慢半拍i
慢半拍i 2021-01-23 12:21

I work in Firebird 2.5 database:

Occasionally (not always) I get the following error when I run some stored procedures or views (database objects) that use the LRTRIM fu

2条回答
  •  野的像风
    2021-01-23 12:53

    In your current setup you seem to have two Firebird servers

    1. a 32-bit in C:\Program Files (x86)\Firebird\Firebird_2_5,
    2. a 64 bit in C:\Program Files\Firebird\Firebird_2_5

    Your UDF declaration points to module UDF, which is not a standard UDF, so this is most likely provided by your client to use with their database. You only have the libraries for these UDF in the 32 bit server installation, this means that you can only use the 32 bit server. Under some unknown conditions, you switch between the 32 bit and 64 bit server, meaning that subsequent connections are made to the 64 bit server, which doesn't have the required UDF which then leads to the error. You should uninstall the 64 bit server so this can't happen.

    You comment that you need both because of SRSS, but that isn't the case. You only need one Firebird server (32 bit or 64 bit; in this case 32 bit because of the UDF), and the client libraries (32 bit and 64 bit) for your applications.

    So what you need to do:

    1. Uninstall the 64 bit Firebird server,
    2. Start the 64 bit Firebird installer and install only the client components.

    And finally double check the connection strings or connection properties to ensure that you are always connecting to the same server (host & port), and that you aren't accidentally using an embedded connection.

提交回复
热议问题