on 2018 Aug 03 8:22 PM
I have a set of Crystal Reports that has been working for a long time. Recently, a small subset of updated reports are now prompting one of my users for database connection information when the report starts:
There is a default connection in the report but only the server gets picked up, not the catalog.
This behaviour only happens on the one machine, none of my other users are experiencing problems. The function that sets the database connection was copied from one of Don's examples, long ago. We have recently upgraded all users to V22, but only one user is experiencing this strange problem and only with 2 reports - unfortunately the ones they use most often.
I have a standard report form with the Crystal Report Viewer embedded in it. This form uses the same code for all reports: 1 - set parameters, 2 - set database connection for report and all sub-reports.
Does anyone have any suggestions on how to debug this? I have been unable to see any differences between the users connection information (in a domain) on that machine vs any other machines. Needless to say, it works fine in development and is not reproduceable.
The environment is Visual Studio 2010, Visual Basic, SQL Server 2005.
Thanks, Neil
Request clarification before answering.
If you are still having this issue, I found a solution that worked for me. I had the exact same issue as you have described. What I ended up finding was that the difference, and difference maker, was in the SQL drivers installed. For those that worked, SQL Native Client 2012 (11.0) was installed. For those that didn't work, this version of the driver was missing (SQL Native Client 2008 (10.0) was installed).
Hope this helps you or others that find this post.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.