locked
Package could not be registered. (Exception from HRESULT: 0x80073CF6)

    Question

  • System.Exception

    Package could not be registered. (Exception from HRESULT: 0x80073CF6)


       at Microsoft.Expression.HostUtility.Platform.TailoredDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary environmentVariables, Int32& processId, Object& processData)   at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain..ctor(ProcessDomainFactory factory, IIsolationBoundary boundary, AppDomainSetup appDomainInfo, FrameworkName targetFramework, String identifier, String baseDirectory)   at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)   at Microsoft.Expression.HostUtility.Platform.TailoredDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)   at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.Initialize()   at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type)   at Microsoft.Expression.DesignHost.Isolation.IsolatedExportProvider.Initialize()   at Microsoft.VisualStudio.ExpressionHost.Services.VSIsolationService.CreateExportProvider(IIsolationTarget isolationTarget, ICatalogFactory catalogFactory, IExportFilter filter)   at Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)   at Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry)   at Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)   at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func`2 func, CancellationToken cancelToken)   at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.<>c__DisplayClassa`1.<StartTask>b__6()   at System.Threading.Tasks.Task`1.InnerInvoke()   at System.Threading.Tasks.Task.Execute()

    Monday, September 17, 2012 1:00 AM

All replies

  • Hello,

    does this happen when opening any xaml file in the designer e.g. File | New Project | Windows Store | Blank App?

    If it only happens on your specific app, is this something you can share with us or do you have any repro steps?

    thanks!

    mike

    Monday, September 17, 2012 6:10 PM
    Moderator
  • hi

    this happens when opening any xaml file in the designer e.g. File | New Project | Windows Store | Blank App  or even the same error occurring in Blend.

    ---------------------------------- here is the error in blend

    System.Exception: Package could not be registered. (Exception from HRESULT: 0x80073CF6)
       at Microsoft.Expression.HostUtility.Platform.TailoredDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary environmentVariables, Int32& processId, Object& processData)
       at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain..ctor(ProcessDomainFactory factory, IIsolationBoundary boundary, AppDomainSetup appDomainInfo, FrameworkName targetFramework, String identifier, String baseDirectory)
       at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
       at Microsoft.Expression.HostUtility.Platform.TailoredDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
       at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.Initialize()
       at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type)
       at Microsoft.Expression.DesignHost.Isolation.IsolatedExportProvider.Initialize()
       at Microsoft.Expression.DesignHost.Isolation.IsolationService.IsolationLease.Microsoft.Expression.DesignHost.Isolation.IIsolationLease.get_Boundary()
       at Microsoft.Expression.DesignHost.IsolatedDesignerService.<>c__DisplayClass1e.<CreateLease>b__1c(KeyValuePair`2 h)
       at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
       at Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry)
       at Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)
       at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func`2 func, CancellationToken cancelToken)
       at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.<>c__DisplayClassa`1.<StartTask>b__6()
       at System.Threading.Tasks.Task`1.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()

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

    please advice.

    Monday, September 17, 2012 10:32 PM
  • hi

    this happens when opening any xaml file in the designer e.g. File | New Project | Windows Store | Blank App  or even the same error occurring in Blend.

    ---------------------------------- here is the error in blend

    System.Exception: Package could not be registered. (Exception from HRESULT: 0x80073CF6)
       at Microsoft.Expression.HostUtility.Platform.TailoredDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary environmentVariables, Int32& processId, Object& processData)
       at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain..ctor(ProcessDomainFactory factory, IIsolationBoundary boundary, AppDomainSetup appDomainInfo, FrameworkName targetFramework, String identifier, String baseDirectory)
       at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
       at Microsoft.Expression.HostUtility.Platform.TailoredDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
       at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.Initialize()
       at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type)
       at Microsoft.Expression.DesignHost.Isolation.IsolatedExportProvider.Initialize()
       at Microsoft.Expression.DesignHost.Isolation.IsolationService.IsolationLease.Microsoft.Expression.DesignHost.Isolation.IIsolationLease.get_Boundary()
       at Microsoft.Expression.DesignHost.IsolatedDesignerService.<>c__DisplayClass1e.<CreateLease>b__1c(KeyValuePair`2 h)
       at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
       at Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry)
       at Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)
       at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func`2 func, CancellationToken cancelToken)
       at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.<>c__DisplayClassa`1.<StartTask>b__6()
       at System.Threading.Tasks.Task`1.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()

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

    please advice.

    Please let me know if any more details or screen shots or any other logs etc. required from my machine.

    thanks

    venkat


    Monday, September 17, 2012 10:33 PM
  • Hi Venkat,

    is this on the RTM version of VS 2012?

    Just before you attempt a xaml file in the designer, could you download procmon from

    http://technet.microsoft.com/en-us/sysinternals/bb896645

    capture a procmon log (registry and file access are the most important)

    Turn off logging until you try to open the xaml file (File | capture events)

    turn on logging before you open the xaml file (File | capture events)

    Save the log.

    I can help interpret the log if you want to email to mikewong at microsoft.com

    We might have to capture a dump.

    Also if you try to run the designer process directly by going to windows key + r, paste in

    "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\XDesProc.exe" client81500c9d66c8433e9c9dcafab3b4851d.0 ipc://expressionhostipc6388/host81500c9d66c8433e9c9dcafab3b4851d.0 en-US

    go to task manager, more details, details tab, is xdesproc.exe running?  if so, select and end task. This is just a quick check to see if we need to look into the start of xdesproc.exe instead of the code on the devenv.exe side.

    much appreciated,

    mike

    Tuesday, September 18, 2012 7:54 PM
    Moderator
  • Mike

    I sent an email as you suggested with all the information.

    You will receive email : vvemulapalli at live com

    Please let me know if any more information needed.

    thanks

    Wednesday, September 19, 2012 1:24 AM
  • I am also getting the same issue when i open xaml file in design mode.Please help with a solution...!!!
    Thursday, October 25, 2012 8:08 AM
  • I am getting the exact same issue. Was any solution found?
    Tuesday, November 20, 2012 11:33 AM
  • Hi Ben\AswathyK,

                               Can you check if you can install an App from the Store or F5 a Windows Store App ?. Also can send the event log information after you get this error to harikm at microsoft dot com?. The error log can be found here in the EventViewer Applications and Service \ Microsoft \ Windows \ AppxDeployment - Server. 


    Dev@Mic

    Wednesday, November 21, 2012 9:44 PM