Click here to Skip to main content
15,886,798 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am using Crystal report for showing report in my ASP.Net application. I'm using Crystal report viewer for showing reports.

Here in Crystal Report viewer's toolbar we have an "Export" button. While i click, i got an Popup, to choose the format to export at the same time i found my report(ReportViewer) is empty(Not showing) and says "Load Report Failed".

Even i continue with that popup and choose "Excel" format. It shows "System cannot find the Path Specified" Error in my Popup.


Where should i specify the path for export that report?? It doesn't shows any dialog to pick the save location for my report.
But i need to export it without any external .aspx controls.

Please help me out.
Posted
Updated 29-Oct-11 22:44pm
v2
Comments
Uday P.Singh 30-Oct-11 4:55am    
is it showing reports on page?

1 solution

The Crystal Reports toolbar export and print functions for ASP.NET are driven by javascript functions. The error you are receiving is because the javascript files are not present on the server.

The solution to your problem is:

copy the 'aspnet_client' folder from 'C:\Inetpub\wwwroot' to 'C:\Inetpub\wwwroot\your-website-name'.

hope it helps :)
 
Share this answer
 
Comments
J.Karthick 30-Oct-11 7:03am    
Very thanks for your reply Uday P.Singh...
But i can't find path 'C:\Inetpub\wwwroot\MyWebsite' in my Local System.
Where should i find it??
Please help....
Uday P.Singh 30-Oct-11 12:52pm    
Are you using IIS?
J.Karthick 31-Oct-11 2:52am    
yes...i used it in both my Local System(Development PC) and Server obviously.
J.Karthick 31-Oct-11 3:02am    
From your point i just copy paste 'aspnet_client' folder from 'C:\Inetpub\wwwroot' to my publish folder 'D:\xxxx'.(Actually i publish my application in Separate folder)

Even it throws same error... :(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900