Deploying reports in ReportViewer

Report Viewer is a powerful tool to create standard reports both in Windows forms and in web forms. The report is designed in .rdlc format. In some cases, while deploying the application, you may get an error message saying that "Unable to find something.rdlc file" in your hosting space.

Don't worry about it, we can solve that :)

The first approach is to copy and paste (through ftp) the rdlc files to the reports folder(as the same in your project) to the server.

Second approach is to right click on the rdlc file and select properties. Change the Build Action from "Embedded Resource" to "Content".

Thats all... You are done... :)

No comments:

Post a Comment