Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 30th, 2003, 01:36 PM
Registered User
 
Join Date: Nov 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default VS not creating Class files for CR reports

When I add a Crystal Report.NET to a project in Visual studio enterprise developer 2003, I notice that in addition to the
report, another file (with .cs extension) is NOT addeded.

When compling, I'm getting this error message :
"C:\utv\net\prjandre\CR.rpt The custom tool 'CrystalDecisions.VSDesigner.CodeGen.ReportCodeGen erator' failed. The located assembly's manifest definition with name 'Microsoft.VisualStudio.Designer.Interfaces' does not match the assembly reference."

I'm running Version=9.2.3300.0 of Crystal Report

 
Old December 10th, 2003, 09:04 AM
Registered User
 
Join Date: Dec 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to grimmdesigns Send a message via Yahoo to grimmdesigns
Default

Did you ever get an answer to this one I am getting the same error?

Peace

 
Old December 22nd, 2003, 06:08 PM
Registered User
 
Join Date: Dec 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think I found a solution.

in the solution explorer, select a report.

In the properties the 'Custom tool' property is:
CrystalDecisions.VSDesigner.CodeGen.ReportCodeGene rator

change it to:
CrystalDecisions.VSShell.CodeGen.ReportCodeGenerat or

The change seems to be permanent.

Hope it helps. Let me know if you find another solution or if there is a problem with this one.

No warranty expressed or implied.

Good Luck.
 
Old June 19th, 2004, 06:05 AM
Registered User
 
Join Date: Jun 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by jimjimbobim
 I think I found a solution.

in the solution explorer, select a report.

In the properties the 'Custom tool' property is:
CrystalDecisions.VSDesigner.CodeGen.ReportCodeGene rator

change it to:
CrystalDecisions.VSShell.CodeGen.ReportCodeGenerat or
That worked however since installing Crystal 9.2 when I drag a reportviewer control to a page it sez "Error creating control" and the property ShowAllPageIds = "Object reference not set to an instance of an object."

What reference is missing?

"Never rub another man's rhubarb"
 
Old July 6th, 2004, 06:05 PM
Registered User
 
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, I thought that you solution would fix this issue, but, alas, I checked the properties of my report and they were already set to the value you supplied. Please don't take this as a criticism, I am just trying to understand what has happened...

This is really odd because I have two reports and only this one is causing this error, in addition, it has been part of the project for some time and all of a sudden it is an issue.

Do you have any other possible issues/solutions?

Thanks in advance.



Mtog
 
Old April 5th, 2005, 08:44 AM
Registered User
 
Join Date: Apr 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I was getting the same error and I fix it by changing CrystalDecisions.VSDesigner.CodeGen.ReportCodeGene rator to
CrystalDecisions.VSShell.CodeGen.ReportCodeGenerat or at the reports custom tool (solution Explorer - selectreport.rpt - properties)
But now I am getting the following error

"Custom tool error: "Code generator 'ReportCodeGenerator' failed. Exception stack = CrystalDecisions.CrystalReports.Engine.LoadSaveRep ortException: Load report failed.
   at .F(String  , EngineExceptionErrorID 
)
   at .B(String , Int32 )
   at CrystalDecisions.CrystalReports.Engine.ReportDocum ent.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob)
   at CrystalDecisions.CrystalReports.Engine.ReportDocum ent.Load(String reportName)
   at CrystalDecisions.VSShell.CodeGen.ReportClassWriter ..ctor(String filePath)
   at CrystalDecisions.VSShell.CodeGen.ReportCodeGenerat or.GenerateCode(String inputFileName, String inputFileContent)""

Anyone can help?????

thanks a lot:)

 
Old July 14th, 2009, 02:25 PM
Registered User
 
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Changing the 'Custom Tool' property didn't work for me, so I used a sledgehammer. I repaired Visual Studio 2003 and reinstalled CR XI Release 2. The problem went away.





Similar Threads
Thread Thread Starter Forum Replies Last Post
VB.NET - creating a CR report at run time jimbodeni Crystal Reports 4 March 21st, 2013 10:01 AM
Creating a .bat file with CR and linefeed rjonk XSLT 1 November 29th, 2006 01:38 PM
Creating Reports in Standard CR and Use in .NET? schlap Crystal Reports 1 October 13th, 2006 11:57 AM
Can I pass parameters when creating files via CR linjader Classic ASP Databases 0 July 26th, 2006 03:48 AM
Creating Field Definition Files in Crystal Reports ejan Pro VB 6 0 February 4th, 2005 03:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.