Unable to find the report in the manifest resources. Please build the project, and try again.

Posted on 2007-07-30
Medium Priority
Last Modified: 2012-06-21
I am working on app in Visual Studio 2005 which using CRXIR2SP2 as the reporting solution. We are also using NAnT Here's the problem.  The report builds fine locally in VS2005. However when we deploy it to the sever we recieve an error message: "Unable to find the report in the manifest resources. Please build the project, and try again.". Not sure if VS2005 handles builds the same as NAnt. We've included the rpt as a resource. I've re-created the codebehind files as well by resaving the report.  In the code behind file I specify a namespace. Most of the other issues involving this message involved conversions from VS2003 to VS2005.  Any suggestions would be appreciated.
Question by:stewartchandler

Author Comment

ID: 19598218
Ok, found the solution.

1. Added report files as resources in NAnt.

2. Crystal, when it creates the codebehind for the reports, assigns the fullRescourcename property "ProjectName.ReportsName".  You must specify (in NAnt) this value in order to find  the resouce . e.g  The location you specify in NAnt must match the FullResourceName in the report codebehind.

Accepted Solution

EE_AutoDeleter earned 0 total points
ID: 19769140
Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.


Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question