Last post Apr 16, 2018 09:09 PM by Jener Garcia Menezes
Jun 09, 2010 12:24 PM|LawrenceZ|LINK
I'm making a solution with Visual Studio 2010 using "cr4vs2010". When I start my web app from Visual Studio and I open my report, There is any problem, but if I want to export this file to a .pdf file or to other format, I receive a JS error message:
"Object required" and the debugger marks the following line:
Sometimes in previous versions of CrystalReports I only copy the "aspnet_client" folder in the application root and it works, but in this version of Crystal Reports this folder does not exists.
I have several days stucked with this issue, please I need some help.
Sorry for my bad english, thanks in advance!
Jun 28, 2010 05:51 PM|StealthyPancake|LINK
Check the 'FileName' of the CrystalReportSource, for me I had to add "~\" to the beginning of my path. (aka "~\Views\Reports\ReportSummary.rpt" instead of "Views\Reports\ReportSummary.rpt").
Jun 28, 2010 07:05 PM|StealthyPancake|LINK
My mistake, the addtion of "~\" is for MVC only.
Jul 09, 2010 06:55 AM|hdb8891|LINK
On the web site server you must use the 2008 re-dist for Crystal Reports with the 2010 beta. Check out the white paper you will find here:
2008 re-dist for Crystal Reports with the 2010 beta
Apr 16, 2018 09:09 PM|Jener Garcia Menezes|LINK
My problem was I was closing reportdocument before page render. I put in Page_Unload event the reportDocument.Close() and reportDocument.Dispose() functions and works fine.