Known Issue: XAML Designer in Visual Studio 11 Beta Crashes on Launch

We are hoping that you are enjoying some of the new capabilities of the XAML Designer in Visual Studio 11 Beta. This post captures some of the known issues (and potential workarounds for them, if any). We will keep this updated with feedback that we get from you, so please keep it coming!

Issue:

There is a potential issue where the XAML Designer in Visual Studio 11 Beta will crash as soon as you try to open a XAML document. The conditions where you are likely to run into this crash are:

  1. You installed Visual Studio into a non-default location (for example, Windows was installed to C:\Windows, and you install Visual Studio to D:\MyFolder\)
  2. You upgraded your system to Windows 8 Consumer Preview from an existing Windows 7 installation.
  3. You are working on a Metro style application (in any language – C#, VB, C++) and you are trying to open a XAML file.

If you suspect that your crash might not be related to the conditions described above, do not apply the workaround being offered for this issue. Instead, please get in touch with us and we will work with you to resolve your issue as soon as possible. You can reach us at BlendFeedback@Microsoft.com.

Cause

This crash happens because the dependencies for the XAML Designer are in folders that do not have their permissions set correctly (because of an error in Visual Studio setup).

Workaround

To work around this issue, please use the following steps (updated 3/28/2012):

  1. Shut down all running instances of Visual Studio.
  2. Launch a command prompt as an Administrator.
  3. Type the following in sequence:
    1. pushd %VS110COMNTOOLS%
    2. icacls ..\IDE /grant *S-1-15-2-1:(OI)(F)
    3. icacls ..\IDE /grant *S-1-15-2-1:(CI)(F)
    4. icacls ..\IDE\PrivateAssemblies /grant *S-1-15-2-1:(OI)(F)
    5. icacls ..\IDE\PrivateAssemblies /grant *S-1-15-2-1:(CI)(F)
    6. icacls ..\IDE\PublicAssemblies /grant *S-1-15-2-1:(OI)(F)
    7. icacls ..\IDE\PublicAssemblies /grant *S-1-15-2-1:(CI)(F)
  4. Restart Visual Studio and try your scenario again.
  • http://twitter.com/jeremylikness Jeremy Likness

    Nope, still didn’t work. Designer works fine in Metro, but for Silverlight 5 I get instant crashes anytime I press a key in a XAML file open in the designer.

    • Achin

      Hi Jeremy. I apologize you are still experiencing a crash. Can you please send some info such as where you installed your Visual Studio and what OS you are on to BlendFeedback@Microsoft.com?  We can then follow up directly with you.

  • http://twitter.com/Jorgemon Jorge Montaño

    I have a problem when try to open a XAML files in VS11 or Blend for VS, it says: “XXX.xaml cannot be edited in the Design view”, I tried the workaround but the same message is displayed, what am I doing wrong?, please help.

  • mik

    Designer works for me now after I performed above steps. I have VS11beta installed in c:VS11, and designer didn’t come up. It does now.

  • lp

    Fixed my issue. I had installed VS11 Beta on a separate partition.

    • raj

      HiÂ
      Did you change the path of the VS11 Beta installation location? How did you do that? When I install VS11 I cannot change the installation location
      Cheers
      Raj

      • raj

        Re Installed Win8 CP with dual boot (c:win7, d:win8). Installed VS11 Beta in win8 was able to open the designer without ant issues. Not sure what went wrong in the first place. Thanks.

        • Anonymous

          Glad to hear it, Raj!

      • Rahulpuroht

         Same here do u Get any Solution Yet

  • Shubham Rao

    Thanks a lot it workedÂ
    I had installed on another partition

  • Anonymous

    Worked like charm. Thanks.

  • Whisnu Sucitanuary

    100% Work Fine.. Thanks.

  • allen

    I still have a problem.

    I’m getting this when I run the first icacls:

    C:Program Files (x86)Microsoft Visual Studio 11.0Common7>icacls IDE /grant “A
    LL APPLICATION PACKAGES”:(OI)(F)
    ALL APPLICATION PACKAGES: No mapping between account names and security IDs was
    done.
    Successfully processed 0 files; Failed processing 1 files

    • Rahulpuroht

       I m also Having the same problem can u  help to tell me how you resolve itt…!!!!

      • Anonymous

        Hi Rahulpuroht,

        We just updated the workaround steps.  Can you try the new steps and let us know if that solves your issue?

        Thanks!

        • 雨亭 ç”°

          Hi ioridirks,
          I just use the new strps . And this problem still exist.And when i run the first icacls i get result is:
          Successfully processed 0 files; Failed processing 1 files 

          • Lori

            We might be able to help you via a remote debugging session using desktop sharing. If you’re interested, please send me an email at lori.dirks {at} microsoft with your name, email address, and the times you are available during Pacific time.

            Thanks,
            Lori

    • Anonymous

      Hi Allen,

      We just updated the workaround steps.  Can you try the new steps and let us know if that solves your issue?

      Thanks,
      Lori

  • Zhadongping

    It still can not work ,may be the isuue occored on my pc don’t contained above?

  • Pingback: WindowsDevNews.com

  • Stanly Johnson

    fixed my issue.. thanks man

    • Anonymous

      Glad it fixed your issue, Stanly!

  • http://twitter.com/_bmv Mikhail Bystretsky

    Does not work.

    Stack trace.

    System.InvalidOperationException
    Source path must be an file
    at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.DirectInvoke[T](WaitHandle abort, Func`1 func)
    at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TResult,TValue](RemoteHandle`1 targetObject, Func`1 func)
    at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TResult,TValue](RemoteHandle`1 targetObject, Func`2 func)
    at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.Microsoft.Expression.DesignHost.IDesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor)
    at Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateDesignerViewInfo(IIsolationTarget isolationTarget, IHostSourceItem item, IHostTextEditor editor, CancellationTokenSource cancelSource)

    etc.

    • Lori

      Hi Mikhail,

      We might be able to help you via a remote debugging session using desktop sharing. If you’re interested, please send me an email at lori.dirks {at} microsoft with your name, email address, and the times you are available during Pacific time.

      Thanks,
      Lori

  • Jinx101

    I ran these commands and the designer still crashes (before it even fully renders).  Any more suggestions?

  • Ymoldavanov

    Thanks, it works.

  • omid ghotbi

    Thank you so much.
    it`s working ….

    • http://www.3dfine.com/ TAO

      great solution .

  • http://www.3dfine.com/ TAO

    after doing that build your project before continue your design.

  • Guest

    This did not work for me either

  • http://www.facebook.com/aaron.mcruer Aaron McRuer

    Unfortunately, my problem isn’t being resolved by the recommendations above.

  • Sccontos

    Worked great for me!

  • Hasif

    I followed your solution and everything worked well. Thanks!

  • Ibraheem Osama

    My VS is working fine but the blend for VS has the same error can you suggest a solution for the blend ??

  • Unnir

    To make Blend work, you can use a similar workaround – you just need to apply that to the folder to which Blend is installed to. So something like the following:

    icacls “” /grant *S-1-15-2-1:(CI)(F)

    • UnniR

      Oops that did not come out very well at all when I posted the reply :) . Let us try again:

      icacls pathtowhereblendisinstalled /grant *S-1-15-2-1:(CI)(F)

      • Ibraheem Osama

        I tried but there nothing happened like in VS

        • Unni

          Please get in touch with me directly at unnir at Microsoft dot com, and I can try to help you out.

          Thanks!

      • Harjoben

        Thank you. You saved my life. My HTML5 was showing UnauthorizedAccessException when opening in Blend for Visual Studio. Your fix solved the problem. :)

  • http://profiles.google.com/nicolas.rolland Nicolas Rolland

    What is the kind of answer you are supposed to receive back ? I get *S-1-15-2-1: No mapping between account names and security IDs was done.
    Successfully processed 0 files; Failed processing 1 files

  • http://profiles.google.com/nicolas.rolland Nicolas Rolland

    using VS11 beta on windows 7

  • http://profiles.google.com/nicolas.rolland Nicolas Rolland

    The crash happens just in 1 project on my side. One from a MVVM fsharp template -> ok,  the other from an empty fsharp template -> crashes. so your ‘security’ bug has a very strange looking head. which btw, for a ‘security’ related thing, is just plain scary.

    • Unnir

      Hi Nicolas,

      Could you please tell me where I could get these project templates from, so I can try this on my end?

      Thanks,Unni

  • http://www.facebook.com/andreas.balzer Andreas Balzer

    Hi, I tried the workaround steps that are visible on 05/17/2012. They did not solve the issue. Visual Studio continously hangs (sometimes) when trying to view a xaml file.

  • hasoon

    I just did the exact step and now the designer view is working like a charm :D !!! Thank you so much :)

  • Jef JS

    Still doesn’t help after a reinstall CP and vs11 run the permissions command still crashes

    System.Runtime.Remoting.RemotingException[3128] Designer process terminated unexpectedly!

  • Paxnj

    Hi, I’m using visual studio 11 beta ultimate.
    I ran into this exception when opening xaml from a metro application in windows 8:
    http://social.msdn.microsoft.com/Forums/en-US/toolsforwinapps/thread/4ade6328-8202-4478-9151-79a6419e287c
    I followed your directions and the exceptions were changed to:
    System.TypeLoadExceptionCould not find Windows Runtime type ‘Windows.UI.Xaml.Controls.Primitives.IScrollInfo’.   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.DirectInvoke[T](WaitHandle abort, Func`1 func)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TResult,TValue](RemoteHandle`1 targetObject, Func`1 func)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TResult,TValue](RemoteHandle`1 targetObject, Func`2 func)   at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.Microsoft.Expression.DesignHost.IDesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor)   at Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateDesignerViewInfo(IIsolationTarget isolationTarget, IHostSourceItem item, IHostTextEditor editor, CancellationTokenSource cancelSource)
     System.TypeLoadExceptionCould not find Windows Runtime type ‘Windows.UI.Xaml.Controls.Primitives.IScrollInfo’.
    Server stack trace:    at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.WaitForCompletion(BlockingCall call)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.Invoke(BlockingCall call)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.Invoke[T](Func`1 func, WaitHandle aborted)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalIn[TResult](IRemoteObject targetObject, Func`1 func)   at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostSourceItem remoteItem, IRemoteHostTextEditor remoteEditor)   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)   at Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostSourceItem remoteItem, IRemoteHostTextEditor remoteEditor)   at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.c__DisplayClass8.b__7(IRemoteDesignerService d)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.c__DisplayClass4`2.b__3()   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.DirectInvoke[T](WaitHandle abort, Func`1 func)
     System.TypeLoadExceptionCould not find Windows Runtime type ‘Windows.UI.Xaml.Controls.Primitives.IScrollInfo’.   at Microsoft.Expression.WindowsXamlPlatform.WindowsUIXamlManualMetadataAttributeTableBuilder.AddWindows_UI_Xaml_Controls_Primitives_IScrollInfoAttributes()   at Microsoft.Expression.WindowsXamlPlatform.WindowsUIXamlManualMetadataAttributeTableBuilder..ctor()   at Microsoft.Expression.WindowsXamlPlatform.WindowsUIXamlPlatform.InitializeMetadata()   at Microsoft.Expression.WindowsXamlPlatform.WindowsUIXamlPlatform..ctor(IPlatformRuntimeAssemblyResolver platformRuntimeAssemblyResolver, IPlatformReferenceAssemblyResolver platformReferenceAssemblyResolver)   at Microsoft.Expression.WindowsXamlPlatform.WindowsUIXamlPlatformCreator.CreatePlatformInternal(IPlatformReferenceAssemblyResolver referenceAssemblyResolver)   at Microsoft.Expression.Platform.PlatformCreatorBase.CreatePlatform(IPlatformReferenceAssemblyResolver referenceAssemblyResolver)   at Microsoft.Expression.DesignSurface.Project.ProjectContextBase.Initialize()   at Microsoft.Expression.DesignSurface.Project.XamlProjectContext.Initialize()   at Microsoft.Expression.DesignSurface.Project.ProjectContextManager.GetProjectContext(IHostProject project, IPlatform platform)   at Microsoft.Expression.DesignSurface.Project.ProjectContextManager.GetSourceItemContext(IHostSourceItem sourceItem)   at Microsoft.Expression.DesignSurface.DesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor)   at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.c__DisplayClass9.b__8()   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.c__DisplayClassa`1.b__9()   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.Call.Invoke()
    Any suggestion?
    Thanks!

  • Ajay

    I’m still facing this issue after installing VS2011 ultimate / professional on Windows 8 RP.

    • Anonymous

       For Windows 8 RP, you need to install VS2012 RC.  You can get the download at:  http://msdn.microsoft.com/en-us/windows/apps/br229516.

      Try that and let us know how it goes.

      • Doug Mair

        I have Win8 RP (upgraded from Win7) and VS Express for Win8. 

        Crashes both in VS and Blend when opening XAML.

        Tried the commands above, but it didn’t fix it.

  • ec

    Same issue, installed VS2011 ultimate / professional on Windows 8 RP. Created a new project, BlankPage.xaml designer shows “System.TypeLoadException Could not find windows runtime type Windows.UI.XAML.Controls.Primitives.IScrollInfo”.
    Can’t even begin a new project.

  • Ronald

    Can not even edit something from the StandardStyles.xaml resource dictionary of a project just created in Blend on Win8RP. Designer crashes with message Windows.UI.Xaml.Automation.AutomationProperties.GetName(DependencyObject element)

  • Doug Mair

    VS – IDE and Blend both continue to crash for me.

    I upgraded Win7 in Place to Win8 RP.
    Installed VS2012 Win8Express_Full.exe
    Tried the commands shown above.

    Blend continues to crash on launch.

    Here are the commands I ran:C:WINDOWSsystem32>pushd C:Program Files (x86)Microsoft Visual Studio 11.0Common7Tools
    C:Program Files (x86)Microsoft Visual Studio 11.0Common7Tools>icacls ..IDE/grant *S-1-15-2-1:(OI)(F)processed file: ..IDESuccessfully processed 1 files; Failed processing 0 files
    C:Program Files (x86)Microsoft Visual Studio 11.0Common7Tools>icacls ..IDE/grant *S-1-15-2-1:(CI)(F)processed file: ..IDESuccessfully processed 1 files; Failed processing 0 files
    C:Program Files (x86)Microsoft Visual Studio 11.0Common7Tools>icacls ..IDEPrivateAssemblies /grant *S-1-15-2-1:(OI)(F)processed file: ..IDEPrivateAssembliesSuccessfully processed 1 files; Failed processing 0 files
    C:Program Files (x86)Microsoft Visual Studio 11.0Common7Tools>icacls ..IDEPrivateAssemblies /grant *S-1-15-2-1:(CI)(F)processed file: ..IDEPrivateAssembliesSuccessfully processed 1 files; Failed processing 0 files
    C:Program Files (x86)Microsoft Visual Studio 11.0Common7Tools>icacls ..IDEPublicAssemblies /grant *S-1-15-2-1:(OI)(F)processed file: ..IDEPublicAssembliesSuccessfully processed 1 files; Failed processing 0 files
    C:Program Files (x86)Microsoft Visual Studio 11.0Common7Tools>icacls ..IDEPublicAssemblies /grant *S-1-15-2-1:(CI)(F)processed file: ..IDEPublicAssembliesSuccessfully processed 1 files; Failed processing 0 files
    C:Program Files (x86)Microsoft Visual Studio 11.0Common7Tools>icacls “C:Program Files (x86)Microsoft Visual Studio 11.0Blend” /grant *S-1-15-2-1:(CI)(F)
    processed file: C:Program Files (x86)Microsoft Visual Studio 11.0BlendSuccessfully processed 1 files; Failed processing 0 files

  • Amra

    In a command prompt I got this message:”No mapping between account names and security IDs was done. Failed processing 1 files”

    • Navitsaxena

      As discussed on the email:

      Visual Studio 2012 RC is *only* supported on Windows8 Release
      Preview and is not on Windows8 Consumer Preview.

      Please let
      us know, ii you are seeing issues with XAML Designer in Visual Studio on
      Windows8 Release Preview + Visual Studio 2012 RC. We will be happy to help.

  • aceperry

    How do you ”
    Launch a command prompt as an Administrator.” under windows 8 release preview?

    • http://blendinsider.com/ Lori Dirks

       To launch the Command Prompt and run it as an Administrator on Windows 8 Release Preview, just go to your start screen and begin typing “Command Prompt”.  A list of apps matching your typed search term will appear.

      Right-click on the Command Prompt app to open the AppBar at the bottom edge of the screen.  Click the Run as Administrator option in the AppBar.

      • aceperry

        Thanks Lori, I figured out how to launch the command prompt.  I’m probably in the wrong thread since I don’t get a crash, just an error message.

        • http://blendinsider.com/ Lori Dirks

          Thanks, Perry.  If you’re having an issue with an error message, feel free to send us more details using the green Talk To Us box on the right side of this page and include an email address for a direct reply.

          You can also click the green email icon closer to the top of the page to use our Contact Us form.

    • aceperry

      Nevermind, I found out how to launch and start the command prompt, after looking around and finding the command prompt “tile.”

      I typed in all of the commands but still ended up with the message: “Appl.xaml cannot be edited in the Design view.”  BTW, the commands failed if you put a space between the fields in parentheses: ‘(CI)(F)’

      I’m using Blend for Microsoft Visual studio 2012 RC, version 5.0.30514.0

      and Visual Studio Express 2012 RC for Windows 8

      Any help would be appreciated.

  • Walter Mascarenhas

       I’ve tried all the fixes proposed here, re installed visual studio rc 2012 with the “factory defaults” and it still does not work when I try to write the simplest of the Metro style apps.
    I get the following message.

       Until now, my experience has been a huge waste of time…

                    walter

    System.Runtime.InteropServices.COMException

    O aplicativo não foi iniciado. (Exception from HRESULT: 0x8027025B)

    at Microsoft.Expression.HostUtility.AppPackage.NativeMethods.IApplicationActivationManager.ActivateApplication(String appUserModelId, String activationContext, ActivateOptions options, Int32& processId) at Microsoft.Expression.HostUtility.AppPackage.WrtUtility.ActivateApplication(String appUserModelId, String activationContext, Object site) 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.b__6() at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute()

  • Mark

    Windows 8 RP & VS Express for Win 8

    Same problem, not resolved by the “fix”

  • Mikkel Rostock

    Doesn’t Work for me either, I’m running Windows 8 Enterprise RTM and VS2012 Professional v. 11.0.50727.1RTMREL, getting this exception when trying to open the MainPage.xaml file in a Visual C# Blank App:

    System.Security.SecurityException

    Designer could not be started because of a permissions issue on the drive to which it is installed. Please check the permissions of the folder before trying to start the designer.

    at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.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.AppContainerProcessDomainFactory.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.b__6() at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute()

  • Tom

    Same here. Visual Studio 2012 Ultimate with Expression Blend and Win8 Build 9200. I can’t get the designer to work. Different Exception errors thrown in Remoting dll

  • damn damn

    (only RTM versions)

    I’m using Windows Server 2012, and VS2012PRO and Expression Blend, both return the error : “App.xaml cannot be edited in the Design view.” – tried VS Express to same result

    The workaround, or reinstalling, didn’t solved the problem.

  • Tatung

    still the same problem, I was trying to open a xaml file

  • Raditya

    it throws an invalid parameter on (F), I use VS For windows 8 express

  • Kosti

    I had same problem with designer when I used something like Application.Current.Resources.MergedDictionaries.Add… (used in my multilang app WPF and Caliburn.Micro) in my app bootstrapper. I couldn’t use designer, even when I had empty page – unhandled exception. When I don’t use MergedDictionaries, everything works fine.

  • http://twitter.com/Daynaxys 1D Kiss You VIP

    Doesn’t help at all. Error message:
    *S-1-15-2-1: No mapping between account names and security IDs was done.
    Successfully processed 0 files; Failed processing 1 files
    In Microsoft they create worse and worse software each year. May be Apple will beat them soon.

  • http://twitter.com/abumarwa abumarwa

    I’m using Windows 8 64 bit enterprise on the Company LAN , I’m facing the same problem but when I installed VS 2012 on my Home Laptop The problem did not occur.