473,406 Members | 2,439 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.

Load report failed

I am tryng to load a Crystal Report in Visual Studio 2005 but I'll get "Load
report failed"...

I have tryed to load the file with a FileStream and it works without error
so I can load the file as I have understand it...

My simple code to test report loading:

string reportPath = Server.MapPath("report.rpt");

try
{
FileStream fs = new FileStream(reportPath, FileMode.Open);
}
catch(Exception ex)
{
// Something went wrong
}

crystalReportViewer.ReportSource = reportPath;

The strange thing is that everything works fine if I'm working on my local
machine but not on my DevelopingServer... What's the difference? Both have
VS2005 with crystal reports 10 but my local machine have win XP and the
DevelopingServer have win2003...
Apr 20 '06 #1
1 5482
See the following:

http://aspadvice.com/blogs/rjdudley/...5/18/2591.aspx

If the same happens to you, just re-start the IIS. That worked fine.
Anyway, as Richard Dudley says, it is a crappy solution because we
can`t ensure that this problem won´t happen again

Apr 25 '06 #2

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

Similar topics

2
by: Oldhandandy | last post by:
I've deployed a package with a number of crystal reports which use the CrystalReportViewer. I've set the path of the reports in the ReportSource property. This path is within the development folder...
1
by: keefah | last post by:
Hi, I can't seem to get past this problem, though I've tried multiple examples off the web. I've registered integrated Crystal (VS.NET 2003 Pro). I've made sure the assemblies are all there. I've...
1
by: Seema | last post by:
Hello I am trying to create a normal report , i tried 3 ways. 1. Connecting to SQL db table 2. Creating dataset.xsd and using the same as datasource while creating a report and passing ...
0
by: Simon | last post by:
Hi I try to open a CR report file located on the network path from a web form developed with vs2003 and CR for Visual Studio, but the Load method of ReportDocument object always return error. ...
2
by: Diana Estrada | last post by:
Hi, I have a ASP .Net, and in this I load a report or Crystal, with this instruction: crReportDocument.Load(Server.MapPath("") & "reporte.rpt"); It's good, but when I try to load a remote...
2
by: Jeff_Mac | last post by:
Hi there. I'm a bit of a newbie, and I would appreciate any help that anyone can give me on an error I'm getting with Crystal Reports. Every time I attempt to view a report using the Crystal...
0
by: Vetril Group | last post by:
sir , myself priji kuriaksoe, i am facing one problem in deployement of crystalreports ? actually error shows like this report load failed , in my system this is properly working, i will create...
0
by: bhappy | last post by:
Hai All, Im genarating a report using crystal reports, i have one crystal report page name "cr_salary.rpt" when im accessing this page i got an error load report failed.. vb.net code: Dim...
4
by: vinod allapu | last post by:
hi, In my project im using crystal report. I could able to run with no error in my PC. but after hosting my .rpt file and report.aspx file which has CR:CrystalReportViewer linked to .rpt file...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.