QlikView fails to distribute QVW files to Qlik Cloud. When turning on the QlikView Distribution debug logging, the following error is output in the task log:
Error failure. GetJWT failed. Message = the type initializer for System.IdentityModel.Tokens.Jwt.JsonExtensions threw an exception.
or error while attempting to Distribute:
QDSMain.Exceptions.DistributeToResourcesFailedException: Distribute to resource failed. ---> System.Exception: Distribute to cloud exception failed
Make sure that all required DLLs are present in the C:\Program Files\QlikView\Distribution Service (Newtonsoft.Json.dll, Microsoft.IdentityModel.Tokens.dll, PIX.dll) on the server hosting the QlikView Distribution Service.
Open C:\Program Files\QlikView\Distribution Service \QVDistributionService.exe.config in a text editor and make sure the following block is present in the assemblyBinding section: