This article will provide the steps needed to properly change the log/AppData folder locations for each of the QlikView services to alternate locations in the environment. One key prerequisite is the new target locations must have the same NTFS permissions as the default locations prior to making any changes.
Environment:
QlikView
Default Log/AppData locations
- C:\ProgramData\QlikTech\QlikViewServer
- C:\ProgramData\QlikTech\DistributionService\1\Log
- C:\ProgramData\QlikTech\DirectoryServiceConnector\logs
- C:\ProgramData\QlikTech\WebServer\Log
- C:\ProgramData\QlikTech\ManagementService\Log
Qlikview Server (QVS)
Steps to change location:
- Open the QlikView Management Console (QMC)
- Click the System Tab
- Click the Setup menu
- Click/expand the QlikView Servers and click the instance to be modified
- Click the Logging Tab in the right side panel area
- Change Log Folder Location path
QlikView Distribution Service (QDS)
Warning: Relocating the Distribution Service Application Data folder is only possible if a Publisher license is applied on the server.
Steps to change location:
- Open the QMC
- Click System Tab
- Click the Setup menu
- Click/expand the Distribution Service and click the instance to be modified
- Click the General Tab in the right side panel area
- In the Settings for QDS section, change the path for the Application Data Folder to the new location
Directory Service Connector (DSC)
Steps to change location:
- Stop all the QlikView Services
- Open Windows Explorer and browse to "C:\Program Files\QlikView\Directory Service Connector" path
- Open the "QVDirectoryServiceConnector.exe.config" file with notepad or equivalent
- Search for <add key="ApplicationDataFolder" value=" " />
- Add the new path between the " "s in the value=" " area
- Save the file
- Restart all the QlikView Services
QlikView Web Server (QVWS)
Steps to change location:
- Stop all the QlikView Services
- Open Windows Explorer and browse to "C:\Program Files\QlikView\Server\Web Server" path
- Open "QVWebServer.exe.config" with notepad or equivalent
- Search <add key="ApplicationDataFolder" value=" " />
- Add the new path between the " "s in the value=" " area
- Save the file
- Copy the existing files from the default location to the new location
- Restart all the QlikView Services
QlikView Setting Service (QSS)
Steps to change location:
- Stop all the QlikView Services
- Open Windows Explorer and browse to "C:\Program Files\QlikView\Server\Web Server Settings" path
- Open "QVWebServerSettingsService.exe.config" with notepad or equivalent
- Search <add key="ApplicationDataFolder" value=" " />
- Add the new path between the " "s in the value=" " area
- Save the file
- Copy the existing files from the default location to the new location
- Restart all the QlikView Services
- Start Internet Information Services (IIS) Manager on the web server
- In the left panel, expand "Sites" and highlight/left-click the "Default Web Site" or the custom website you created
- In the middle panel area under the ASP.Net section, double-click "Application Settings" applet which will take you to a new view
- In the far right panel, click "Add" and a new dialog will appear; in the "Name" field add "ApplicationDataFolder" (Leave the " " out). Put the UNC or drive letter path in the "Value" field
- The Entry type will be "Local" by default, which is correct
- Click OK and close the IIS Manager
- You may wish to run IISRESET from an Admin CMD dialog as well to be sure everything is in place
QlikView Management Service (QMS)
Steps to change location:
- Stop all the QlikView Services
- Open Windows Explorer and browse to "C:\Program Files\QlikView\Management Service" path
- Open "QVManagementService.exe.config" with notepad or equivalent
- Search <add key="ApplicationDataFolder" value=" " />
- Add the new path between the " "s in the value=" " area
- Save the file
- Copy the existing files from the default location to the new location
- Restart all the QlikView Services