473,756 Members | 2,652 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Load Report Failed error in crystal reports with vb.net?

139 New Member
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 rptDocument As New CrystalDecision s.CrystalReport s.Engine.Report Document
Dim strReportPath As String = "CR_Salary. rpt"
rptDocument.Loa d(strReportPath , CrystalDecision s.Shared.OpenRe portMethod.Open ReportByTempCop y)
ds_sal.ReadXml( Server.MapPath( "../Export_to_xml/dgxml.xml"))
rptDocument.Set DataSource(ds_s al)
cr_salsht.Repor tSource = rptDocument
Apr 5 '08 #1
0 1785

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2074
by: RH | last post by:
Hi, I've made an asp.net application which includes some Crystal Reports. When deploying the app to a Windows server 2003, I get a "Load Report failed" when trying to open a report. On my WinXP development machine I have no problems opening reports. Even on other XP development machines all reports work fine. I've deployed the app to a Win2k Server, and to my surprise the reports work ok! It seems to be an issue with Windows server 2003,...
0
1529
by: viki | last post by:
Hi, I developed an asp.net web application with crystal reports . Everything works find in the development machine, i deployed using the websetup project including the merge modules. But in the server two reports works fine but the other one always shows "Load Report Failed". This is not concerned with the security, because the other two reports access the same database and stored in the same location and works fine. Then what is the...
1
1912
by: Roy | last post by:
Hey all, I have a VB App which uses the bundled version of Crystal Reports for VS.NET 2003. It works fine in when I run it using VS *but* when I deploy it anywhere (including the development PC itself) it won't load a report and displays the cryptic "Load Report Failed" error. It's frustrating. Why would it work great on my machine using the VS "Start" option, but fail to work when I try to run it as an executable?
0
3153
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. --------------------- Load report failed. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information
2
3296
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 Report Viewer, I get a "Load Report Failed" error, and I'm not sure what I can do to resolve it. I know it's not the connection to the data -- I'm able to get a datagrid to display the data just fine after filling a dataset. I tried searching the...
0
1709
by: T.J. | last post by:
I have gotten great help here in the past, and after searching and researching this error, I felt I would turn to the board and see if I could come across any further assistance. Any advice will be greatly appreciated. I have a VB.Net project that has a List Box Control that lists out all Crystal Reports stored in the project's /bin folder (all .rpt files). Once one of the report names are double clicked the Crystal Report Viewer...
1
5510
by: Andreas | last post by:
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");
0
1400
by: =?Utf-8?B?VkM=?= | last post by:
Good Afternoon, I created a new "ASP.NET Crystal Reports Website" within Visual Studio 2005, and used an existing report which I had just created from Crystal XI R2. The report only pulls to fields, and no select criteria, this was for testing only. When I run the page, I get 3 lines of error messages: 1) Load report failed 2) CrystalReportViewer - CrystalReportViewer1 3) Error: Object reference not set to an instance of an object.
0
854
by: =?Utf-8?B?U2hlbGRvbg==?= | last post by:
Hello - I have created a Visual Studio 2008 project that includes some Crystal Reports. I embedded them in the project and used the Crystal Reports in VS 2008 to create them. I have no problem getting the reports on my development machine, but when I install it on a client machine, I get "Load Report Failed." Any help will be greatly appreciated!!
0
9455
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
9271
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
10031
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
9838
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9708
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8709
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6534
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();...
1
3805
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3354
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.