locked
Crystal report is not Showing after publish.. RRS feed

  • Question

  • User-1714141121 posted

    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

    Saturday, November 11, 2017 6:25 AM

All replies

  • User-335504541 posted

    Hi HaxNain BalGhari,

    Do you have any error message in the page or the console?

    Have you install the CR in the server correctly?

    You could try to following the steps below:

    - Please make sure that you have changed the application pool to local service. If you host it with shared hosting provider, you need to ask them to change it for you. Go to IIS--> app pool--> your app pool--> change to Local Service
    - Please make sure that both aspnetclient and CRviewer folder have been copied to your root folder
    - Grant full permission to your folder
    - Test it

    Here is the reference:

    https://forums.asp.net/t/1904826.aspx?Crystal+report+not+viewing+after+publish+asp+net+page+

    And you could post your question to Crystal report's forum for a better help:

    https://www.sap.com/community.html

    Best Regards,

    Billy

    Monday, November 13, 2017 7:07 AM
  • 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

    Tuesday, November 21, 2017 6:36 AM