473,386 Members | 1,708 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,386 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 5120
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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...

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.