Last post Jul 13, 2011 01:17 AM by anandsaripalli
Jul 08, 2011 07:14 AM|anandsaripalli|LINK
I am using CR viewer for reporting.
All works great in displaying the report in the viewer, print/export of reports on my dev environment.
However when deployed on Server, the print/export buttons in toolbar give the java-script error and shows Page not found error.
On R & D, I have copied the content of this whole structure "C:\inetpub\wwwroot\aspnet_client\System_Web\2_0_50727\CrystalReportWebFormViewer4", to the webserver and created a virtual directory to point to this path.
Even this too does not work.
Please help me..
Thanks in advance.
Jul 08, 2011 10:12 PM|necro_mancer|LINK
May I know how did you host your reports? Do you host it with any host provider? You mentioned that the reports work great on dev server, but fails on production server. This clearly shows that the problem is with the production server.
Do you have full access to the server? If not, you need to contact the server admin to have this issue addressed. If they still cannot have it resolved, you can look for other crystal report provider. One that I can recommend is
asphostcentral.com. Hope this helps
Jul 12, 2011 02:57 AM|Damon Liu - MSFT|LINK
Set your UpdatePanel's UpdateMode to Conditional.
Then set a postback trigger to the button you use to begin your report exporting/printing. The full postback is a necessity since the response cannot be modified during an async postback
<asp:UpdatePanel ID="updatePanel" runat="server" UpdateMode="Conditional">
<asp:PostBackTrigger ControlID="btnPrint" />
<asp:Button ID="btnPrint" runat="server" Text="Print" Width="72px" />
Jul 13, 2011 01:17 AM|anandsaripalli|LINK
Yes. The problem is with the production server itself. I do have provided full access rights.
Actually Iam trying to post the error, but the server is down now.
I am not using update panel. It is just a CrystalReportViewer.