Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
oscmandino
Partner - Contributor II
Partner - Contributor II

DSC is down

Hi community. I am facing a "DSC@myServer is down" situation.

Qlikview Directory Service Connector service not running.

I have started the service manually but it is still not running.

Then, restarted the server, same result, service not working.

There are many log entries for every restart, here you have one:

20180716T104039.394-0300 Information Initializing service

20180716T104039.505-0300 Error Exception while decrypting. EncryptedText length=8 chars Exception=System.Security.Cryptography.CryptographicException: Datos incorrectos. ||  ||    en System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr) ||    en System.Security.Cryptography.Utils._DecryptData(SafeKeyHandle hKey, Byte[] data, Int32 ib, Int32 cb, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode PaddingMode, Boolean fDone) ||    en System.Security.Cryptography.CryptoAPITransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) ||    en System.Security.Cryptography.CryptoStream.FlushFinalBlock() ||    en System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing) ||    en System.IO.Stream.Close() ||    en SolutionGlobal.Security.CryptoAlgorithm.Decrypt(EncryptedSecret encryptedSecret, Boolean isCurrentAlgorithm)

20180716T104039.508-0300 Error Exception while decrypting. EncryptedText length=8 chars Exception=System.Security.Cryptography.CryptographicException: Datos incorrectos. ||  ||    en System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr) ||    en System.Security.Cryptography.Utils._DecryptData(SafeKeyHandle hKey, Byte[] data, Int32 ib, Int32 cb, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode PaddingMode, Boolean fDone) ||    en System.Security.Cryptography.CryptoAPITransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) ||    en System.Security.Cryptography.CryptoStream.FlushFinalBlock() ||    en System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing) ||    en System.IO.Stream.Close() ||    en SolutionGlobal.Security.CryptoAlgorithm.Decrypt(EncryptedSecret encryptedSecret, Boolean isCurrentAlgorithm)

20180716T104039.512-0300 Error Found 2 item(s) with invalid encryption. Follows here in the log file:

20180716T104039.513-0300 Information Invalid encryption: XML file "C:\ProgramData\QlikTech\DirectoryServiceConnector\Resources\c3178718-f87a-4c94-876b-7416ff5a608f.xml", node "/dscresource/uid".

20180716T104039.514-0300 Information Invalid encryption: XML file "C:\ProgramData\QlikTech\DirectoryServiceConnector\Resources\c3178718-f87a-4c94-876b-7416ff5a608f.xml", node "/dscresource/pwd".

20180716T104039.514-0300 Error 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.



I am trying to modify the file Config.xml located at C:\ProgramData\QlikTech\DirectoryServiceConnector without success


The original content for the file was <DSCConfig><LogLevel>Normal</LogLevel></DSCConfig>

Trying with

<DSCConfig><LogLevel>Normal</LogLevel><EraseUndecryptableData>True</EraseUndecryptableData></DSCConfig>

and

<DSCConfig><LogLevel>Normal</LogLevel><EraseUndecryptableData>true</EraseUndecryptableData></DSCConfig>

didn't work.. I'm not sure if this is the file to modify...

Do you have any ideas?

Thank you.

Labels (1)
3 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

I would suggest to contact Qlik Support and open a new case. The problem sounds weird enough to warrant the involvement of the absolute specialists in these matters.

balabhaskarqlik

After you made it to "true" and Save the file.

Restart the service.

When the service starts, the part of the data that is undecryptable is erased, but all other data is left intact.

Stop the service, open the configuration file and remove the “EraseUndecryptableData” entry.

Save the file and restart the service.

The service starts normally.

Now you need to re-enter the erased data in the QMC. All the undecryptable data entries have already been listed in the service’s log file, and that gives you a hint of what to re-enter in the QMC.

oscmandino
Partner - Contributor II
Partner - Contributor II
Author

Just for the record, by pasting the config file from a working server it is up again.

Thank you all for taking some time to help me.