christophertozer
asked on
Email from Crystal Viewer as a PDF
I have created a report from ASP which previews in Crystal Viewer. I want the user to be able to hit a button to create an email pop-up with a PDF of the report attached ready to mail. Is this possible ? If so I would appreciate some pointers on how to do this.
Thanks Chris
Thanks Chris
ASKER
I am using version 9 viewer that comes with VS2003, do you need V10 to view the examples ? I have followed the instructions in the Readme but get the error "Error: Could not connect to the Web Component Server"
A further question; Neglected to state in my original question that this is a Web form not a Windows form, can this functionality still be used ?
A further question; Neglected to state in my original question that this is a Web form not a Windows form, can this functionality still be used ?
ASKER
Downloaded the CR V11 upgrade & installed it. Opened my Project & upgraded as VS suggested but the report will no longer preview. I have tried adding a new viewer & re-attaching the report and also re-saving in CR11 and then re-attaching the report but to no avail. I no longer get a .rpt tab in VS if this is significant. The error page I am seeing is as follows:
Not enough memory for operation.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServ ices.COMEx ception: Not enough memory for operation.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[COMException (0x80041004): Not enough memory for operation.]
CrystalDecisions.ReportApp Server.Cli entDoc.Rep ortClientD ocumentCla ss.Open(Ob ject& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportApp Server.Rep ortClientD ocumentWra pper.Open( Object& DocumentPath, Int32 Options)
CrystalDecisions.ReportApp Server.Rep ortClientD ocumentWra pper.Ensur eDocumentI sOpened()
[Exception: Load report failed.]
CrystalDecisions.ReportApp Server.Rep ortClientD ocumentWra pper.Ensur eDocumentI sOpened()
CrystalDecisions.CrystalRe ports.Engi ne.ReportD ocument.Lo ad(String filename, OpenReportMethod openMethod, Int16 parentJob)
CrystalDecisions.CrystalRe ports.Engi ne.ReportC lass.Load( String reportName, OpenReportMethod openMethod, Int16 parentJob)
CrystalDecisions.CrystalRe ports.Engi ne.ReportD ocument.s( )
CrystalDecisions.CrystalRe ports.Engi ne.ReportD ocument.ge t_DataDefi nition()
CR2.WebForm1.Page_Load(Obj ect sender, EventArgs e)
System.Web.UI.Control.OnLo ad(EventAr gs e)
System.Web.UI.Control.Load Recursive( )
System.Web.UI.Page.Process RequestMai n()
Help please !
Not enough memory for operation.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServ
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[COMException (0x80041004): Not enough memory for operation.]
CrystalDecisions.ReportApp
CrystalDecisions.ReportApp
CrystalDecisions.ReportApp
[Exception: Load report failed.]
CrystalDecisions.ReportApp
CrystalDecisions.CrystalRe
CrystalDecisions.CrystalRe
CrystalDecisions.CrystalRe
CrystalDecisions.CrystalRe
CR2.WebForm1.Page_Load(Obj
System.Web.UI.Control.OnLo
System.Web.UI.Control.Load
System.Web.UI.Page.Process
Help please !
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad i oculd help
mlmcc
mlmcc
Which version of Crystal?
Look at these examples
http://support.businessobjects.com/communityCS/FilesAndUpdates/aspxmps10.exe.asp
mlmcc