locked
VS 2013 xaml designer error

    Question

  • Hi,
    I create a simple blank project for WINRT with VS2013.

    The Xaml designer and Blend give me both this error.

    I'm sorry if the error description is in italian, I don't know why.
    I have Win 8.1 italian but I downloaded the english SDK

    here the full description:

    System.Exception
    Convalida degli aggiornamenti, delle dipendenze e dei conflitti del pacchetto non eseguita.

    Impossibile installare il pacchetto App.a62db5173.a9a0a.a46ce.aabbe.afbd53e302f16. Non è possibile trovare il pacchetto da cui questo dipende. Per l'installazione di questo pacchetto è necessaria almeno la versione 0.0.0.0 del framework Microsoft.VCLibs.120.00.Debug pubblicato da any publisher. Fornire il framework con il pacchetto.
       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.IsolatedObjectFactory.Initialize()
       at Microsoft.VisualStudio.ExpressionHost.Services.VSIsolationService.CreateObjectFactory(IIsolationTarget isolationTarget, IObjectCatalog catalog)
       at Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
       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()


    Damiano



    • Edited by DamMen Monday, October 21, 2013 12:58 PM
    Sunday, October 20, 2013 8:17 AM

Answers

  • After reinstall Win8.1 and VS2013 all works fine.

    Damiano

    • Marked as answer by DamMen Monday, October 21, 2013 9:11 PM
    Monday, October 21, 2013 9:10 PM

