472,981 Members | 1,459 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Invalid report file path

Hello,

I'm new to Crystal reports. Recently I developed my first report, using
class as a datasource, and it works OK. But when I created a second report,
I started getting error: "Invalid report file path".

I'm using exactly the same class as a datasource, and the path to the report
is correct. I've checked the report folder permissions - they are OK. I'd
searched Google and found quite a few posts about similar issues, but they
didn't help me much.

What else might be a source of this error? When I debug my application, I
don't see anything abnormal. The connection to the SQL server database is
OK, the class is getting populated with the records. So I don't know where
else to look.

I would appreciate any advice.

Thank you,

Peter

Jun 27 '08 #1
2 5084
can you provide sample code highlighting where the error occurs

Kind regards

Rob

"Peter Afonin" <pe****@gudzon.netwrote in message
news:eT**************@TK2MSFTNGP02.phx.gbl...
Hello,

I'm new to Crystal reports. Recently I developed my first report, using
class as a datasource, and it works OK. But when I created a second
report, I started getting error: "Invalid report file path".

I'm using exactly the same class as a datasource, and the path to the
report is correct. I've checked the report folder permissions - they are
OK. I'd searched Google and found quite a few posts about similar issues,
but they didn't help me much.

What else might be a source of this error? When I debug my application, I
don't see anything abnormal. The connection to the SQL server database is
OK, the class is getting populated with the records. So I don't know where
else to look.

I would appreciate any advice.

Thank you,

Peter
Jun 27 '08 #2
Rob, thank you, I've found the problem. One of the fields in the table
contained NULL value, and this was causing the problem.

The error message was so confusing, that I was looking into the wrong
direction.

--
Peter Afonin
"Rob Blackmore" wrote:
can you provide sample code highlighting where the error occurs

Kind regards

Rob

"Peter Afonin" <pe****@gudzon.netwrote in message
news:eT**************@TK2MSFTNGP02.phx.gbl...
Hello,

I'm new to Crystal reports. Recently I developed my first report, using
class as a datasource, and it works OK. But when I created a second
report, I started getting error: "Invalid report file path".

I'm using exactly the same class as a datasource, and the path to the
report is correct. I've checked the report folder permissions - they are
OK. I'd searched Google and found quite a few posts about similar issues,
but they didn't help me much.

What else might be a source of this error? When I debug my application, I
don't see anything abnormal. The connection to the SQL server database is
OK, the class is getting populated with the records. So I don't know where
else to look.

I would appreciate any advice.

Thank you,

Peter
Jun 27 '08 #3

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

Similar topics

2
by: tc | last post by:
hi all, I would like to know how to export a cyrstal report to pdf by using the crystal report viewer without prompt up a dialog for user to enter the file name, i.e. I want to place the file...
8
by: Glenn A. Harlan | last post by:
Why am I receiving the below error when calling - Path.GetTempFileName() The directory name is invalid. Description: An unhandled exception occurred during the execution of the current web...
2
by: Jason Cartwright | last post by:
I have an abstract base class and two derived classes that I want to serialize and deserialize with schema validation. When I serialize instances of the derived classes the XmlSerializer adds the...
0
by: Nicola George | last post by:
Hi all, I hope someone can help me as I'm going a bit metal with this problem. I have a project in ASP.NET, within this project I have Crystal Report called Catalogue. On an asp page I have a...
3
by: Anders Jansson | last post by:
Hi all. I have 2 problems when I try to open and convert an ASP.NET VS 2003 web-applikation in VS 2005. In VS 2003 I have no problems at all! First: One subfolder with will not be converted!...
1
by: MikeD | last post by:
Hi, I'm accessing a FoxPro database via ole db using Reporting Services Data Extensions and ths works fine on my local report server. However, when I deploy the report to the live report server...
5
by: Grant Edwards | last post by:
I'm trying to use the py-gnuplot module on windows, and have been unable to get it to work reliably under Win2K and WinXP. By default, it uses popen(gnuplotcmd,'w'), but in some situations that...
2
by: smorrison64 | last post by:
I have a form that is coded to open a File Dialog boc to pick a picture to display on that particular item on a subform. My form is not based on query, but rather two separate tables (one primary,...
2
by: Thefire | last post by:
Hello All i am using Bisness object Crystal Report XI version and installed it on my server. I have checked to installed as server. I am using the following code to connect and display the Report...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...

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.