Subject Re: [firebird-support] Repost: Using UDF's with ASP.NET and fbembed.dll
Author Helen Borrie
At 10:19 AM 24/08/2005 +0000, you wrote:
>I am using Firebird embedded in an ASP.NET solution. Basically
>everything works fine after I uninstalled the .NET provider (1.7a)
>from the GAC (to prevent the dreaded 'can not load dll (fbembed.dll)'
>However, I have found that even though the fbembed.dll is now loaded
>from my /bin folder, the firebird.conf file still needs to be placed
>below the system32 directory (/windows/system32/inetsrv to be exact).
>It turns out that the '/windows/system32/inetsrv' directory is the
>*current* directory when ASP.NET loads the .NET provider dll
>(FirebirdSql.Data.Firebird.dll). So it seems that the firebird.conf
>file is loaded from the current directory rather than from the
>directory containing fbembed.dll.
>The reason I need the firebird.conf file is to point to my UDF's.
>Otherwise they will have to be placed
>in '/windows/system32/inetsrv/udf' (which works, but...).
>Does anyone have any idea what to do? I have tried setting
>environment variables (FIREBIRD and INTERBASE) and changing the
>Firebird registry keys, but to no avail.
>Thanks a lot for any help!

Since this is absolutely specific to a .NET client setup, ask it on the
firebird-net-provider list.