User991499041 posted
Hi HaxNain,
Crystal report is not Showing after publish..
only blank page is displaying
.aspx webform page is using to display CR in ASP.net MVC 5 with visual studio 2017
Crystal Report requires few configurations to be added into the web.config files. Some of them are inserted when you add a Crystal Report to the Project. A Web.Config file in an XML File where application configuration information such as database
connection information, assembly references, etc. are stored
Crystal Reports Require Viewers Virtual Directory is setup correctly on the development as well as production web servers. Crystal Reports relies on a virtual directory to access viewers to display the report. The virtual directory and its underlying file
path are unique for each version of SAP Crystal Reports; that way, succeeding versions of SAP Crystal Reports on the same machine work without conflict.
Following are the virtual directory settings for .NET Framework 4.x
Production Virtual Directory (IIS)
\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13
OR
SITE_ROOT\aspnet_client\system_web\4_0_30319\crystalreportviewers13
1. If the above directory are not found, then go to C:\Program files (X86) -> Sap Business Objects -> Crystal Reports for Net Framework 4.0 -> Common ->Crystal reports 2011 -> crystalreportviewers
2. Copy the entire crystalreportviewers folder.
3. Copy it to the folder mentioned above.
while copying, rename the folder to crystalreportviewers13.
If the folder does not exist, then create the folder manually.
These steps will ensure that reports are rendered correctly in your development or Production servers.
Please refer below article.
Crystal Reports 13 ( Visual Studio 2010 ) Issue with IIS
https://www.aspsnippets.com/Articles/Crystal-Reports-13-Visual-Studio-2010-Issue-with-IIS---bobj-is-undefined-JavaScript-Error-and-Crystal-Report-Viewer-not-displaying.aspx
Regards,
zxj