By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,105 Members | 2,569 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,105 IT Pros & Developers. It's quick & easy.

Invalid report file path

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.