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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s