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

November 30th, 2003, 01:36 PM
|
|
Registered User
|
|
Join Date: Nov 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

December 10th, 2003, 09:04 AM
|
|
Registered User
|
|
Join Date: Dec 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Did you ever get an answer to this one I am getting the same error?
Peace
|
|

December 22nd, 2003, 06:08 PM
|
|
Registered User
|
|
Join Date: Dec 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|

June 19th, 2004, 06:05 AM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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"
|
|

July 6th, 2004, 06:05 PM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

April 5th, 2005, 08:44 AM
|
|
Registered User
|
|
Join Date: Apr 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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:)
|
|

July 14th, 2009, 02:25 PM
|
|
Registered User
|
|
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|
 |