Quantcast
Channel: Shavlik User Community : Document List - All Communities
Viewing all articles
Browse latest Browse all 1352

Protect crashes during patch deployment, Logged Error: An error occurred during encode or decode operation

$
0
0
Symptoms

 

- Protect crashes with an "unexpected error" during the patch deployment or download process.

- In the ST.Protect.Managed.xxx log file you see an error similar to the following:

 

2013-09-27T16:45:23.0890496Z 0022 I WorkItemController.cs:399|Download patches for deployment Started

2013-09-27T16:45:23.1202506Z 0022 I Patch.cs:102|Nonexistent file 'C:\ProgramData\Shavlik Technologies\NetChk\Patches\ccsetup405_slim.exe'.

2013-09-27T16:45:23.3230571Z 0022 V FileSetDownload.cs:457|Started ''.

2013-09-27T16:45:23.3386576Z 0022 V SingleFileDownload.cs:481|Downloading from 'http://www.piriform.com/ccleaner/download/slim/downloadfile' to 'C:\Users\administrator.HPDDM\AppData\Local\Temp\st7e7884f3-959c-4e83-91ea-a93abfb2e839.tmp'.

2013-09-27T16:45:23.7910721Z 0023 C Launcher.CurrentDomainUnhandledException|System.ComponentModel.Win32Exception (0x80004005): An error occurred during encode or decode operation

at ST.NativeWrappers.ManagedCrypto.IsSigned(String filePath)

at ST.Engines.Catalog.Patch.IsSigned(String filePath)

at ST.Engines.Catalog.SingleFileDownload.CheckSignature()

at ST.Engines.Catalog.SingleFileDownload.HandleCompletedFile(Object sender, AsyncCompletedEventArgs eventArgs)

at ST.Engines.Catalog.SingleFileDownload.ClientDownloadFileCompleted(Object sender, AsyncCompletedEventArgs e)

at System.Net.WebClient.OnDownloadFileCompleted(AsyncCompletedEventArgs e)

at System.Net.WebClient.DownloadFileOperationCompleted(Object arg)

at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)

at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()

at System.Threading.ThreadPoolWorkQueue.Dispatch()

at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

 

 

Cause

 

The reason for the crash is two-fold:

1) The application being downloaded most likely has a static URL and downloads may have been disabled or invalid due to changes on the vendor's side.

2) Protect is not properly handling reason 1. This is currently marked as a defect and Protect's handling of the invalid URL should be fixed in a future release.

 

 

Resolution

 

Most likely there is a newer version of the affected application that is causing the crash. Once the new version has been added to Protect's XML (patch definitions) it should resolve the problem.

 

Check for updates to patch definitions with the links in this document: http://community.shavlik.com/docs/DOC-23176

 

If you are running into this issue and do not see it fixed after an XML update or wish to verify with support that it will be fixed, please open a case here:

http://support.shavlik.com

 

 

Update 3/27/14

 

The crash will no longer occur in Shavlik Protect version 9.1. Instead you will see the deplyment of the patch fail, and an error such as the following will be provided:

 

Error: File not downloaded: ccsetup411_slim.exe

Error reason: File 'C:\ProgramData\LANDesk\Shavlik Protect\Console\Patches\ccsetup411_slim.exe' failed signature check: http://www.piriform.com/ccleaner/download/slim/downloadfile

Zero patches are available and properly signed.

No patches were deployed. Please review the program logs to determine the cause.

Patch deployment canceled due to failure building deployment instructions.

Error on machine 'WIN-4VAC13D975C': Failed

 

 

Affected Product(s)

 

Shavlik Protect 9.0


Viewing all articles
Browse latest Browse all 1352

Trending Articles