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

Posted on 2007-07-30
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

    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

    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.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
    As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
    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.…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    760 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

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now