Link to home
Start Free TrialLog in
Avatar of Superdata
SuperdataFlag for Australia

asked on

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

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.
Avatar of Marcus Aurelius
Marcus Aurelius
Flag of United States of America image

try updating the actual SERVER that is being accessed by Crystal,..with these latest updates....
Avatar of Mike McCracken
Mike McCracken

WHere did you install the SPs?

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

mlmcc
Avatar of Superdata

ASKER

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.

When you add the references, are you selecting them from the list or have you tried browsing to them.

mlmcc
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) ?

I don't know.  I don't have VB.Net so I can't test here.

mlmcc
Have you tried updating your .NET Framework to the latest version?
^Or rolling back to an earlier version?
Is there something in SP5 or SP6 that you require?

mlmcc
ASKER CERTIFIED SOLUTION
Avatar of Superdata
Superdata
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have removed SP5 and SP6