473,406 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Crystal Report file not found after Deploy

Hi,

It is the first time I use Crystal Report and I have a issue.
I have a reportfile (Category.rpt) in my winform project.

When I work in debug mode I can load this report without any problem.

Dim rptDocument as new CrystalDecisions.CrystalReports.Engine.ReportDocum ent
rptDocument.Load("Category.rpt")

After deployement, the program did not find the file (He is looking in the
application data repertory).

How can I :

- Include the rpt file in deployement phase.
- Change my code in order that the load report was fine after deployment?

I have try with path like Application.startupPath, ...

Thanks

Patrick

Apr 13 '07 #1
1 2382
On Fri, 13 Apr 2007 01:26:00 -0700, Pat wrote:
Hi,

It is the first time I use Crystal Report and I have a issue.
I have a reportfile (Category.rpt) in my winform project.

When I work in debug mode I can load this report without any problem.

Dim rptDocument as new CrystalDecisions.CrystalReports.Engine.ReportDocum ent
rptDocument.Load("Category.rpt")

After deployement, the program did not find the file (He is looking in the
application data repertory).

How can I :

- Include the rpt file in deployement phase.
- Change my code in order that the load report was fine after deployment?

I have try with path like Application.startupPath, ...

Thanks

Patrick
Check the build action of the rpt file -- make sure it is content
--
Bits.Bytes
http://bytes.thinkersroom.com
Apr 14 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Mike | last post by:
Hello All, I'm trying to deploy my windows-based application using crystal report. i package the setup by including the crystal report file, the exe file, and two merge modules for the crystal...
0
by: Danny J. Lesandrini | last post by:
First, this is _not_ a question about how to get Crystal Reports to run on a client machine. I've got all the merge modules added to the project and it's working fine. The question is about...
3
by: Richard Hallgren | last post by:
Hi, I have a project that uses Crystal Reports (VS .Net included) and the System.Data namespace. I've managed to deploy the project and to get Crystal Report working on my clients XP based...
0
by: Robert Warnestam | last post by:
Hello, I have some problems deploying Crystal Reports. I'm using Visual Studio 2005 Beta 1. In this version Crystal Reports (9.7.3500.0) is included. I created a small test application...
1
by: bthomas71chevy | last post by:
I have just setup a WebServer and all the applications work fine, but when every any of the applications try to generate a Crystal Report the page errors out. "File or assembly name...
4
by: Aaron Schnieder | last post by:
Hi, I have developed an ASP .NET application which using Crystal Reports for my reporting needs. My local development is Windows XP Pro with IIS and Visual Studio .NET 2003. The ASP .NET site...
2
by: Diogo Alves - Software Developer | last post by:
Hi, I'm desesperate, for long 4 days that I am trying to deploy an application with crystal reports, and it fails... I checked the documentation and it says the merge modules necessary to...
11
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
How can I stop receiving this message while calling a crystal report? "The report you requested requires further information." Thanks
10
parshupooja
by: parshupooja | last post by:
Hey All, I have created asp.net application which includes crystal report page on my local machine, it works fine. but when i try to deploy it to remote server it throws error. I was not even...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.