Crystal Reports Server 2013 and 2011

Topics

Prerequisites

Accela's support of Crystal Reports Server 2013 includes Enterprise 4.1. You must have functioning installations of:

  • Civic Platform 7.1.0 or later

  • Crystal Reports Server 2013 or 2011

  • For Crystal Reports Server 2013: SAP BusinessObjects BI Platform 4.1 .Net SDK

  • For Crystal Reports Server 2011: SAP BusinessObjects BI Platform 4.0 .Net SDK

  • Internet Information Services (IIS) 7

  • Accela’s adapter for Crystal Reports Server 2013 or 2011:

    • Deployed on a Windows machine with .Net Framework 4.0 or later

    • Deployed the same computer with Crystal Reports Server 2013 or 2011

Configure IIS 7

Configure IIS 7 to add role services for ASP (required), and Basic Authentication and Windows Authentication (optional).

  1. In Windows, go to Start > Control Panel > Programs > Turn Windows features on or off.
  2. Click Roles.


  3. Click Add Role Services on the right side of the screen to add ASP (required), and Basic Authentication and Windows Authentication (as needed), to the Role Service list.
  4. For Crystal Reports Server 2013, change the Advanced Settings for the Application Pool DefaultAppPool.
    1. Start the Internet Information Services (IIS) Manager console.
    2. Click Application Pools from the Connections panel and select DefaultAppPool from the Application Pools list.
    3. On the Edit Application Pool window, select the .NET Framework version 4.0 or later.


    4. Click Advanced Settings on the right side of the screen.


    5. Set Enable 32-Bit applications to False.
    6. Open a command window and go to the following directory: C:\Windows\Microsoft.NET\Framework\v4.0.30319, then run aspnet_regiis -i


    7. In IIS, go to the root node and click ISAPI and CGI Restrictions.
    8. Select the Not Allowed item, right-click it and change it to Allow


Install the Adapter for Crystal Reports Server 2013 or 2011

  1. Copy the adapter files to a directory on the Report Server. The adapter files install as part of Civic Platform.
    1. Go to: <Your Accela Installation Directory>\av.deploy\dist\reportadaptor\crystal\ <Your Crystal Reports Version>
    2. Copy the files to your reports directory, for example: D:\MyReports\.
  2. Add Application for MyReports.
    1. Start Internet Information Services (IIS) Manager console.
    2. Right-click the Default Web Site and select Add Application.


    3. In the Add Application window, update the fields.
      • In the Application Pool field, select the DefaultAppPool configured in the IIS Configuration procedure.

      • Enter an application alias in the Alias field. In this example: MyReports.

      • Select the virtual directory created for storing reports in the file path. In this example: D:\MyReports.

      • Click OK.



Configure the Adapter for Crystal Reports Server 2013 or 2011

Use the following procedure to configure the adapter for Crystal Reports Server, including Enterprise Reports capability.

Note: Enterprise Reports does not support reports in RPT format.
  1. Open the web.config file, located in D:\MyReports.


  2. Set the values of the parameters.
    Application Setting Parameter Name Value
    Crystal Reports Server serverName The Crystal Reports Server 2013 or 2011 host name or IP address.
    userName The user name for logging into Crystal Reports Server 2013 or 2011.
    userPassword The password for logging into Crystal Reports Server 2013 or 2011.
    Database Server DBUserID The user name for logging into the database server.
    DBPassword The password for logging into the database server.
    Enterprise Reports(Does not support RPT format) RestfulWebServiceUrl For Crystal Reports 2013 Enterprise 4.1 only. Enter the web service URL you use to send requests to the BI service.

    Example: http://10.50.130.95:6405/biprws

    OpenDocumentUrl

    For Crystal Reports 2013 Enterprise 4.1 only. Enter the URL to open an enterprise report.

    Example: http://10.50.130.95:8080/BOE/OpenDocument/opendoc/openDocument.jsp?

  3. Derive the syntax for the RestfulWebServiceURL parameter from the BI service.
    • For Crystal Reports 2013 Enterprise 4.1, go to Central Management Console > Application, then right-click Restful Web Service and select Properties.
    • For Crystal Reports 2011 Enterprise 4.1, go to Central Management Console > Application, then right-click Open Document and select Processing Settings.

  4. Convert the computer name to its IP address. Example: Change SAP2 to 10.50.130.95

    Figure: Crystal Reports 2013 Enterprise example



    Figure: Crystal Reports 2011 Enterprise example



  5. Test that the report adapter is properly working. Open an IE browser and copy this URL into the address bar: http://localhost/MyReports/adapter/FileDirectory.aspx . XML code displays in the web browser:


Configure ODBC Connections

Topics

Crystal Reports Server 2013 or 2011

On 64-bit versions of Windows, Report Commander runs as a 32-bit application, so it requires 32-bit ODBC drivers and DSNs. Enterprise 4.1 requires 64-bit ODBC driver and DSN.

32-bit DSN alias

  1. Run c:\windows\sysWOW64\odbcad32.exe to start the 32-bit ODBC Data Source Administrator.
  2. Add the DSN For Oracle/MSSQL.

