Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Qlikview Directory Service Connector service cannot be started with Error 1067

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Qlikview Directory Service Connector service cannot be started with Error 1067

Last Update:

Sep 17, 2020 2:36:42 AM

Updated By:

Sonja_Bauernfeind

Created date:

Sep 8, 2017 11:11:44 AM

The Service Qlikview Directory Service Connector (QSC) can not be started. When attempting to start the service in the User Interface following error can be observed:

Error 1067: The process terminated unexpectedly

In the Application logs of Windows Events there are three known types of errors that may appear:

1. For Application: QVDirectoryServiceConnector can be observed:

Shutting down the service since there are data with invalid encryption. To continue, activate the 'EraseUndecryptableData' config flag by setting it to true in the config file to erase the invalid data"


2. The second one indicates a different issue if present:

Source: .NET Runtime
Application: QVDirectoryServiceConnector.exe
Description: The process was terminated due to an unhandled exception

Exception Info: System.ServiceModel.AddressAccessDeniedException



3. See Distribution Service will not Start Error 1067 or Event ID 1026 in Server Logs

Environment:

QlikView any version

 

Cause:


For the two types of error described respectively:

1. At start-up, each service validates all its encrypted data entries to ensure they are accessible. If the service encounters data that cannot be decrypted, it reports it as an error and stops its own execution.

2. QlikView Service account requires Local Administrative permissions. See Services for more information.

 

Resolution:


For the first two types of error described respectively:

1. The process for erasing the "UndecryptableData" is fairly straight-forward but requires you to add a value to the QVDirectoryServiceConnector.exe.config file, unless it is already present, and the below steps will detail how to do that.

For an overview on this topic, please review the QlikView online help chapter on Certificate Trust, in particular the Undecryptable Data section.

  • Make sure the QlikView Directory Connector service is stopped from the Windows Services console.
  • Locate the file called QVDirectoryServiceConnector.exe.config by default located in "C:\Program Files\QlikView\Directory Service Connector"
  • Open the file in a text editor, Notepad for example.
  • Add the following section to the config file, somewhere under 
<!-- ****** QlikView Directory Connector Service - BACKEND ****** -->
 
?for example 

<!-- Set to true if the Directory Service Connector service will not start due to being unable to decrypt after upgrade --> 
<add key="EraseUndecryptableData" value="true"/>

  • If that section does not exist, it can be added somewhere under <appSettings> For example:
  <appSettings>
    <!-- ****** General ****** -->
<!-- Set to true if the Directory Service Connector service will not start due to being unable to decrypt after upgrade --> 
<add key="EraseUndecryptableData" value="true"/>

  • Save the file in the original location.
  • Start the QlikView Directory Service Connector service from Windows Services console. It will fail to start, but it will delete de decryption.
  • Open again QVDirectoryServiceConnector.exe.config file and remove the previously added “EraseUndecryptableData” entry.
  • Save the file in the original location.
  • Start the QlikView Directory Service Connector service from Windows Services console.


2. Grant the QlikView Directory Service Connector service account local Administrative rights.

Labels (1)
Contributors
Version history
Last update:
‎2020-09-17 02:36 AM
Updated by: