Solved

Converting VS 205 APP with Crystal reports to VS 2008

Posted on 2011-09-28
7
473 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 100

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
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

751 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