title: Can't use WPF designer in VS2008 SP1
body: <p>i searched several hours four solution and nothing found. If I open WPF Designer in my VS2008 Team Suite SP1 I become following error:</p>
  
  <blockquote>
    <p>Loading this assembly would produce a
    different grant set from other
    instances. (Exception from HRESULT:
    0x80131401)    at
    System.RuntimeTypeHandle.CreateInstance(RuntimeType
    type, Boolean publicOnly, Boolean
    noCheck, Boolean&amp; canBeCached,
    RuntimeMethodHandle&amp; ctor, Boolean&amp;
    bNeedSecurityCheck)    at
    System.RuntimeType.CreateInstanceSlow(Boolean
    publicOnly, Boolean fillCache)    at
    System.RuntimeType.CreateInstanceImpl(Boolean
    publicOnly, Boolean
    skipVisibilityChecks, Boolean
    fillCache)    at
    System.Activator.CreateInstance(Type
    type, Boolean nonPublic)    at
    System.RuntimeType.CreateInstanceImpl(BindingFlags
    bindingAttr, Binder binder, Object[]
    args, CultureInfo culture, Object[]
    activationAttributes)    at
    System.Activator.CreateInstance(Type
    type, BindingFlags bindingAttr, Binder
    binder, Object[] args, CultureInfo
    culture, Object[]
    activationAttributes)    at
    System.Activator.CreateInstance(String
    assemblyName, String typeName, Boolean
    ignoreCase, BindingFlags bindingAttr,
    Binder binder, Object[] args,
    CultureInfo culture, Object[]
    activationAttributes, Evidence
    securityInfo, StackCrawlMark&amp;
    stackMark)    at
    System.Activator.CreateInstance(String
    assemblyName, String typeName)    at
    System.AppDomain.CreateInstance(String
    assemblyName, String typeName)    at
    System.AppDomain.CreateInstanceAndUnwrap(String
    assemblyName, String typeName)    at
    System.AppDomain.CreateInstanceAndUnwrap(String
    assemblyName, String typeName)    at
    MS.Internal.Package.VSIsolationProviderService.CreateIsolationProvider(String
    identity, AssemblyReferenceProvider
    assemblyReferences, IEnumerable`1
    assemblyFolders)    at
    MS.Internal.Providers.VSDesignerContext.GetIsolationProvider(IServiceProvider
    provider, IVsHierarchy hierarchy,
    AssemblyReferenceProvider
    assemblyReferences, Boolean
    isSilverlightProject)    at
    MS.Internal.Providers.VSDesignerContext.GetIsolationProvider(IServiceProvider
    provider, IVsHierarchy hierarchy,
    AssemblyReferenceProvider
    assemblyReferences)    at
    MS.Internal.Providers.VSDesignerContext.Initialize(IServiceProvider
    provider, IVsHierarchy hierarchy,
    UInt32 itemid, Object docDataObj)<br>
    at
    MS.Internal.Providers.VSDesignerContext..ctor(IServiceProvider
    provider, IVsWindowFrame frame, Object
    docDataObj)    at
    MS.Internal.Providers.VSDesignerContext.GetContext(IServiceProvider
    services, IVsWindowFrame frame,
    Boolean createIfNotExist)    at
    MS.Internal.Designer.DesignerPane.InitializeDesigner()</p>
  </blockquote>
  
  <p>What I tried to this moment:</p>
  
  <ul>
  <li>Reset all settings in Visual Studio</li>
  <li>Closed any open XAML files in project, closed Visual Studio, re-opened VS, opened XAML file</li>
  <li>Create new user in operating system and try open solution with them</li>
  <li>Completed uninstallation/reinstallation of VS 2008 SP1 + MSDN, .NET 3.5 Framework SP1, Silverlight SDK, WPF Toolkit - January 2009</li>
  </ul>
  
  <p>I run on Windows Vista SP1 32bit Business Edition.</p>
  
  <p>Do any have a idea how can I solve it before I would try reinstalling operation system?</p>
  
  <p>Regards
  Anton Kalcik</p>
  
  <p>UPDATE: Also I tried to disable all add-ons.</p>