Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7763703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T14:43:32+00:00 2026-06-01T14:43:32+00:00

I’m experiencing a weird error with the visual studio 11 beta WPF designer (i.e.

  • 0

I’m experiencing a weird error with the visual studio 11 beta WPF designer (i.e. google does not return any results while searching for a part of the stacktrace)

Here is the problem:
When I create a WPF application project, and then add windows or usercontrols to it, I have no problems editing them in the embedded WPF designer.
But when I create a WPF user control project, I cannot manage to get it working: I have the weird error I pasted below.

I’m targeting .Net 4.5 … and my VS is in french (sorry).
I pasted the text for this question to be searcheable, and an image as well, for readability.

EDIT: I would translate the first part of the error message as (sorry for my english…)
Trying to load an assembly from a network source, which has implied using the assembly in sandbox mode in previous version of .Net framework. Since this .Net framework version does not activate CAS strategy by default, this loading might be dangerous.
etc…

VS designer exception

System.NotSupportedException Tentative de chargement d’un assembly à
partir d’un emplacement réseau qui aurait entraîné l’utilisation de
l’assembly en mode Bac à sable (sandbox) dans les versions antérieures
du .NET Framework. Cette version du .NET Framework n’activant pas la
stratégie CAS par défaut, ce chargement peut être dangereux. Si ce
chargement n’est pas destiné à utiliser l’assembly en mode Bac à sable
(sandbox), activez le commutateur loadFromRemoteSources. Pour plus
d’informations, consultez
http://go.microsoft.com/fwlink/?LinkId=155569. à
Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.DirectInvoke[T](WaitHandle
abort, Func1 func) à
Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TResult,TValue](RemoteHandle
1
targetObject, Func1 func) à
Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TResult,TValue](RemoteHandle
1
targetObject, Func`2 func) à
Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.Microsoft.Expression.DesignHost.IDesignerService.CreateDesigner(IHostSourceItem
item, IHostTextEditor editor) à
Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateDesignerViewInfo(IIsolationTarget
isolationTarget, IHostSourceItem item, IHostTextEditor editor,
CancellationTokenSource cancelSource)

System.NotSupportedException Tentative de chargement d’un assembly à
partir d’un emplacement réseau qui aurait entraîné l’utilisation de
l’assembly en mode Bac à sable (sandbox) dans les versions antérieures
du .NET Framework. Cette version du .NET Framework n’activant pas la
stratégie CAS par défaut, ce chargement peut être dangereux. Si ce
chargement n’est pas destiné à utiliser l’assembly en mode Bac à sable
(sandbox), activez le commutateur loadFromRemoteSources. Pour plus
d’informations, consultez
http://go.microsoft.com/fwlink/?LinkId=155569.

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](Func1
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]: à
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg) à
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type) à
Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostSourceItem
remoteItem, IRemoteHostTextEditor remoteEditor) à
Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.<>c__DisplayClass8.b__7(IRemoteDesignerService
d) à
Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass42.<MarshalOut>b__3()
à
Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.DirectInvoke[T](WaitHandle
abort, Func
1 func)

System.NotSupportedException Tentative de chargement d’un assembly à
partir d’un emplacement réseau qui aurait entraîné l’utilisation de
l’assembly en mode Bac à sable (sandbox) dans les versions antérieures
du .NET Framework. Cette version du .NET Framework n’activant pas la
stratégie CAS par défaut, ce chargement peut être dangereux. Si ce
chargement n’est pas destiné à utiliser l’assembly en mode Bac à sable
(sandbox), activez le commutateur loadFromRemoteSources. Pour plus
d’informations, consultez
http://go.microsoft.com/fwlink/?LinkId=155569. at
System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence
evidence) at System.Reflection.Assembly.LoadFile(String path) at
Microsoft.Expression.Utility.AssemblyHelper.LoadFile(String path)
at
Microsoft.Expression.DesignSurface.Assemblies.AssemblyService.CreateClassicShadowCopy(IHostProject
project, String assemblySourcePath) at
Microsoft.Expression.DesignSurface.Assemblies.AssemblyService.ResolveShadowCopyAssembly(IHostProject
project, String path) at
Microsoft.Expression.DesignSurface.Assemblies.AssemblyService.ResolveAssembly(IHostProject
project, String path) at
Microsoft.Expression.DesignSurface.Assemblies.ProjectAssemblyResolver.GetAssemblyInformation(String
path) at
Microsoft.Expression.DesignSurface.Assemblies.ProjectAssemblyResolver.GetAssemblyInformation(IHostReferenceItem
reference) at
Microsoft.Expression.DesignSurface.Assemblies.ProjectAssemblyResolver.UpdateAssemblyReferences(IEnumerable1
referencesToUpdate) at
Microsoft.Expression.DesignSurface.Assemblies.ProjectAssemblyResolver..ctor(IHostProject
project, DesignerContext designerContext) at
Microsoft.Expression.DesignSurface.Assemblies.ProjectAssemblyService.<.ctor>b__0(IHostProject
project) at
Microsoft.Expression.Utility.Collections.SuspendableKeyedCollection
2.CreateItems(TKey
key) at
System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey
key, Func
2 valueFactory) at
Microsoft.Expression.Utility.Collections.SuspendableKeyedCollection2.GetItem(TKey
key) at
Microsoft.Expression.DesignSurface.Assemblies.ProjectAssemblyService.GetProjectAssemblyResolver(IHostProject
project) 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.<GetContextsInActiveSolution>d__20.MoveNext()
at
Microsoft.Expression.DesignSurface.Project.XamlProjectContext.get_Application()
at
Microsoft.Expression.DesignSurface.Documents.SceneDocument.GetApplicationDocument(IXamlProjectContext
activeContext) at
Microsoft.Expression.DesignSurface.Documents.SceneDocument.get_ApplicationSceneDocument()
at
Microsoft.Expression.DesignSurface.DocumentViewContext.CreateAndOpenView(ISourceItemContext
sourceItem, Boolean activate, Boolean ensureOpen) at
Microsoft.Expression.DesignSurface.DesignerService.CreateDesigner(IHostSourceItem
item, IHostTextEditor editor) at
Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.<>c__DisplayClass9.<Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner>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()

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T14:43:34+00:00Added an answer on June 1, 2026 at 2:43 pm

    I appear to have fixed things by setting loadFromSources to enabled as described here:

    1. Go to C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE
    2. Open the files XDesProc.exe.config, devenv.exe.config, and XDesProc.exe.appx.config using a text editor (likely requires administrator mode)
    3. Find </runtime> and before it, add <loadFromRemoteSources enabled=”true”/> (If you copy/paste, make sure the doublequotes come through as ASCII or VS will have a fit)

    (Source: http://www.sehajpal.com/index.php/2010/10/how-to-solve-loadfromremotesources-error-in-vs-2010/)

    Perhaps it is only really necessary to do this for XDesProc.exe.config, I don’t know.


    After that, I got a different error, Method not found: ‘Boolean Microsoft.Windows.Design.PropertyEditing.PropertyFilter.get_IsFiltering()’ :

    Fix:
    Copy the file Microsoft.Windows.Design.Interaction.dll from c:\Program Files (x86)\Microsoft Expression\Blend for Visual Studio\Microsoft.Windows.Design.Interaction\ to c:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PublicAssemblies\ (You may wish to make a backup of the existing file first.)

    (Source: http://connect.microsoft.com/VisualStudio/feedback/details/728263/xaml-editor-reports-unexpected-error-microsoft-expression-designhost-isolation-remoting-remoteexception)

    Someone from Microsoft said installing the Beta over the Developer Preview isn’t supported so maybe that’s why I had this 2nd problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
Does anyone know how can I replace this 2 symbol below from the string
I need a function that will clean a strings' special characters. I do NOT
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I'm making a simple page using Google Maps API 3. My first. One marker
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.