Crystal report shows a blank page in ASP.net

Sometimes asp.net web page shows blank page although it is consist of Crystal report viewer.

Cause of Problem

  • Using client tools (debug window of your browser) or server tool (IIS log) you will find that some files (crv.js , style.css ) are not served;
  • these files are placed by CR installer in wwwroot\aspnet_client folder but they cannot be reached;
  • If you installed your application in a website different from Default WebSiteaspnet_clientfolder is not placed inside that website
Solution

The solution is to work on IIS this way:

  • Copy aspnet_client folder from c:\inetpub\wwwroot folder to the new website root folder.

or

  • Create a virtual directory called aspnet_client that points to c:\inetpub\wwwroot inside the new website
  • Toyo

    Whao, so cool. Works fine for me. Thanks man!

  • rupom

    Thank you so so much.

  • Eliecer Marenco

    Muchas gracias, me estaba matando este problema, Thank you so much, this was killing me.