我正在使用webmatrix2,我無法從模板創建項目。它失敗並出現錯誤Webmatrix無法從模板創建項目
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然後重新安裝它,但一切都失敗了相同的方式。謝謝。
哎呀。我將它傳遞給WebMatrix開發團隊來看看。 – 2012-08-04 22:44:09
這看起來像是IIS Express的問題。你可以請嘗試卸載IIS Express(它的所有版本)並再次安裝它? – 2012-08-05 02:46:36