我正在使用 webmatrix2,我无法从模板创建项目。它失败并出现错误
Error
There was an error creating site 'mysitename' Invalid Index.
(Exception from HRESULT: 0x80070585)
copy details to clipboard
而它的“从……下载模板”正在生成。这是我的剪贴板内容
---------------------------
Error
---------------------------
There was an error creating site 'mysitename'.
Invalid index. (Exception from HRESULT: 0x80070585)
---------------------------
OK
---------------------------
---------------------------
System.Runtime.InteropServices.COMException (0x80070585): Invalid index. (Exception from HRESULT: 0x80070585)
at Microsoft.Web.Administration.Interop.IAppHostElement.GetPropertyByName(String bstrSubName)
at Microsoft.Web.Administration.ConfigurationElement.GetAttributeValue(String attributeName)
at Microsoft.Web.Administration.Binding.get_SslFlags()
at Microsoft.Web.Administration.Binding.get_CertificateHash()
at Microsoft.Web.Administration.BindingCollection.Add(Binding binding)
at Microsoft.Web.Administration.BindingCollection.Add(String bindingInformation, String bindingProtocol)
at Microsoft.Web.Administration.SiteCollection.Add(String name, String bindingProtocol, String bindingInformation, String physicalPath, Byte[] certificateHash, String certificateStore, SslFlags sslFlags)
at Microsoft.WebMatrix.Utility.CreateSiteHelper.CreateSite(String name, String path, FrameworkType frameworkType)
at Microsoft.WebMatrix.Utility.CreateSiteHelper.CreateSiteFromName(String name, Boolean makeNameUnique)
at Microsoft.WebMatrix.Gallery.Server.GalleryModuleService.<>c__DisplayClass10.<AddSiteFromName>b__f(ExecutionContext context)
at Microsoft.WebMatrix.Core.Server.ModuleService.<>c__DisplayClass4`1.<InvokeOnMTA>b__0()
at Microsoft.WebMatrix.Core.TaskServiceImplementation.<>c__DisplayClass8`1.<InvokeOnMTA>b__5()
---------------------------
在了解错误的含义之前,你们中是否有人遇到过这种情况?
我曾尝试卸载 webmatrix2 然后重新安装它,但一切都以同样的方式失败。谢谢你。