Click here to Skip to main content
15,921,793 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am using below code ,(linq,wcf,asp.net)
page_load()
{
reportDocument rd=new reportDocument();
rd.load(server.MapPath("CrystalReport1.rpt"));//Error this line Error:Load report failed.
rd.setDataSource(rd);
crystalreportviewer crv=new crystalreportviewer();

crv.reportSource=rd;
crv.databind();
}


any alternate method for rd.load(server.MapPath("CrystalReport1.rpt"));


if you know please tell me.
or otherwise why like that error occur.
???????? Waiting ur Results.
By Mohan
Posted

1 solution

 
Share this answer
 

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