none
无法启动设计器,因为将设计器安装到的驱动器出现权限问题。请先检查文件夹的权限,然后再尝试启动设计器。 RRS feed

  • 问题

  • 怎么解决下面问题?

    System.Security.SecurityException
    无法启动设计器,因为将设计器安装到的驱动器出现权限问题。请先检查文件夹的权限,然后再尝试启动设计器。
       在 Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary environmentVariables, Int32& processId, Object& processData)
       在 Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain..ctor(ProcessDomainFactory factory, IIsolationBoundary boundary, AppDomainSetup appDomainInfo, FrameworkName targetFramework, String identifier, String baseDirectory)
       在 Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
       在 Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
       在 Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.Initialize()
       在 Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type)
       在 Microsoft.Expression.DesignHost.Isolation.IsolatedObjectFactory.Initialize()
       在 Microsoft.VisualStudio.ExpressionHost.Services.VSIsolationService.CreateObjectFactory(IIsolationTarget isolationTarget, IObjectCatalog catalog)
       在 Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
       在 Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry)
       在 Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)
       在 Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func`2 func, CancellationToken cancelToken)
       在 Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.<>c__DisplayClassa`1.<StartTask>b__6()
       在 System.Threading.Tasks.Task`1.InnerInvoke()
       在 System.Threading.Tasks.Task.Execute()

    2014年5月31日 3:52

答案

  • 你好,请参考这个blog:http://blogs.msdn.com/b/astebner/archive/2006/09/04/739820.aspx

    使用SubInACL工具之后就可以给相应的文件赋予权限。

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" 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.

    2014年6月2日 6:00
    版主