Symantec Installation Manager (SIM) crashes after update when a Proxy is setup
search cancel

Symantec Installation Manager (SIM) crashes after update when a Proxy is setup

book

Article ID: 199479

calendar_today

Updated On: 03-11-2025

Products

Client Management Suite IT Management Suite Server Management Suite

Issue/Introduction

In cases where proxy server is used the Symantec Installation Manager (SIM) crashes during HTTPS connection with the following message:

UI Error: Symantec Installation Manager has encountered a fatal exception and cannot continue.  Please see the log file for more information.

Environment

ITMS 8.x

Cause

Problem with proxy implementation.

Full error:

Uncaught Exception in Application
One or more errors occurred.
   [System.AggregateException @ mscorlib]
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body)
   at Symantec.Installation.Managers.ProductListingManager.GetAndLoadProductListings(ProductListingInfo mainPL)
   at Symantec.Installation.Managers.ProductListingManager.LoadCurrentProductListings()
   at Symantec.Installation.Managers.ProductListingManager.LoadAndUpdateProductListings()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

The ServicePointManager does not support proxies with the https scheme.
   [System.NotSupportedException @ System]
   at System.Net.ServicePointManager.FindServicePointHelper(Uri address, Boolean isProxyServicePoint)
   at System.Net.ServicePointManager.FindServicePoint(Uri address, IWebProxy proxy, ProxyChain& chain, HttpAbortDelegate& abortDelegate, Int32& abortState)
   at System.Net.HttpWebRequest.FindServicePoint(Boolean forceFind)
   at System.Net.HttpWebRequest.set_InternalProxy(IWebProxy value)
   at System.Net.HttpWebRequest.set_Proxy(IWebProxy value)
   at Symantec.Installation.FileDownloader.InitializeUserProxyInfo(HttpWebRequest& httpWebRequest)
   at Symantec.Installation.FileDownloader.OpenHttpStream(Uri fileUri, Func`2 func, Action`1 initRequest)
   at Symantec.Installation.FileDownloader.GetHttpFileInfo(Uri fileUri, Int64& fileSize, DateTime& fileLastWriteDate, DateTime& fileCreationDate)
   at Symantec.Installation.FileDownloader.<>c__DisplayClass46_0.<GetRemoteFileInfo>b__1(Uri uri)
   at Symantec.Installation.FileDownloader.DownloadFile(Uri source, Func`2 downloader)
   at Symantec.Installation.FileDownloader.GetRemoteFileInfo(Uri fileUri, Int64& fileSize, DateTime& fileLastWriteDate, DateTime& fileCreationDate)
   at Symantec.Installation.Managers.ProductListingManager.GetLatestPlFile(String source, String& pl, String& langPL)
   at Symantec.Installation.Managers.ProductListingManager.DownloadProductListing(String source, String& pl, String& langPL)
   at Symantec.Installation.Managers.ProductListingManager.GetAndLoadMainPL(ProductListingInfo pli)
   at Symantec.Installation.Managers.ProductListingManager.<>c__DisplayClass177_0.<GetAndLoadProductListings>b__4(ProductListingInfo pli)
   at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
   at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)

Exception logged from: 
   at Symantec.Installation.Logging.LogActivity.ReportException(Int32 severity, String strMessage, String category, Exception exception, String footer)
   at Symantec.Installation.Logging.LogActivity.ReportException(String strMessage, String category, Exception exception)
   at Symantec.Installation.SimApplication.CurrentDomain_UnhandledException(Object sender, UnhandledExceptionEventArgs e)
   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body)
   at Symantec.Installation.Managers.ProductListingManager.GetAndLoadProductListings(ProductListingInfo mainPL)
   at Symantec.Installation.Managers.ProductListingManager.LoadCurrentProductListings()
   at Symantec.Installation.Managers.ProductListingManager.LoadAndUpdateProductListings()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Resolution

This issue has been fixed with SIM Release 8.5.5712 and later. 

You can downloaded it here:


https://www.solutionsam.com/solutions/8_6_ru1/symantecinstallationmanagersetup.exe

Workaround:

* Close application

* Delete reg key [HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\AIM\Configuration\Users]

* Launch SIM

* Go to Settings > Product Listing > Change

* Add new product listing

* Browse and select [C:\Program Files\Altiris\Symantec Installation Manager\Installs\Altiris\symantec_v2.pl.xml.zip] > OK

* Product listing (tick box) switches to custom PL

* Restore Proxy settings

* Close SIM

* Change reg value to [HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\AIM\Configuration\ProductListings\1]Source=http://www.solutionsam.com/solutions/pl/symantec_v2.pl.xml.zip

* Change Reg key [HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\AIM]InetCheckFile=http://www.solutionsam.com/solutions/pl/symantec_v2.pl.xml.zip

* Launch SIM