2012-08-05 90 views
2

错误为什么webmatrix不适合我?

There was an error creating site 'Empty Site1'. 

Invalid index. (Exception from HRESULT: 0x80070585) 

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来从模板创建一个空的网站,但我一直在报道上述错误。这里是模板安装日志错误

DownloadManager Information: 0 : Adding product 'EmptySite' to the cart 
DownloadManager Information: 0 : Starting install sequence 
DownloadManager Information: 0 : Using cached file at C:\Users\Computer\AppData\Local\Microsoft\Web Platform Installer\installers\EmptySite\ce7d29f43ac4cb3be29181feba3458cb66fbf60f\EmptySite.zip instead of downloading from http://download.microsoft.com/download/3/3/8/33841B52-1126-4892-AEBA-DD67EFE5CBFA/EmptySite.zip 
DownloadManager Information: 0 : Loading product xml from: https://go.microsoft.com/?linkid=9808264 
DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9808264 responded with 302 
DownloadManager Information: 0 : Response headers: 
HTTP/1.1 302 Found 
Cache-Control: private 
Content-Length: 175 
Content-Type: text/html; charset=utf-8 
Expires: Sun, 05 Aug 2012 06:12:11 GMT 
Location: https://www.microsoft.com/web/webpi/4.0/webproductlist.xml 
Server: Microsoft-IIS/7.5 
X-AspNet-Version: 2.0.50727 
Set-Cookie: MC1=GUID=cf753bfbb7a34e4e85e1644c1f94456c&HASH=fb3b&LV=20128&V=3; domain=microsoft.com; expires=Sun, 03-Oct-2010 07:00:00 GMT; path=/ 
X-Powered-By: ASP.NET 
Date: Sun, 05 Aug 2012 06:13:10 GMT 


DownloadManager Warning: 0 : Could not resolve keyword ID Sharepoint 
DownloadManager Warning: 0 : Could not resolve keyword ID Office 
DownloadManager Warning: 0 : Could not resolve keyword ID SQL 
DownloadManager Warning: 0 : Could not resolve keyword ID SQL 
DownloadManager Warning: 0 : Could not resolve keyword ID WIF 
DownloadManager Warning: 0 : Could not resolve keyword ID identity 
DownloadManager Warning: 0 : Could not resolve keyword ID federation 
DownloadManager Warning: 0 : Could not resolve keyword ID claims 
DownloadManager Warning: 0 : Could not resolve keyword ID authentication 
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.0/webapplicationlist.xml 
DownloadManager Warning: 0 : Could not resolve keyword ID Katalready 
DownloadManager Warning: 0 : Could not resolve keyword ID Katalready 
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight 
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight 
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight 
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight 
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight 
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight 
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight 
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight 
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight 
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight 
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight 
DownloadManager Warning: 0 : Could not resolve keyword ID Katalready 
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight 
DownloadManager Warning: 0 : Could not resolve keyword ID Katalready 
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.0/mediaproductlist.xml 
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.0/toolsproductlist.xml 
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.0/enterpriseproductlist.xml 
DownloadManager Information: 0 : Loading product xml from: http://go.microsoft.com/?LinkId=9806977 
DownloadManager Information: 0 : http://go.microsoft.com/?LinkId=9806977 responded with 302 
DownloadManager Information: 0 : Response headers: 
HTTP/1.1 302 Found 
Cache-Control: private 
Content-Length: 176 
Content-Type: text/html; charset=utf-8 
Expires: Sun, 05 Aug 2012 06:12:12 GMT 
Location: http://www.microsoft.com/web/webmatrix/2.0/templatefeed.xml 
Server: Microsoft-IIS/7.5 
X-AspNet-Version: 2.0.50727 
Set-Cookie: MC1=GUID=f116c112acb5d74b9ddfc72cac17bf37&HASH=12c1&LV=20128&V=3; domain=microsoft.com; expires=Sun, 03-Oct-2010 07:00:00 GMT; path=/ 
X-Powered-By: ASP.NET 
Date: Sun, 05 Aug 2012 06:13:12 GMT 


DownloadManager Warning: 0 : Could not resolve keyword ID HTML 
DownloadManager Warning: 0 : Could not resolve keyword ID HTML 

有人可以很好地解释我是什么原因是?谢谢。

+0

如果存在清除此目录并再次尝试'C:\ Users \ Computer \ AppData \ Local \ Microsoft \ Web平台安装程序\ installers \ EmptySite \ ce7d29f43ac4cb3be29181feba3458cb66fbf60f \ EmptySite.zip' – 2012-08-05 06:23:21

+0

非常感谢,但它不工作所有。它报告相同的错误。 – 2012-08-05 06:50:51

回答

0

正如我在另一个线程中提到的 - 你有没有试过卸载并重新安装IIS Express?

1

我会卸载WebMatrix和IIS7.5并重新安装干净的版本。当我安装WebMatrix 2并进行干净安装时,我遇到了类似的问题。