Crystal report file does not get deployed to server in ASP.NET MVC

Posted by Andrew on Stack Overflow See other posts from Stack Overflow or by Andrew
Published on 2010-04-15T06:11:50Z Indexed on 2010/04/15 6:13 UTC
Read the original article Hit count: 408

I am using a crystal reports through crystal report viewer server side control in a webform.

I am using a webform because the crystal report viewer provides an easy way to export to PDF and to Excel.

My problem is that when I deploy to the server, the crystal report .rpt file does not get copied to the target folder.

My solution structure looks like this:

Solution |-Content |-Controllers |-Models |-Views |-etc... |-Reports |-Default.aspx |-Report.rpt

On the server, the Report.rpt file is missing after I publish.

© Stack Overflow or respective owner

Related posts about asp.net-mvc-2

Related posts about asp.net-3.5sp1