Click here to Skip to main content
12,405,868 members (44,245 online)
Rate this:
 
Please Sign up or sign in to vote.
Hi,

I am using following link to make a report,

Generate a Report using Crystal Reports in Visual Studio 2010

when I was add a table on report viewer and run my project then it will get an
error "Load report failed" on following line,

rptDoc.Load(Server.MapPath("../Reports/SimpleReports.rpt")); 

I have also run my project under administrator rights but still it gets the same error.

please guided me regarding how to load the report.
Posted 7-Dec-11 20:35pm
Updated 7-Dec-11 20:38pm
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
thatraja 8-Dec-11 2:49am
   
Right, 5! but what about other cases, see mine
kunal naik 9-Dec-11 0:10am
   
thanks for your reply but I already go through the link which you give, it doesn't solve the error which I have during running the project.
I have occur an CrystalReportException error under which that report does not load. So how I load the report in VS 2010 Crystal Report.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  
v2
Comments
koolprasad2003 8-Dec-11 3:29am
   
Yes.5.
kunal naik 9-Dec-11 0:11am
   
thanks for your reply but I already go through the links which you give, it doesn't solve the error which I have during running the project.
I have occur an CrystalReportException error under which that report does not load. So how I load the report in VS 2010 Crystal Report.
thatraja 9-Dec-11 0:27am
   
Check my updated answer. I have created a new Tip/Trick(3rd link in answer) with more possible cases. Check it & give my feedback there.
Monjurul Habib 9-Dec-11 0:48am
   
nice links, 5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 9 Dec 2011
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100