Skip to Content

How to Load crystal report from different server in the crystal report viewer in application

Apr 20 at 06:20 PM


avatar image
Former Member

I have application that is hosted in the cloud and web application server and crystal reports that is created and stored in different dedicated server.

I want to load crystal report file from the different server and display in the crystal report viewer in web application.

How i can load the report file from the different server?

Load Report file code (Local)

var path = "D:\\TestReport\\SampleJobReport.rpt";

ReportDocument cryRpt = new ReportDocument();


reportViewer.ReportSource = cryRpt;

Crystal Report Viewer

<CR:CrystalReportViewer ID="reportViewer" runat="server" HasCrystalLogo="False" RefreshReport="true" AutoDataBind="True" Height="50px" EnableParameterPrompt="true" EnableDatabaseLogonPrompt="true" ToolPanelWidth="200px" Width="350px" ToolPanelView="ParameterPanel" ReuseParameterValuesOnRefresh="True" />

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Don Williams
Apr 20 at 06:22 PM

Change you var path and point to the new location, it will require you to give permission to the folder.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Don,

Thanks for reply.

Crystal report are on different server and database also will be on the same server so if i will give permission to access that folder to my web application server but will crystal report load properly ?


Lots of people are doing this. Try something first, you can find all sorts of samples here:

Look in CR section