水晶报表 - 更改数据库位置不起作用
我已经使用 Crystal Reports 好几年了,但现在使用另一个开发人员创建的特定报告,我无法更改数据库连接/位置。
他使用 OLE DB 连接并使用 Visual Studio 创建了在 Windows 应用程序中使用的报告。该报告在 Visual Studio 中“有点”工作,但我的 VS (VS 2010) 版本比开发人员更高,但这导致他使用的公式出现问题。
我现在只是尝试直接在 Crystal 中打开 VS 之外的报告,但无法让它更新数据库位置。
我创建了一个 ODBC linc 并尝试使用它来交换数据库位置,它显示:
“无法打开/访问数据对象”...然后是“未知数据库连接器错误”
我不知道如何进一步解决此问题。任何帮助将不胜感激。谢谢
I've worked with Crystal Reports for several yrs but now with a particular report created by another developer, I cannot change the DB connection/location.
He used an OLE DB connection and created the report for use in a Windows App using Visual Studio. The report works "sort of" in Visual Studio but I have a higher version of VS (VS 2010) than the developer but it is causing issues on the formulas he uses.
I am now just trying to open the report outside of VS directly in Crystal and I can't get it to update the db location.
I created an ODBC linc and tried using it to swap out the db location and it says:
"Data Object cannot be opened/accessed" ... followed by "Unknown Database Connector Error"
I don't know how to troubleshoot this further. Any help will be appreciated. Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了同样的问题,并且能够通过在设置 ODBC 连接时选择
SQL Server Native Client 10.0
驱动程序而不是11.0
驱动程序来解决该问题。如果您想拥有相同的名称,则必须删除原始图像。
I had the same issue, and was able to resolve it by selecting the
SQL Server Native Client 10.0
driver rather than the11.0
one when setting up the ODBC connection.You have to delete the original if you want to have the same name.