简体   繁体   中英

Error “Load Report Failed” before a few reports generated asp.net crystal reports

I?m using crystal reports in a asp application, when I install in a server (IIS) before a few time using the application an generating reports start to show that message,

here is how I call all the reports

reporte = ReportFactory.GetReport(reporte.GetType());
reporte.Load(Server.MapPath("~/Rpt/rptVtaTelefonicaAdmin.rpt"));

http://s1043.photobucket.com/user/jmperez97/media/2016-11-23_09h38_55_zpsrlahvrqs.png.html?filters[user]=145882609&filters[recent]=1&sort=1&o=1

Any idea why this appear?

Ps: I'm using .net 3.5 crystaldecitions.Cristalreports.engine V 2.0.50727

The "load report failed" error message can be caused by several factors:

  1. crystal report is not properly configured on your machine
  2. crystal report assemblies installed on your machine do not reflect the assemblies you have on your web.config
  3. crystal version installed on the server is different with the one you want to invoke from your site
  4. application pool where your reports run is not set to LOCAL SERVICE
  5. read and write permission is not enabled on your root folder
  6. crystalreportviewer folder is not copied to your operating folder.

Source

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM