Skip to Content
avatar image
Former Member

Having runtime issues with CRVS2010 on Server 2012 r2 Deployment, I must be missing something

I have developed a .Net 4.0 Web Service that uses Crystal Reports 13 SP12 redistributable runtime to return reports rendered as HTML to callers of the service.  The Web Service is hosted in IIS 8.5 on Windows Server 2012 r2.  Report source files are developed in SAP Crystal Reports 2013.

Report parameters are passed in the service calls to the Web Service on the server where the *.rpt files are also hosted.  The service uses the CR libraries to open the rpt file and set appropriate DB connection info, and parameters values, then generates the report to a temp folder accessible by the service, then integrates html and image into a single html response to the caller.

I understand that Crystal is using other temporary folder locations for internal processing when generating (exporting) a report, I can see this in ProcMon on the server when the service call is made.  My problem is that no report is generated though I see tracing in Procmon that indicates a temp file is created in the temp folder, but I never physically get the file to process and return in the service call. 

I think I've got the right runtime, platform, and report editor based on information here, http://scn.sap.com/community/crystal-reports-for-visual-studio/blog/2013/06/28/how-do-you-spell-confussion-cr-for-vs-crystal-2011-bi-4x-and-the-net-sdks, but perhaps not.

The Web Service with corresponding Crystal Reports 13 SP12 runtime redistributable works perfectly on Windows Server 2008 r2.  We are deploying both CR10.5 and CR 13 SP12.

These are the assembly references in the Web Service project:

CrystalDecisions.CrystalReports.Engine

CrystalDecisions.ReportSource

CrystalDecisions.Shared

CrystalDecisions.Web


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jan 08, 2015 at 05:25 PM

    Update for this issue.

    I decided to install an evaluation version of the latest available SAP Crystal Reports client on the server where my Web Service is installed to see if the report I'm attempting to return from the Web Service runs on the local system.  After saving the report on the server having made no changes to the report proper, other than the connection type and information, the Web Server now returns the report content as expected.

    When I ran the report within the Crystal client on the server, I made sure that I used the same connection type and login parameters that were used to create and test the report using the Crystal client in VS2010, (CRVS2010 integration, SP12).

    After saving the report on the server having made no changes to the report proper, other than the connection type and information, the Web Server now returns the report content as expected.

    Further, if I copy the report source back to my development system and open it in VS2010 (CRVS2010 integration, SP12), the report preview runs as expected.  When I save the report from VS2010, it will run correctly with my Web Service on the my development system, but will once again fail to run on the same Web Service deployed to the web server.

    I've reviewed the versions of the Crystal Report runtime components on both my development and Web server systems and all are the same, version 13.0.2000.0.

    I guess I can live with only deploying reports in production that are developed and saved using the SAP Crystal Reports client and perhaps that is truly the legitimate source.

    However it would be nice if anyone could offer some explanation.  Perhaps this is simply a CRVS2010 SP12 issue.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded