Deploying rdlc report on IIS inside asp.net web application

Hi,

I had a new problem recently about deploying the rdlc reports on IIS server. The problem was, when I publish the application, report inside the “Reports” folder was not copied

When I included my .rdlc files they would not output during a publish as well.

To solve this click on the file, go to the properties

Under ‘Build Action’ my project had the setting of ‘Embedded Resource’.

Changing this setting to ‘Content’ fixed this issue for me.

Also Set Copy to Output Directory – Do not copy

 

And you are done.

 

🙂

Advertisements