All replies

  • Also VS2012 give me the same error.


    Damiano

    Sunday, October 20, 2013 8:29 AM
  • Hi, DamMen

    I recommend you can repair VS 2013 in your computer. If your problem cannot resolve ,you should reinstall it.

    Best Wishes!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    Monday, October 21, 2013 7:23 AM
  • Thank you Anne,
    I tried everything, refresh, reinstall...nothing.

    With Win8.1 update I have problem also with OS in my pc.

    I can't disable firewall, change Date/Time for example.

    I decided to format and reinstall Windows.


    Damiano

    Monday, October 21, 2013 7:51 AM
  • Hi, I get a similar error in a blank project for xaml app store.

    It's the same in Blend.

    But not for wpf.

    System.ComponentModel.Win32Exception
    Acceso denegado
       at System.Windows.Input.Cursor.LoadFromFile(String fileName)
       at System.Windows.Input.Cursor..ctor(String cursorFile)
       at Microsoft.Expression.Utility.FileResourceManager.GetCursor(String name)
       at Microsoft.Expression.DesignSurface.Tools.SelectionTool.CreateToolBehavior(ToolBehaviorContext behaviorContext)
       at Microsoft.Expression.DesignSurface.Tools.SelectionTool.CreateToolBehavior()
       at Microsoft.Expression.DesignSurface.Tools.Tool.Activate()
       at Microsoft.Expression.DesignSurface.Tools.ToolManager.set_ActiveTool(Tool value)
       at Microsoft.Expression.DesignSurface.Tools.ToolManager.UpdateHostTool()
       at Microsoft.Expression.DesignSurface.Tools.ToolManager.AttachHostListener()
       at Microsoft.Expression.DesignSurface.Tools.ToolManager.DocumentViewContext_ActiveViewChanged(Object sender, ViewChangedEventArgs e)
       at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
       at Microsoft.Expression.DesignSurface.DocumentViewContext.OnActiveViewChanged(ViewChangedEventArgs e)
       at Microsoft.Expression.DesignSurface.DocumentViewContext.SetActiveDocumentAndView(SceneView view, Item item, HostViewEventArgs e)
       at Microsoft.Expression.DesignSurface.DocumentViewContext.SetActiveView(SceneView view, HostViewEventArgs e)
       at Microsoft.Expression.DesignSurface.DocumentViewContext.CreateAndOpenViewInternal(SceneDocument document, CancellationToken cancelToken, Boolean activate, Boolean ensureOpenInHost)
       at Microsoft.Expression.DesignSurface.DesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor, CancellationToken cancelToken)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.<>c__DisplayClass13.<Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner>b__12(CancellationToken cancelToken)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.<>c__DisplayClass3`1.<MarshalInWithCancellation>b__2()
       at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()

    System.ComponentModel.Win32Exception
    Acceso denegado

    Server stack trace:
       at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.WaitForCompletion(NestedCallContext nestedCallContext, BlockingCall call, WaitHandle timeoutSignal)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalInSynchronous(Action action, Int32 targetApartmentId, CancellationToken cancelToken, CallModality callModality, String methodName, String filePath, Int32 lineNumber)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalIn(Action action, Int32 targetApartmentId, CancellationToken cancelToken, CallSynchronizationMode syncMode, CallModality callModality, String methodName, String filePath, Int32 lineNumber)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalIn(IRemoteObject targetObject, Action action, CancellationToken cancelToken, CallSynchronizationMode syncMode, CallModality callModality, ApartmentState apartmentState, String memberName, String filePath, Int32 lineNumber)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.MarshalInWithCancellation[TResult](IRemoteCancellationToken remoteToken, Func`2 func, ApartmentState apartmentState)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostProject remoteProject, IRemoteHostSourceItem remoteItem, IRemoteHostTextEditor remoteEditor, IRemoteCancellationToken remoteToken)
       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]:
       en System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       en System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       en Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostProject remoteProject, IRemoteHostSourceItem remoteItem, IRemoteHostTextEditor remoteEditor, IRemoteCancellationToken cancelToken)
       en Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.CreateDesignerImpl(IRemoteDesignerService ds, IHostSourceItem item, IHostTextEditor editor, RemoteCancellationToken remoteCancelToken)
       en Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.<>c__DisplayClass19.<Microsoft.Expression.DesignHost.IDesignerService.CreateDesigner>b__18(IRemoteDesignerService ds, RemoteCancellationToken remoteToken)
       en Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.<>c__DisplayClass5`1.<MarshalOutWithCancellation>b__4(IRemoteDesignerService ds)
       en Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass1`1.<MarshalOut>b__0()
       en Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()

    System.ComponentModel.Win32Exception
    Acceso denegado
       en Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.WaitForCompletion(NestedCallContext nestedCallContext, BlockingCall call, WaitHandle timeoutSignal)
       en Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalOutSynchronous(Action action, Int32 targetApartmentId, WaitHandle aborted, WaitHandle timeoutSignal, CancellationToken cancelToken, String methodName, String filePath, Int32 lineNumber)
       en Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalOut(Action action, Int32 targetApartmentId, WaitHandle aborted, CancellationToken cancelToken, CallSynchronizationMode syncMode, WaitHandle timeoutSignal, String methodName, String filePath, Int32 lineNumber)
       en Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TValue](RemoteHandle`1 targetObject, Action action, CancellationToken cancelToken, CallSynchronizationMode syncMode, ApartmentState apartmentState, String methodName, String filePath, Int32 lineNumber)
       en Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TValue](RemoteHandle`1 targetObject, Action`1 action, CancellationToken cancelToken, CallSynchronizationMode syncMode, ApartmentState apartmentState, String methodName, String filePath, Int32 lineNumber)
       en Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.MarshalOutWithCancellation[TResult](CancellationToken cancelToken, Func`3 func, ApartmentState apartmentState)
       en Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.Microsoft.Expression.DesignHost.IDesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor, CancellationToken cancelToken)
       en Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)

    The xaml code:

    <Page
        x:Class="App4.MainPage"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="using:App4"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d">

        <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

        </Grid>
    </Page>

    Monday, October 21, 2013 11:30 AM
  • After reinstall Win8.1 and VS2013 all works fine.

    Damiano

    • Marked as answer by DamMen Monday, October 21, 2013 9:11 PM
    Monday, October 21, 2013 9:10 PM
  • Hello again.

    I have reinstalled Win 8.1 and Visual Studio 2013. But the error is still the same.

    Only occurs with store apps, but not in wpf.

    Thursday, October 24, 2013 5:29 PM
  • Roberto: My guess is that you have changed the default location of you %TEMP% folder? Please contact me offline at unnir at Microsoft dot com and I can suggest a solution.

    Thanks,

    Unni


    Unni Ravindranathan, Program Manager, Visual Studio and Blend This posting is provided "AS IS" with no warranties, and confers no rights.

    Wednesday, October 30, 2013 5:16 AM
  • Hello Unni,

    I have changed then temp folder to default folder and now is all ok.

    Thanks.

    Roberto

    Thursday, October 31, 2013 12:48 PM
  • I reinstalled VS 2013 and I haven't changed my temp folder from the default location, but I'm still getting the same error. Is there something else that could cause this?
    Thursday, November 14, 2013 9:51 PM
  • i too have the same issue do anybody have a generic solution rather getting a developer license (INR 1201.00 ) for the same or Re installing your Total OS 8.1

    please suggest i am stucked

    Wednesday, May 21, 2014 1:58 PM