Solved

Converting VS 205 APP with Crystal reports to VS 2008

Posted on 2011-09-28
7
477 Views
Last Modified: 2013-12-17
Hello Experts,

I have a VS 2005 C# APP which uses Crystal Reports for Visual Studio 2005 and am converting it to VS 2008.

1. I converted the VS 2005 APP to VS 2008 on my Win &, 64 bit VS 2008 machine
2. I ran CRRedist2008_x64.msi  on myWin &, 64 bit VS 2008 machine
3. I notice that my project still references Crysatal dlls at C:\Program Files (x86)\Business Objects\Common\2.8\managed
4. I cannot find similar dlls for the 2008 versions on the computer to change the references

Am still getting Cryustal errors (see codesnipet) and the converted project will not build.

Does anyone know what I am doing wrong here??

Thanks!

I still get Crystal reports errors (see code snippet) and the APP won't build.

I notice that
Error	1	Custom tool error: "Code generator 'ReportCodeGenerator' failed.  Exception stack = CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x8000020D): Unable to load report.
   at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
   --- End of inner exception stack trace ---
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
   at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath)
   at CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)"	C:\TEmp_EHArvest Apps\APP_FullCLR_Final_64\Cape_Horn_1-2011_UPInnova\Groundfish_EH_Constellation_2008\avgWtsByVesselCodend.rpt	1	1	WhitingLog2005
Error	2	Custom tool error: Failed to generate code. Data at the root level is invalid. Line 1, position 1.	C:\TEmp_EHArvest Apps\APP_FullCLR_Final_64\Cape_Horn_1-2011_UPInnova\Groundfish_EH_Constellation_2008\GroundFish_DevDataSet1.xsd	1	1	WhitingLog2005
Error	3	Custom tool error: "Code generator 'ReportCodeGenerator' failed.  Exception stack = CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x8000020D): Unable to load report.
   at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
   --- End of inner exception stack trace ---
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
   at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath)
   at CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)"	C:\TEmp_EHArvest Apps\APP_FullCLR_Final_64\Cape_Horn_1-2011_UPInnova\Groundfish_EH_Constellation_2008\spPcntRetention.rpt	1	1	WhitingLog2005
Error	4	Custom tool error: Failed to generate code. Unable to find connection 'GroundFish_DevConnectionString (Settings)1' for object 'Settings'. The connection string could not be found in application settings, or the data provider associated with the connection string could not be loaded	C:\TEmp_EHArvest Apps\APP_FullCLR_Final_64\Cape_Horn_1-2011_UPInnova\Groundfish_EH_Constellation_2008\GroundFish_DevDataSet.xsd	1	1	WhitingLog2005

Open in new window

0
Comment
Question by:Saxitalis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 250 total points
ID: 36767501
Are you building on a 32 or 64 bit machine?

mlmcc
0
 
LVL 96

Assisted Solution

by:Bob Learned
Bob Learned earned 250 total points
ID: 36767642
What is the target platform for the build?  Are you targeting Mixed Platform, x64, Any CPU, or x86?
0
 

Author Comment

by:Saxitalis
ID: 36773569
Any CPU
0
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
LVL 96

Expert Comment

by:Bob Learned
ID: 36774362
What happens if you create a new report in 2008?
0
 

Author Comment

by:Saxitalis
ID: 36782562
I'll try and get back...
0
 

Author Comment

by:Saxitalis
ID: 36914551
I went back and ran the Crystal REports msi X64 and got it to work but trhanks for your replies!
0
 

Author Closing Comment

by:Saxitalis
ID: 36914570
I figured out the problem on my own but want to award points for valid answers
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

624 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