Unable to find the report in the manifest resources - Crystal Report / C#

后端 未结 8 1285
孤街浪徒
孤街浪徒 2021-01-12 22:13

I have a windows application written in C# and am trying to display crystal report using crystal report viewer. The name of my report is \"receiptReport\" and I am using fol

8条回答
  •  醉酒成梦
    2021-01-12 22:55

    A lot of things go wrong with CR after a lot of googling one of these fixes will solve the problem.

    1) Full FullResourceName property in the reports code file (.cs) will be wrong if the containing folder(s) has spaces in its name. The best fix is to rename the folder to remove spaces if you manually edit the code file the error will keep coming back

    2) Make sure the build property of the rtp file is set to Embedded Resource

    3) Use Developer Express for reporting and avoid all headaches in the first place

提交回复
热议问题