Crystal Reports OLE DB 缺少数据库
水晶报告的小但烦人的问题。我有一个使用 OLE DB (ADO) 连接到服务器上的数据库的报告。
我已经对连接字符串(所有信息,包括用户和密码)进行了硬编码,因此它应该直接加载到报告中,并且在某些机器上确实会这样做:(。
在其他机器上,当您加载报告时,它会显示填写了服务器、用户名和密码的登录框。但是数据库保留为空白并且呈灰色,因此无法进行任何更改,
有谁知道这是为什么以及有任何修复吗?抱歉,我缺乏信息。我真的不知道原因。我检查了机器之间的设置差异,但找不到任何我认为可以解释该问题的东西。两者都有 VS crystal reports redist 插件,都有 System.Data.dll
提前致谢。 ,欢迎任何想法(此时将尝试任何事情)。
Small but annoying issue with crystal reports. I have a report connecting to a database on a server using OLE DB (ADO).
I've hard coded the connection string (all info inc. user & pass) so it should just load straight into the report and it does do this, on some machines :(.
On other machines when you load the report it brings up the login box with the server, user name and password all filled in. The database however is left blank and is greyed out so no changes can be made.
Does anyone have ideas why this is and any fixes. Sorry for lack of information but I really don't know the cause. I've checked setup differences between machines and can't find any that I felt would account for the issue. Both have the VS crystal reports redist plugins, both have System.Data.dll
Thanks in advance, any thoughts are welcome (will try anything at this point).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决了问题。
我从使用 SQL Native Client 连接切换到 Microsoft OLE DB for SQL Server
Solved the problem.
I switched from using SQL Native Client connection to Microsoft OLE DB for SQL Server