我在使用最新版本的 WebMatrix 从模板创建网站时遇到问题。我已经卸载它并重试了几次重新启动计算机,但仍然无法创建模板。我试图创建导致相同错误的 ASP.NET、Node.js 模板(“方法失败,出现意外错误代码 50”)。谷歌搜索没有帮助。
日志文件中的详细信息是:
例外:System.InvalidOperationException:方法失败,出现意外错误代码 50。在 System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType,布尔 isContainer,字符串名称,SafeHandle 句柄,AccessControlSections includeSections,布尔 createByName,ExceptionFromErrorCode exceptionFromErrorCode,对象 exceptionContext) Microsoft.Web.Deployment.SetAclProvider.Add(DeploymentObject source, Boolean whatIf) 的 Microsoft.Web.Deployment.SetAclProvider.Add(DeploymentObject source, Boolean whatIf) 的 Microsoft.Web.Deployment.FileSystemSecurityEx..ctor(Boolean isContainer, String name, AccessControlSections includeSections, Boolean isDirectory) (DeploymentObject 源,DeploymentSyncContext syncContext)在 Microsoft.Web.Deployment.DeploymentSyncContext.HandleAdd(DeploymentObject destObject,DeploymentObject sourceObject) 在 Microsoft.Web.Deployment.DeploymentSyncContext.HandleUpdate(DeploymentObject destObject, DeploymentObject sourceObject) 在 Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source) 在 Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildren(DeploymentObject dest , DeploymentObject source) 在 Microsoft.Web.Deployment.DeploymentSyncContext.ProcessSync(DeploymentObject destinationObject, DeploymentObject sourceObject) 在 Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable, Nullable`1 syncPassId) 在Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions,DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions) 在 Microsoft.Web.Deployment.DeploymentObject.SyncTo(String provider, String path, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions) 在 Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentWellKnownProvider provider, String path, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions) 在 Microsoft.Web.PlatformInstaller.MSDeployProxy.Install(InstallerContext context, RemoteCredentials remoteCredentials)Microsoft.Web.PlatformInstaller.MSDeployProxy.Install(InstallerContext context, RemoteCredentials remoteCredentials) 上的 DeploymentBaseOptions baseOptions、DeploymentSyncOptions syncOptions)Microsoft.Web.PlatformInstaller.MSDeployProxy.Install(InstallerContext context, RemoteCredentials remoteCredentials) 上的 DeploymentBaseOptions baseOptions、DeploymentSyncOptions syncOptions)
有任何想法吗?