Firebird 嵌入式.NET:fbembed.dll 在不同的文件夹中

发布于 2024-08-16 08:28:07 字数 498 浏览 5 评论 0原文

我想指定从中加载 fbembed.dll 的文件夹。在 App.config 中,我有:

<connectionStrings>
 <add name="database" connectionString="Dialect=3;Database=Database\MYDATASTORAGE.FDB;ServerType=1;clientlibrary=Database\fbembed.dll"/>
</connectionStrings>

但即使文件存在,我仍然收到错误:

The DLL library database\fbembed.dll cannot be loaded: Mentioned modul was not found.(Error based on the value of HRESULT: 0x8007007E)

是否需要在根目录中为 .dll 库?

谢谢。

I want to specify the folder where to load the fbembed.dll from. In App.config I have:

<connectionStrings>
 <add name="database" connectionString="Dialect=3;Database=Database\MYDATASTORAGE.FDB;ServerType=1;clientlibrary=Database\fbembed.dll"/>
</connectionStrings>

But I still get the error even if the file is there:

The DLL library database\fbembed.dll cannot be loaded: Mentioned modul was not found.(Error based on the value of HRESULT: 0x8007007E)

Is it needed to be .dll libraries in the root?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

绝影如岚 2024-08-23 08:28:07

是否需要在“Database\MYDATASTORAGE.FDB”的开头添加“.\”?

Do you need to add ".\" to the start of "Database\MYDATASTORAGE.FDB"?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文