473,804 Members | 3,312 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5151
can you provide sample code highlighting where the error occurs

Kind regards

Rob

"Peter Afonin" <pe****@gudzon. netwrote in message
news:eT******** ******@TK2MSFTN GP02.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******** ******@TK2MSFTN GP02.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
2844
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 path and name in my codings. I know it can be done by using report document class. However, I am using report web service. So I can specified a report name in my case. Any idea? Besides, is there any newsgroup about C#.NET and crystal report .NET?
8
17501
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 request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.IOException: The directory name is invalid.
2
3306
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 xsi:type="DerivedClass" attribute and the Instance Namespace. When I attempt to validate the xml upon deserialization the XmlValidatingReader chokes on this attribute value. I can't seem to find a way around this. Any suggestions?
0
1888
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 report viewer control (vwrReportViewer) and a report document control (reportDocument1). On the load of the page I have the following code. reportDocument1 = GetCatalogueSampleReport(DBConnectionString(this.Session),
3
2229
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! The converted web project are missing this subfolder completely. 39 errors are displayed in the Conversion Report saying: ERROR: Unable to get local copy of file <file>. Why? All files are there and readable!!
1
3258
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 I'm getting the error 'Invalid path or file name' The FoxPro database is on a separate server and the connection string is : string connectionString = @"provider=vfpoledb;" + @"data source='\\server\data\foxpro.dbc';" +
5
14332
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 consistently gets an "invalid operand" IOError when write() is called on the pipe. So I switched to subprocess. It works fine when executed "normally" (e.g. "python progname.py"), but when bundled by py2exe, it always does this:
2
16693
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, one sub). That code is working properly. How do I get that to translate to my report? I use VBA code because I use formats other than BMP for the pictures. Would basing the form on the qury that the report is based on solve the issue without...
2
9179
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 file i have created with store procedure in Sql Server 2005. The code is as below:::: _______________________________________________________ 1. SimplePreviewReport.asp <%@ LANGUAGE="VBSCRIPT" %>
0
9708
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9588
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10589
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
7625
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6857
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5527
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5663
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3828
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2999
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.