Skip to Content
0
Former Member
Feb 19, 2009 at 06:22 PM

Creating a new reports document

44 Views

Hi everyone,

Iu2019m having an issue using In-Proc RAS when creating a new report document in .NET. The following code (C#) will fail (Saying that it requires a Loaded RPT file to do anything against that member)u2026

CrystalDecisions.CrystalReports.Engine.ReportDocument myTest = new CrystalDecisions.CrystalReports.Engine.ReportDocument();

myTest.ReportClientDocument.New()

How are you suppose to create a new blank document using the CrystalReports engine? The only way I can do anything with the above object is to actually load a .RPT file. Itu2019s different then when using the RAS SDK which goes like:

ReportClientDocument objClientDoc = new ReportClientDocument(); //this is a ReportAppServer object

u2026Set The Report Server Nameu2026

objClientDoc.New();

Thanks for the help!

Peter