Skip to Content
0
Former Member
Sep 13, 2011 at 07:14 AM

CR not working for me with VS2010

81 Views

OK with VS2008 I had no problem.. But with VS2010 I can't get Crystal Reports working at all...

I have installed

- VS 2010 Sp1

- Full Crystal Reports 2008 Sp3

- CRforVS_13_0_1

- CRforVS_redist_13_0_1 (for 32bit and 64bit)

I have tried unistalling everything including VS and rebuilding my machine but that didn't work....

What happens is when I create a new project and add a crystal report (or try to use any existing ones) the code behind files are blank and I have the error as below...

Error 1 Custom tool error: "Code generator 'ReportCodeGenerator' failed. Exception stack = CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: The Report Application Server failed

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.ReportClassWriter..ctor(String filePath, String resourceNamespace)

at CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)" c:\users\joele\documents\visual studio 2010\Projects\WindowsFormsApplication1\WindowsFormsApplication1\CrystalReport1.rpt 1 1 WindowsFormsApplication1

Can someone help with this please?

Edited by: jeisner on Sep 13, 2011 9:14 AM