Crystal reports display a blank page in C #, asp.net

I have a website in vs2008. I created a crystal report that works great in a DEVELOPMENT environment. But when I publish my site in IIS, the report is never displayed. It just displays a blank page. Can someone tell me how to solve this problem? Thanks

+4
source share
7 answers

If you installed the application on a site other than Default WebSite , try the following:

Decision

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

or in IIS:

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

Cause of the problem

Using client tools (the debug window of your browser) or a server tool (IIS log), you will find that some of the required Crystal files, such as crv.js and style.css , are not served. This is because these files are located by the CR installer in the wwwroot\aspnet_client , but they cannot be reached from other sites installed on the same computer.

I see that you are using different versions of the software and different configurations, but I think you have the same problem.

+5
source

Make sure the folder "2_0_50727" exists in C: \ inetpub \ wwwroot \ aspnet_client \ system_web or your SiteRootFolder \ aspnet_client \ system_web

If it does not exist, copy the folder "4_0_30319" as "2_0_50727".

+3
source

If you use the Submit button to view the report, make sure you use the full postback when you click the submit button. You will find that all pages in the report will work fine.

Note. Use a trigger with the update panel to work with the complete sending of messages (the identifier of the trigger control must be the identifier of the button).

+1
source

Perfect! The solution is to work on IIS as follows:

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

OR

  • Create an aspnet_client virtual directory that points to c: \ inetpub \ wwwroot inside the new website.

Thank you very much

+1
source

if you created a new site instead of using the default website, then you should read the following link

http://www.codeproject.com/Questions/287543/Crystal-Reports-not-rendering-when-webpage-is-serv

he will solve your problem

Good luck.

+1
source

You need to install merge modules on the web server. You can download them from here.

0
source

Check the Crystal Report Run-time run version, for example, if you install version 13.0.1 and your Visual Studio uses 13.0.2, the report will be displayed, but the data will not be displayed.

0
source

All Articles