none
Getting "There is no download group named "PresentationUI.Aero2" error while deploying .NET framework 4.6.1 based application on Windows server 2016 RRS feed

  • Question

  • Hello everyone,

    We have .Net framework 4.6.1 based application and we are trying to deploy it on Windows server 2016.

    It is a click-once application and while deploying, it is throwing below error:

    Inner Exception
    ---------------
    Type : System.Deployment.Application.InvalidDeploymentException, System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Message : There is no download group named "PresentationUI.Aero2".
    Source : System.Deployment
    Help link : 
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Boolean CheckGroupInstalled(System.Deployment.Application.DefinitionAppId, System.Deployment.Application.Manifest.AssemblyManifest, System.String)
    HResult : -2146233087
    Stack Trace :    at System.Deployment.Application.ComponentStore.CheckGroupInstalled(DefinitionAppId appId, AssemblyManifest appManifest, String groupName)
       at System.Deployment.Application.SubscriptionStore.CheckGroupInstalled(SubscriptionState subState, DefinitionAppId appId, AssemblyManifest appManifest, String groupName)
       at System.Deployment.Application.DeploymentManager.SynchronizeGroupCore(Boolean blocking, SyncGroupHelper sgh)
       at System.Deployment.Application.DeploymentManager.Synchronize(String groupName)
       at System.Deployment.Application.ApplicationDeployment.DownloadFileGroup(String groupName)
       at Adaptiv.Operations.Presentation.Host.App.ResolveAssembly(Object sender, ResolveEventArgs args)
       at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)

    --------------------------

    outer exception:

    Type : System.IO.FileLoadException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : Could not load file or assembly 'PresentationUI.Aero2, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. System.Exception (Exception from HRESULT: 0x80131501)
    Source : mscorlib
    Help link : 
    FileName : PresentationUI.Aero2, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    FusionLog : 
    Data : System.Collections.ListDictionaryInternal
    TargetSite : System.Reflection.RuntimeAssembly _nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean, Boolean, Boolean)
    HResult : -2146233087
    Stack Trace :    at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.Load(String assemblyString)
       at System.Windows.SystemResources.ResourceDictionaries.LoadExternalAssembly(Boolean classic, Boolean generic, Assembly& assembly, String& assemblyName)
       at System.Windows.SystemResources.ResourceDictionaries.LoadThemedDictionary(Boolean isTraceEnabled)
       at System.Windows.SystemResources.FindDictionaryResource(Object key, Type typeKey, ResourceKey resourceKey, Boolean isTraceEnabled, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, Boolean& canCache)
       at System.Windows.SystemResources.FindResourceInternal(Object key, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference)
       at System.Windows.StyleHelper.GetThemeStyle(FrameworkElement fe, FrameworkContentElement fce)
       at System.Windows.FrameworkElement.UpdateThemeStyleProperty()
       at System.Windows.FrameworkElement.OnInitialized(EventArgs e)
       at System.Windows.FrameworkElement.TryFireInitialized()
       at System.Windows.FrameworkElement.EndInit()
       at MS.Internal.Xaml.Runtime.ClrObjectRuntime.InitializationGuard(XamlType xamlType, Object obj, Boolean begin)

    -----------------

    From error it looks like this error is coming from MS dlls.

    I tried to find things on google but didn't found solution to resolve the problem.

    Please help me to resolve this problem.

    It is quite urgent.

    Thanks,

    Jyoti


    Friday, May 15, 2020 9:00 AM

All replies