c# - 无法加载DLL 'fbembed'

标签 c# asp.net .net dll firebird

即使我有 dat dll,我也无法加载 ddl 如果我通过引用添加它会显示

A refernce to "Path\fbembed.dll" could not be added. Please make sure that the file is accessible, and that is valid assembly or COM component.

最佳答案

单独的 fbembed.dll 是不够的。最小的文件集包括:

icudt30.dll
icuin30.dll
icuuc30.dll
fbembed.dll                   
Microsoft.VC80.CRT.manifest
firebird.msg                               
msvcp80.dll
msvcr80.dll
ib_util.dll                   
Intl\fbintl.dll     (Intl -- it is a subdirectory)

从 FB2.5 分发版获取它们并将其放在您的可执行文件旁边。

如果您的数据库使用自定义 UDF,您还需要在 UDF 子目录中放置适当的 DLL。

关于c# - 无法加载DLL 'fbembed',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12065598/

相关文章:

c# - HttpContext.Current.User.Identity.Name 使用 IIS Express 但不是 Visual Studio Development Server 为空

javascript - javascript 函数参数的值如何在页面请求中保留下来?

c# - 为什么 LINQ .Where(predicate).First() 比 .First(predicate) 快?

.net - 考虑在没有 app.config 映射的情况下对程序集进行 app.config 重新映射

javascript - 如何调试 javascript :WebForm_DoPostBackWithOptions?

.net - 根据是为 32 位还是 64 位架构构建,OpenFileDialog 显示不同的文件

c# - ASP.NET MVC : Custom Validation by DataAnnotation

c# - ImageProcessorCore : Opening image takes >11seconds, 我错过了什么?

c# - 如何将 C# SSLStream 客户端连接到 OpenSSL 服务器?

ASP.NET MVC + SQL Server 应用程序 : Best Way to Send Out Event-Driven E-mail Notifications