If you move your data to a different logical volume at any point, you may experience an issue whereby the data is stored to the wrong location. The below scenario will depict what typically happens, and how you can make changes to your ClickView Publisher (Master) configuration to resolve the issue.
In the below example, the user has installed ClickView Publisher to C:\Program Files (x86)\ClickView\ClickView Library\, but then moved the binary data (through Tools > Data Management) to D:\ClickViewData\. ClickView Publisher reads/writes data through a Windows File Sharing (SMB) connection, and as a result, the shares are still pointing to the installation directory causing ClickView Publisher to continue writing to this location.
However, when the player requests the data to be sent, ClickView Publisher attempts to retrieve this data from D:\ClickViewData\, since this is where the registry points to for the data location. As a result of the above, the ClickView Publisher service cannot find the file, and the ClickView Player receives no video data (or will flash up with a downloading window, and then disappear immediately).
1. Logon to your ClickView Publisher (Master instance) > Select Start, then click Run. Type in fsmgmt.msc and click OK. This will load up the Shared Folders window, as depicted below. In the below example, we can observe that both the ClickView$ and ClickViewData$ shares are both set to C:\Program Files (x86)\ClickView\ClickView Library\. These are the shares that ClickView Publisher uses to write to the ClickView Publisher (Master) database/binary data path.
2. Select Start and then Run, type in regedit and click OK. This will load up the Registry Editor window, as depicted below. Please browse to the following path (depending on your architecture):
32-bit: HKEY_LOCAL_MACHINE\SOFTWARE\ClickView\ClickView Library\
64-bit: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ClickView\ClickView Library\
We can see in the below example that the DataPath is set to D:\ClickViewData\ (this registry value is used by the ClickView Publisher service to determine where to read video data to send on to the client).
The ClickView Publisher uses the path defined in the remoteDataPath value in the registry. Below, we can also see that this value is set to the ClickViewData$ share.
3. Using the information collected in steps 1 and 2, we can make the following observations:
- ClickView Publisher (Master): reads its data from D:\ClickViewData\
- ClickView Publisher: writes to \\Daniel\ClickViewData$\ (which we have discovered from step 1 is located in C:\Program Files (x86)\ClickView\ClickView Library\)
4. To resolve this discrepancy, you must first stop sharing the ClickViewData$ share. To do this, open up the Shared Folders from step 1, right-click on the ClickViewData$ share and select Stop Sharing.
Then, right-click on the right pane of the window, and select New Share. The Folder Path must be set to the correct data location (as obtained from the DataPath value in the registry editor - from step 2). Below, we can see that this is set to the correct DataPath now - D:\ClickViewData\. Once this value has been set, select Next.
The Share name must be set to the correct remote data share (as obtained from the remoteDataPath value in the registry editor - from step 2). Below, we can see that this is set to the correct remoteDataPath share now - \\Daniel\ClickViewData$\ (where ClickViewData$ is the share name. Once this value has been set, select Next.
Next, you must select Customize permissions, and set your permissions as shown in Step 3 & Step 4 of this article. Once these have been set, select Next, followed by Finish.
5. The second last step is to copy the data from the incorrect location to the newly created share location. In the above example, I will need to copy/move the following eight folders to from the old location to the new share location:
Because ClickView Publisher was writing to C:\Program Files (x86)\ClickView\ClickView Library\ these eight folders must be copied/moved from here, to the correct data path - D:\ClickViewData\.
6. The final step is to perform a data verification, by selecting Tools, then Data Management from within the ClickView Publisher (Master) software. Select Verify Data within here, and there should then be no missing content that displays at the end of this process. If there is no missing content displayed here, check the ClickView Player for the title you were experiencing trouble with and attempt to play this back again.