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

后端 未结 8 1218
孤街浪徒
孤街浪徒 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

    0 讨论(0)
  • 2021-01-12 22:58

    I received the same "Unable to find the report in the manifest resources" error in VS 2010 after manually copying *.rpt and *.vb files into a different solution's directory.

    After checking the embedded resource setting everyone speaks about in this post (it was already set to embedded resource),

    I solved the problem by right-clicking the .rpt file in Solution Explorer and selected "Run Custom Tool".

    0 讨论(0)
提交回复
热议问题