StackOverflow,你是我唯一的希望!
我很不幸在开发中继承了大约 3/4 的 ASP.NET 3.5 应用程序。本项目使用 Crystal Reports Basic for VS 2008 从数据源生成 PDF 文件。很简单。
无论如何,这个项目在我的开发机器(VS 2008)上编译并运行良好,但是当我将它发布到服务器(安装了 CR Basic for VS 2008 Runtime)时,我在尝试导出报告时收到此错误消息转为 PDF:
Error in File C:\WINDOWS\TEMP\Report {D3596595-5217-4888-A770-72427B29DE27}.rpt:
The user function manager DLL (ufmanager.dll) could not be found.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Error in File C:\WINDOWS\TEMP\Report {D3596595-5217-4888-A770-72427B29DE27}.rpt:
The user function manager DLL (ufmanager.dll) could not be found.
不幸的是,在谷歌上搜索错误消息只会出现少数结果,而且它们没有帮助。
我的服务器运行的是 Windows 2003 x64 SP2。我尝试在服务器上安装 Crystal Reports 运行时(x86 和 x64 版本)。奇怪的是,该应用程序没有检测到 x64 版本,所以我使用的是 x86 版本。
我在C:\Program Files (x86)\Business Objects\Common\2.8\bin中看到文件ufmanager.dll,但我不知道我的应用程序在哪里寻找它。我什至尝试将它粘贴在我的应用程序的“bin”文件夹中,但没有运气。
如果任何善良的灵魂碰巧以前看到过这个错误并且知道修复,我将非常感激。