Would it be better with a book template (i.e. the step style pages used in the installation guide)
Both Quick Reports and Operational Reports of type Crystal Reports could be previewed and printed from IFS Enterprise Explorer. Yet, there are some configuration parts one would have to carry out before using this feature. The following describes how you can install and setup the Crystal Report Web Service.
Disclaimer: Some screenshot and examples are with respect to Windows 2008. The exact configuration depends on the specific environment.
- On the left Navigation tree go to Server Manager\Roles\Web Server (IIS) and select "Add Role Service"
- On the "Select Role Services" pane, scroll down to "IIS 6 Management Compatibility". Select the all check boxes underneath the node.
- Click "Next" from the "Select Role Services" pane, and then click "Install" at the "Confirm Installations Selections" pane.
- After the installation finishes successfully click “Close” to leave the “Add Role Services” wizard.
# SQLNET.AUTHENTICATION_SERVICES= (NTS)
When in a WindowsServer 2012 with .NET 4.5, the ASP.NET v4.5
should be enabled by following the below steps.
Go to
Server Manager > Add Roles and Features
Wizard.
Make sure to check on .NET 3.5 and 4.5 features under
Features.
Then install it.
If all prerequisites are met, follow the steps below to install and configure the Crystal Web Service.
- In the Database User Credentials step specify the IFSPRINT and IFSSYS passwords in plan text. The passwords will be encrypted and written in to the configuration file during the installation.
- In the Database Details step specify the TNS Entry Name, Schema Owner, IAL Owner. The TNS Entry Name should match the tns entry that you created in the tnsname.ora in step 6 in the prerequisites section.
- In the Main Instance Replication step specify the number of copies of the main instance that needs to be replicated.
- Select Next to start the installation.
- The following is shown if the installation is successful.
For example,
<appSettings> <add key="OpenReportPath" value="C:\reports\Test Reports\CXI"/> </appSettings>
<processModel autoConfig="true"/>and insert the following line,
<processModel enable="true" userName="SYSTEM" password="AutoGenerate" />
Do the following in order to enable Web Service Extension in IIS version 7. Please note that this example is based to Windows 2008 and IIS 7.
- From Windows go to Start\Administrative Tools\Server Manage.
- On the left Navigation tree go to Server Manager\Roles\Web Server (IIS) and select "Add Role Service".
- On the "Select Role Services" pane, scroll down to "Application Development" and select “ASP .NET” and ”ASP” check boxes. You will be prompt to add some other required features in order for ASP .NET to run properly. Select “Add Required Role Services”.
- The final selection will look like below.
- Click Next from the "Select Role Services" pane, and then click "Install" at the "Confirm Installations Selections" pane.
- After the installation finishes successfully click “Close” to leave the “Add Role Services” wizard.
When installing a Crystal Web Service, you can specify how many copies of the main instances that you need the installer to replicate. This is done in the Main Instance Replication step of the Crystal Web Service installer.
When replicating the installer takes some considerations in to account.
1. When replicating, the installer will replicate copies to the number of copies specified through the installer in addition to the main instance. For example, if you specify the number of copies as 3, you would get 4 Crystal Web Service instances.
2. All replicated copies have the same configurations details so that it points to the same database and use the same database credentials.
3. When replicating the installer will suffix a number to the main instance virtual directory name when creating and registering the virtual directories in IIS. For example, if the main instance name is IFSCRWebSetup and if 3 copies are requeste, then the installer will create and register the copies in, then the installer will create and register the copies in IIS as IFSCRWebSetup_1, IFSCRWebSetup_2 and IFSCRWebSetup_3.
4. The replication instance details are maintained in the main instance. In the main instance a file named Instance.list will include the names of the replications of the current main instance. This file is only found in main instances. Do not add/remove items from this file. If you want to remove instances, then use the Windows Uninstaller to uninstall the full installation, including the main and the replications.
Open IIS Manager and right click on the Crystal Web
Service instance and select Switch to content view.
Right click on the Ifs_ReportService.asmx file and select
Browse.
This will open the specification of the web service in
the browser displaying the list of operations available in the web service.
Search for the operation called GetSavedReportA. Save a test crystal report with no connection to the database in the Report Layout Location specified in the installer. Provide the name of the sample report, the web user name and set the Secured Report Required parameter as False.
When the operation is invoked it should return a binary response. This indicates that the connection between the Crystal Web Service and crystal report works as expected. The next step is to setup Aurena to communicate with the Crystal Web Service.
One needs to configure some System Parameters in order for IFS to communicate with the Crystal Web Service. Namely these System Parameters are,
System Parameter Name | Description | Example |
---|---|---|
The machine name where the Crystal Web Service is installed | The machine name to be used when accessing Crystal Web Service is installed. The default value is *. | CMBGSEAPP4 |
The protocol of the Web Server where the Crystal Web Service is running | The protocol to be used when accessing the Crystal Web Service. Normally this is the IIS default protocol. The default value is http. | http |
The IIS port for the above mentioned Web Server | The port to be used when accessing the Crystal Web Service. Normally this is the IIS default port. The default value is 80. | 80 |
The Virtual Directory name given to the Crystal Web Service in IIS | The Virtual Directory name be used when accessing the Crystal Web Service. This is the name one would specify when installing the Crystal Web Service. The default value is IFSCRWebSetup. | IFSCRWebSetup |
Specify if web database access security check is required | Specify if web database access security check is required when previewing/printing Quick Reports. The default value is 'NO'. | NO |
Note: If you set YES to web database access security system parameter then you need to add the CR_WEB_INIT procedure in the CRYSTAL_WEB_UTIL_API package to your Crystal layout. Check the developer guide lines on how to add the CR_WEB_INIT procedure to a layout.
You You can install the Crystal Web Service through command line and install it through a script. The below table provides details on the parameters that needs to be passed as command line augments.
msiexec.exe /I IFSCRWebSetup.msi /l* IFSCRWebSetup.log
IFSPRINT=printpw
IFSSYS=syspw
SID=GHDEPCMB
APPOWNER=IFSAPP
IALOWNER=IFSINFO
TARGETVDIR=IFSCRWebSetup
NUMVDIR=3
Parameter | Description |
---|---|
IFSPRINT | The IFSPRINT user password in plain text. It will be encrypted when written to the configuration file. |
IFSSYS | The IFSSYS user password in plain text. It will be encrypted when written to the configuration file. |
SID | The Oracle TNS entry name specified in the tnsnames.ora file pointing to the database which the Crystal Web Service connects to. |
APPOWNER | Application Owner User. |
IALOWNDER | IAL Owner User . |
TARGETVDIR | The main Crystal Web Service instance name. Some special considerations are made if the FROMSCRIPT is TRUE. This will be taken as the virtual directory in IIS. |
NUMVDIR | The number of instances to be replicated of the main instance. Some special considerations are made if the FROMSCRIPT is TRUE. |