Oracle

  1. Configure a connection between your machine and Oracle server.
    1. Start the Oracle Net Configuration Assistant.



    2. Select Local Net Service Name Configuration, and then click Next.
    3. Click Add, and then click Next.
    4. Specify the service name, and then click Next. The device name is the global database name for your database.
    5. Select TCP as the communication protocol, and then click Next.
    6. Enter the host name, and then click Next.

      Port 1521 is the default and is generally the correct value. However, it is possible that your database administrator configured Oracle to use a different port. Check with your Oracle administrator.

    7. After a successful test, click Next to continue.
    8. Enter a net service name to identify this connection, and then click Next.
    9. Click Finish to complete the connection.
  2. Create an ODBC connection to your Oracle server.
    1. Open the ODBC Data Source Administrator. Depending on your version of Windows, this program is available from the Start menu in Administrative Tools or in Control Panel.
    2. Click System DSN tab, and then click Add.


    3. Choose the appropriate driver for your database. Example: OraDb11g.
    4. Enter a Data Source Name to identify the ODBC connection. Select the TNS Service Name from the menu. Specify the default User ID to use for the connection. Click Test Connection.


MSSQL

  1. Start the ODBC Data Source Administrator. Click System DSN tab, then click Add.


  2. On the Create New Data Source, select the appropriate driver for your database. Example: SQL Server.


  3. Click Finish.
  4. Enter a name to identify the connection, enter a short description (optional), and select your SQL server's IP address from the menu.


  5. Click Next.
  6. Select the SQL Server Authentication radio option, select the Connect to SQL Server option, and enter the credentials.


  7. Click Next.
  8. Select the database to use for this connection. Also optional, select the default database for the specific user. Configure the other options as appropriate.


  9. Click Next.
  10. Clear the Change the language of SQL Server system messages to option. Configure the other options as appropriate.


  11. Click Finish.
  12. Click Test Data Source.


Configure Authentication Modes

Topics

Anonymous Access

  1. Start Internet Information Services (IIS) Manager, and click the Crystal Reports site in the Connections panel.
  2. Click Authentication in the Security section.
  3. In the Authentication list, right-click the Anonymous Authentication item then select Enable.
  4. Navigate to V360 Administration > Report Manager > Settings > Report Services > Crystal2013 or Crystal 2011.
  5. Open an existing report service or create a new one. Complete the fields in the Report Service Form:
    • Report Name List URL: http://<Crystal Reports Server IP address>/myreports/adapter/FileDirectory.aspx

    • Report Service URL: http://<Crystal Reports Server IP address>/myreports/adapter/XReport.aspx

    • Report Service Type: Crystal Reports

    • Authentication Method: Not Required



    • Environment:

      Fill the first level folder Name of Report Server. For example: TEST.

    • Agency:

      Fill the second level folder Name of Report Server. For example: ACCELA. See screenshot as below.



  6. Associate a report to the Report Service. Make sure the selected report service from the Process Service menu is the one created or edited in the previous step.


  7. Click the Parameters tab to set up the data filters.
  8. Complete the fields on the parameter form, and then click OK. The preview results display.


Basic Authentication

  1. Start Internet Information Services (IIS) Manager, expand the Crystal Report site, and then click the adapter folder in the Connections panel.


  2. Click Authentication in the Security section.
  3. On the Authentication list, right-click the Basic Authentication item and select Enable.


  4. Click the Crystal Reports site in the Connections panel, and then click IIS Manager Permissions from the Security section.


  5. Click Allow User on the right side of the screen, and add a user with access to Crystal Reports.


  6. Go to Administration > Report Manager > Settings > Report Services.
  7. Open an existing report service or create a new one. Complete the fields in the Report Service Form:
    • Report Name List URL: http://<Crystal Reports Server IP address>/myreports/adapter/FileDirectory.aspx

    • Report Service URL: http://<Crystal Reports Server IP address>/myreports/adapter/XReport.aspx

    • Report Service Type: Crystal Reports

    • Authentication Method: Basic Authentication

    • User Name and Password: The credentials of a user with access to the Crystal Reports Server.



  8. Associate a report to the Report Service. Set the Output Format. Make sure the selected report service from the Process Service drop-down list is the one you created or edited in the previous step.


  9. For non-default format, click the Parameters tab to set up the data filters.


  10. Click Preview. In the Authentication window, enter the credentials to display the associated report.


  11. Click OK. A report preview displays:


NT Authentication

  1. Start Internet Information Services (IIS) Manager, expand the Crystal Reports site, then click the adapter folder in the Connections panel.
  2. In the Security section, click Authentication.


  3. In the Authentication list, right-click the Windows Authentication item and select Enable.


  4. In Civic Platform, go to Administration > Report > Settings > Report Services.
  5. Open an existing report service or create a new one, then fill out the Report Service Form:
    • Report Name List URL: http://<Crystal Reports Server IP address>

      /myreports/adapter/FileDirectory.aspx
    • Report Service URL: http://<Crystal Reports Server IP address>

      /myreports/adapter/XReport.aspx
    • Report Service Type: Crystal Reports

    • Authentication Method: NT Authentication

    • User Name and Password: The login credentials of the domain account.



  6. Associate a report to the Report Service. Set the Output Format. Make sure the selected report service from the Process Service drop-down list is the one you created or edited in the previous step.


  7. For custom reports, click the Parameters tab to configure data filters.


  8. Click Preview. If the client user and Crystal Reports Server are in the same domain, the report displays.