Solved

Can't resolve Database Connect Error on Crystal Reports XI R2 report since upgrading to SP5

Posted on 2010-09-07
14
1,063 Views
Last Modified: 2013-11-26
I'm running Crystal Reports XI R2 in Visual Studio 2005.  Since installing SP5 I'm getting an error messsage on a few reports - Database Connector Error: '[Database Vendor Code: 257 ]' Error in File
c:\users\stu\appdata\local\temp......rpt.
I can run the report fine in Crystal Reports but when I run from Visual Studio I get the error message.
If I remove SP5 the report runs OK.
I have also installed SP6 but still get the error.  This happens on both  XP and Win7 machines.
I have re-created the report from the stored procedure (SQL Server) under the version including SP5 but still get the error.
0
Comment
Question by:Superdata
  • 4
  • 4
  • 2
  • +1
14 Comments
 
LVL 17

Expert Comment

by:MIKE
ID: 33631267
try updating the actual SERVER that is being accessed by Crystal,..with these latest updates....
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 33650549
WHere did you install the SPs?

You usually install them on the development machine, then rebuild the application to include the SPs.

mlmcc
0
 
LVL 1

Author Comment

by:Superdata
ID: 33698582
I installed the SP's on the development machine which also runs SQL, Visual Studio etc.
I tried creating a new report from the original stored procedure but still get the same error in VB
The project references tab for Crystal point toC:\Program Files (x86)\Business Objects\Common\3.5\managed\dotnet2\ and show the Version for each dll as 11.5.3700.0 whereas the Windows Explorer view shows the File Version as 11.5.9712.1838.  I have removed and added back the Crystal references but they still default back to 11.5.3700.0.

0
 
LVL 100

Expert Comment

by:mlmcc
ID: 33759519
When you add the references, are you selecting them from the list or have you tried browsing to them.

mlmcc
0
 
LVL 1

Author Comment

by:Superdata
ID: 33767650
In VB, I removed the old references for V 11.5.3700.0 thenI browsed to the folder C:\Program Files (x86)\Business Objects\Common\3.5\managed\dotnet2 and added them from there.  When I select the file the version shows correctly as 11.5.9712.1838 but when I click the Add reference button, it adds the file but still shows the version in VB as 11.5.3700.0.

Do I have to register them in the GAC (Windows\Assembly) ?

0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 100

Expert Comment

by:mlmcc
ID: 33774903
I don't know.  I don't have VB.Net so I can't test here.

mlmcc
0
 
LVL 7

Expert Comment

by:dethbylt
ID: 33943262
Have you tried updating your .NET Framework to the latest version?
0
 
LVL 7

Expert Comment

by:dethbylt
ID: 33943266
^Or rolling back to an earlier version?
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 33943392
Is there something in SP5 or SP6 that you require?

mlmcc
0
 
LVL 1

Accepted Solution

by:
Superdata earned 0 total points
ID: 33979597
Doesn't look like I'm going to get this resolved so I have removed SP5 and SP6
0
 
LVL 1

Author Closing Comment

by:Superdata
ID: 34018090
I have removed SP5 and SP6
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Creating and Managing Databases with phpMyAdmin in cPanel.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now