它看起來像是讀的robots.txt OK,但隨後你的robots.txt聲稱http://bizup.cloudapp.net/robots.txt也是你的XML網站地圖的URL,當它的真的http://bizup.cloudapp.net/sitemap.xml。該錯誤似乎來自Google試圖將robots.txt解析爲XML站點地圖。您需要將您的robots.txt改變
User-agent: *
Allow:/
Sitemap: http://bizup.cloudapp.net/sitemap.xml
編輯
它實際上比這更深一點,和Googlebot無法下載任何頁面都在您的網站。當Googlebot請求robots.txt或主頁時,返回的例外情況如下:
Cookieless表單身份驗證不支持此應用程序。
異常詳細信息:System.Web.HttpException:Cookieless表單身份驗證 不支持此應用程序。
[HttpException (0x80004005): Cookieless Forms Authentication is not supported for this application.]
AzureBright.MvcApplication.FormsAuthentication_OnAuthenticate(Object sender, FormsAuthenticationEventArgs args) in C:\Projectos\AzureBrightWebRole\Global.asax.cs:129
System.Web.Security.FormsAuthenticationModule.OnAuthenticate(FormsAuthenticationEventArgs e) +11336832
System.Web.Security.FormsAuthenticationModule.OnEnter(Object source, EventArgs eventArgs) +88
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +266
FormsAuthentication嘗試,因爲它承認了Googlebot不支持cookie,但隨後在東西你FormsAuthentication_OnAuthenticate方法拋出一個異常,因爲它不希望接受Cookie的身份驗證使用Cookie的方式。
我覺得周圍的最簡單的方法是改變web.config中的以下,這從不斷嘗試使用Cookie的方式停止FormsAuthentication ...
<authentication mode="Forms">
<forms cookieless="UseCookies" ...>
...
現在看起來像一個答案!我很合理,現在檢查出來...... +1 – 2010-08-20 09:15:52
怎麼看到異常?我一直在嘗試一些所謂的Googlebot模擬器,但這種例外情況沒有發生。 – 2010-08-20 10:01:18
某些Googlebot模擬器使用舊版Googlebot中的標題,出於某種原因,只有最新版本會導致此問題。 Google的網站管理員工具在實驗室中具有「抓取Googlebot」功能,您可以假定它們始終與真實的Googlebot相匹配。 一旦你知道了要發送的正確頭文件,Fiddler允許你手工製作一個HTTP請求並檢查響應,所以我從Shaji的答案中複製了請求標題,以查看返回的內容。 (http://www.fiddler2.com/) – stevemegson 2010-08-20 10:50:47