PC Review


Reply
Thread Tools Rate Thread

Crystal reports error

 
 
Franck
Guest
Posts: n/a
 
      6th Dec 2007
I have a problem in the designer of Crystal report under C#(2005).
All worked ok until a certain point where i add a section and when i
save it cannot run anymore and give me this error

==========================================
Error 1 Custom tool error: "Code generator 'ReportCodeGenerator'
failed. Exception stack = System.Exception: Load report failed. --->
System.Runtime.InteropServices.COMException (0x80000206):
Error in File C:\DOCUME~1\[username]\LOCALS~1\Temp\SpecMasterReport
{66EFA376-D451-4A3B-B4C8-62921FC7BE56}.rpt:
Invalid section.
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:\Documents and Settings\
[username]\My Documents\Visual Studio 2005\Projects\Customers
\ListViewApplication\Reports\SpecMasterReport.rpt 1 1
CustomersApplication
================================================

when check at the report it is ok, but the class it create by default
behind is now empty. To fix this i have to delete the last section i
made and copy paste the .cs file i have in backup in the one in my
project. If i save from there the report work but i don't have my new
section. If i recreate it and save it does that again. So i seems that
i can't add another section. Is there any maximum section amount ???

if i don't add any new section i can even see the report in my form
with the report viewer.


i just have 86 section so far. if i would be able i would need about
450-500 sections.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Reports - Error Kuldeep Microsoft ASP .NET 0 7th Oct 2006 12:56 PM
Crystal Reports Does Not Display BLOB Field Correctly in IBlobField Control Using Crystal Reports for VS.NET 2003 Jeff Microsoft Dot NET 0 4th May 2006 09:21 PM
error with Crystal Reports 9 in VS 2k3 Chris Bates Microsoft Dot NET 1 26th Oct 2004 11:02 PM
crystal reports error Patrick Microsoft ADO .NET 3 3rd Aug 2004 11:42 PM
Crystal Reports error in my C# app Mike Microsoft C# .NET 0 5th Oct 2003 09:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:42 AM.