Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
5.00/5 (1 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,

C#
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
Updated 7-Dec-11 20:38pm
v2

 
Share this answer
 
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.
 
Share this answer
 
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900