Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
May 19, 2021 10:30:00 AM
Jul 1, 2016 8:23:57 AM
This procedure can also be found under Setting up Qlik Web Connectors to run as a Windows service.
For steps on how to simply run the Web Connector process in the user space, see How To Install and Apply Qlik Web Connector License .
1. After extracting the zip-file, in the Qlik Web Connectors installation directory there should be a file structure similar to the following:
2. Before continuing:
If this is the first time running Qlik Web Connectors from this location, first run QlikWebConnectors.exe (the desktop client of Qlik Web Connectors) and accept the EULA terms, as it would be done with a Basic Qlik Web Connector installation if running Qlik Web Connector as a service was not a requirement. Otherwise it will not be possible to start the Qlik Web Connectors service. Once run at least once, close the QlikWebConnector desktop application or the service will fail to start later on the last step as well.
You should also at this point have registered Qlik Web Connectors
3. Locate the file 'Install Service.bat' in the folder [INSTALL_DIR]\BatchFiles
4. Open 'Install Service.bat' in a text editor (eg. Notepad)
5. Make sure the path to QlikWebConnectorsSVC.exe reflects your installation path. In this example Qlik Web Connectors has been installed in E:\QlikWebConnectors\
6. Right-click 'Install Service.bat' and select "Run as administrator"
7. Open Services in Windows and you should find a new entry for Qlik Web Connectors:
8. Right-click the Qlik Web Connectors service and select Properties
9. (optional) Go to the Recovery tab and set First failure to Restart the Service. This will make sure the service automatically restarts in case of failure.
10. Press OK and select Start the service in Windows services to start Qlik Web Connectors as a service
11. Confirm that QVSource Is Running
Once the service is installed and started, you should be able to browse to http://localhost:5555/qvsource and see a status screen similar to the following:
12. Here you should check:
If you do not see this screen please refer to the event log and troubleshooting sections below.
The Qlik Web Connectors service will log information regarding it's start up in two places.
The first is Service_Startup_Log.txt found in your installation folder for Qlik Web Connectors
The second is the Windows Application Event Log as shown below.
Note: If your service is not starting as expected you should consult these sources for an indication of what might be wrong.
This is very similar to the first steps of installing the service.
If you get the following error:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Running a transacted installation. Beginning the Install phase of the installation. See the contents of the log file for the c:\QlikWebConnectors\QlikWebConnectors.exe assembly's progress. The file is located at c:\QlikWebConnectors\QlikWebConnectors.InstallLog. An exception occurred during the Install phase. System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security. The Rollback phase of the installation is beginning. See the contents of the log file for the c:\QlikWebConnectors\QlikWebConnectors.exe assembly's progress. The file is located at c:\QlikWebConnectors\QlikWebConnectors.InstallLog. The Rollback phase completed successfully. The transacted install has completed. |
Or the following error:
1 2 3 |
Exception occurred while initializing the installation: System.IO.FileLoadException: Could not load file or assembly "file:///{YOUR_PATH_HERE}" or one of its dependencies. Operation is not support. (Exception from HRESULT: 0×80131515). |
when attempting to install the service it might be because you need to 'unblock' the Qlik Web Connectors files which you downloaded.
The steps to unblock the files are explained in Unblocking the Qlik Web Connectors zip distribution . Please read this page carefully as you might need to involve your system administrator.
If you get an error when attempting to start the service, e.g. something like this:
Please check the windows event log and Service_Startup_Log.txt file (as discussed above) for indications of the reason.
Also see Issues starting Qlik Web Connectors Web Service
If you see the following error in your Qlik Web Connectors event logs or response from Qlik Web Connectors: System.Net.WebException: The remote name could not be resolved
It might be because you are running behind a firewall and Qlik Web Connectors is not able to make a connection to the outside world. One method of fixing this might be to ensure that the user account which the Qlik Web Connectors service is running under has permissions to connect to the external internet.