Tuesday, May 12, 2009

The report definition for report 'path' has not been specified

The full errormessage is:
The report definition for report 'path' has not been specified. Could not find file 'path'.



If you use an installer to install your webapplication, this error might occur when you try to run a local report (rdlc).

The solution is to set the property "Build Action" of the rdlc to "Content". Now your installer will copy the physical rdlc.



Thanks to my colleague Kris S.

9 comments:

  1. thank you.. this solved my problem

    ReplyDelete
  2. Thanks...This really cut down on the amount of time it would have took me to figure this out on my own!

    ReplyDelete
  3. There are handfuls of forums out there with the wrong solution to this very common problem. Kudos to getting it right!

    ReplyDelete
  4. EXCELLENT BRO... i WASTED A LOT OF TIME BREAKING MY HEAD AND GOOGLING ALL OVER..

    ReplyDelete
  5. Thanks. The best solution

    ReplyDelete
  6. Thank you.

    Also ensure that the rdlc file is in a separate folder and set
    LocalReport ReportPath ="Report\abc.rdlc"

    That solve it for me.

    ReplyDelete
  7. This comment has been removed by a blog administrator.

    ReplyDelete