SetDataSource(ds): Crystal Reports print to pdf : Unable to find the report in the manifest resource

Hi Experts,

Pl let me know whats wrong in the following code snippet and if I need to check any seucrity settings.
Thanks in advance.
public void PrepareReport(string reportName, string exportFormat, object parms)
//ParameterFields paramFields;
DataSet mDS ;
case "UserList":
oRD = new GO3.Reports.CReports.UserList();
oRD.SetDataSource(mDS.Tables[0]);<<<---***** Exception here

amespace GO3.Reports.CReports {
using System;
using System.ComponentModel;
using CrystalDecisions.Shared;
using CrystalDecisions.ReportSource;
using CrystalDecisions.CrystalReports.Engine;

public class UserList : ReportClass {

public UserList() {

public override string ResourceName {
get {
return "UserList.rpt";
set {
// Do nothing
I am getting -
"Unable to find the report in the manifest resources. Please build the project, and try again.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: CrystalDecisions.CrystalReports.Engine.InternalException: "Unable to find the report in the manifest resources. Please build the project, and try again.
***** I have checked the rpt property is set as 'Embaded Resource'. Am I missing anyting..?
Using 9.0.2 Crystal with VS 2003.
Thanks for your time and the comments.
2/4/2005 7:49:44 PM 7043 articles. 0 followers. Follow

2 Replies

Similar Articles

[PageSpeed] 17

A few more points :

DataSet and Schema do match
Dataset looks good, its not currupt
Whats else it could be...? thx..
2/4/2005 10:30:04 PM
Well, figured out, it was the name space problem. If you are having similar problems may be this could help you debug -

a/chk the rpt name space
b/directory permissions (aspnet) and make sure those are 'web directories'
c/shema files and db fields
d/ table names should match
2/8/2005 10:27:53 PM

Similar Artilces:

Converting Crystal Reports 9 report to Crystal Reports .NET report
I have a web page that is supposed to display a crystal report.  The report is fully written and functional in crystal 9 (non-.Net)  .  Is there a way to convert my .rpt so that I can just include it in the new web site? why you don't try to compile project with .net and include your report. then if crystal report is power tool will suggests you with conversation tool    My blog is here.Please remember to 'Mark as Answer' if this post answered your question! Wow it really was that easy!  I just added the old crystal report into my .NET proj...

crystal reports .net -> crystal reports .net 2003
recently converted a project from .net to .net 2003. The 2 crystal reports I had in the project do not load when executing the application. The project itself within 2003 will allow me to multiplat the crystal reports, however when it comes to execution time I get the error: Invalid Data Source. If this isn't the right forum please point me to the right one as this is really the only website I know of with a large reader base. >to multiplat the crystal reports To what the crystal reports? Do you have the same database connections established and verified in your 2003 s...

Crystal: Unable to find the report in the manifest resources
whenever i try to use a crystal report i get the error "Unable to find the report in the manifest resources" though- three crystal assemblies have been added automatically- the report is marked as "Embedded resource"- the report (and the code-behind) was recreated (namespace etc. are correct)here's some source: IssueStateList myReportClass = new IssueStateList();myReportClass.SetDataSource(myDataSet);the first line works, the second (or any other operation with myReportClass) throws the i doing something wrong, are there any general problems using crystal with vs...

integration of Crystal Report with .NET ; crystal report viewer not displaying in Toolbox
Hi I m new to Visual Web Developer 2005 Express Edition. I want to integrate Crystal Report with .NET. In my Toolbox , Crystal Report Viewer is not displaying. How to make it possible? + How to call my report from 2.0. Need source code plz.*Share Knowledge Every TIME Crystal Reports for .NET does not come with VWD Express.  It only comes with VS 2005 Professional (I'm not sure about the Standard edition).If you have Crystal Reports 10 or XI, you can installed the .NET libraries for Crystal and then use them within VWD Express, noting that you have to build your reports ...

Are there other reporting tools other than reporting services and crystal reports
Has anyone had any experience with any reporting tools other than Reporting services and Crystal reports? If so, is there one that you would strongly recommend? Or, are these two the top choice on the market for report generation from .NET? I have heard some moaning and groaning about reporting services. Specifically in regards to the amount of time needed to design a report. Crystal reports seems kind of difficult to me, as I don't have any training with it. Basically I am looking for a reporting tool that is easy to use, and can be used from .NET....

Cassini, VS.Net and Crystal Reports
Hi,I am working with Win XP home, Cassini and VS.Net.I would like to play with some Crystal Reports.I create the report in VS as CrystalReport1.I put a CrystalReportViewer on my web form. It does not get recognized as a defined object type but there are no build errors.When I run the app I get an error: Type 'CrystalReport1' is not defined.I have googled on this and see several things people have suggested/tried to correct this. Most I have already tried or the suggestions are not very clear to me. Then I came across a msg that instructed me to set up virtual directories for IIS for CrystalR...

VS .net 2005 Crystal reports ok to run on Crystal Reports XI?
I am getting mixed messages from the website hosting providers - some say they do not support Crystal Reports due to a $25,000 per cpu licensing fee, others say all I need to do is install Crystal Reports XI (about $500) on a dedicated server and it will run fine. Will Reports developed with the embeded Crystal Reports in VS 2005 run in a Crystal Reports XI environment? Thanks....

Export Crystal Report to Crystal Report format
I looked at some sample code provided by crystaldecisions, and they have the ability to export a web crystal report to a crystal report. I was assuming that this would cause the local instance of Crystal reports on the client machine to be invoked. I tried this in my project, and I get the following error: Error Encountered by Crystal Web Report Server -------------------------------------------------------------------------------- The error message returned is: Connection to Report Server Failed. It creates the file as an .rpt file in the directory it should. Do I need a dif...

Export Crystal report to PDF report
Hello, Does anyone knows how to export the Crystal report (.rpt) to the PDF report in c#?  Thanks  Don't say thanks rather mark my reply as "Answer" if it helps you ,Doing so u'll get points tooamiT jaiNC#.NET Articles Hi, You can use the following  rptDoc.ExportToHttpRespons...

How to Print Z Report in Crystal Report?
Hi How can I Create Z report on Crystal Report by Z i mean Second Row Should be to the next of the First One Like This First Row Second Row Third Row Forth Row Fifth Row Sixth Row Can anyone help me here? any one?!  You can achieve this by checking "Format with multiple column" in Section Expert. And in layout tab checked 'Accross then down'. Detail --> Format Section -->Checked 'Format with multiple column'  Detail --> Format Section --> Layoutchecked 'Accross then down' This may help.Thanks, &n...

How to render pdf directly on crystal report viewer (WHEN crystal report expects user input before rendering)
  If a crystal report do not need any parameter  or, if parameters can be supplied using code-behind (without user help), I am able to render a pdf on crystal report viewer. BUT if a crystal report needs user input then how do I reneder a PDF on crystal report viewer? I see a parameter-asking dialog-box from crystal report where user supplies input values and hit OK button, but then on click of OK button do I have control what gets rendered a crystal report or, a pdf or, doc?  Or, can I set crystal report viewer control property to say that report need to be rend...

Printing Crystal Report as a PDF in .Net
The Crystal Reports version interface with VB.Net version 1.1.4322 SP1 just plain stinks! When I"m in Crystal Reports and I export the report to PDF everything is fine.  But when I run the Report through .Net and export it as a PDF file on a web page, it changes the fonts and it displays page numbers as "Page 1 of 1 and Page 2 of 1" instead of as "Page 1 of  2 and Page 2 of 2". How do you fix this problem?     What do you mean by "export as PDF on a web page"?  From what you describe, it sounds like your output format is HTML, not PDF. ...

Reporting (Crystal Reports vs. Custom .NET)
Ok, so I have to confess, I have never tried Crystal Reports. I just recently started working for a marketing company now and reporting is VERY important to them.  I am currently migrating a lot of the applications they use from VB5 and VB6 to web based .NET 3.5 apps.   The whole company is running off ACCESS databases if you can believe that.  They sometimes have up to a few hundred agents taking sales on incoming calls and chat sessions and they are all getting streamed to FLAT file records (completely un-normalized database).  I am in the process of developing a c...

Button that will print the report from Crystal Report
Hi.,Please help me, i have a data driven page, i am new to crystal report,  i am just starting to experiment the capabilities of how to make a report, can you please help me, when i made a report, i need to print that report, ofcourse, but how??i mean can i just put a button in my page that says Print then it will print the report that i made???if so, How?thanks for the help.,BTW, i am using VS2005, JFRBPH12™ Hi, Let me know if this helps :;jsessionid=78B84A7B053037C324D7E78AD361D5E9?cmd=displayKC&docTyp...

Web resources about - SetDataSource(ds): Crystal Reports print to pdf : Unable to find the report in the manifest resource -

Hottest 'android-resources' Answers - Stack Overflow
current community chat blog Stack Overflow Meta Stack Overflow Stack Overflow Careers your communities Sign up or log in to customize your list. ...

All Tags / Functions
All Tags / Functions c:catch c:choose c:forEach c:forTokens c:if c:import c:otherwise c:out c:param c:redirect c:remove c:set c:url ...

CodeSOD: Which Would YOU Rather Support?
... NamedParametersJdbcDaoSupport { private String truncateTempTableSql ; public TheDao ( DataSource ds , String sql ) { super ( ) ; setDataSource ...

Play the sound already
... from our contextAssetFileDescriptor afd = mContext.getAssets().openFd(filename);// media player created in idle state (always call setDataSource ...

Getting started - DynamicReports
... report design .columns(...) //adds columns .groupBy(...) //adds groups .subtotalsAtSummary(...) //adds subtotals ... //set datasource .setDataSource(...) ...

Testing Spring & Hibernate Without XML
I’m very keen on the improvements in Spring 3 that eventually let you move away from XML into plain Java configuration with proper support from ...

Resources last updated: 1/16/2016 9:28:50 AM