Link to home
Start Free TrialLog in
Avatar of stewartchandler
stewartchandler

asked on

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

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.
Avatar of stewartchandler
stewartchandler

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of EE_AutoDeleter
EE_AutoDeleter

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial