我試圖在Windows 7開發計算機上的開發結構中運行示例「HelloWorld」Azure應用程序。它編譯成功,我可以看到它在狀態欄中出現「Windows Azure模擬環境」時啓動,當我啓動DF UI時,我可以看到HelloWorld_WebRole正在運行,但在瀏覽器中收到以下錯誤消息:無法在開發結構中運行「HelloWorld」Azure示例
Server Error in Application "ROLE SITE"
Internet Information Services 7.5
Error Summary
HTTP Error 404.17 - Not Found
The requested content appears to be script and will not be served by the static file handler.Detailed Error Information
Module: StaticFileModule
Notification: ExecuteRequestHandler
Handler: StaticFile
Error: Code 0x80070032
Requested URL: http://127.0.0.1:5100/Default.aspx
Physical Path: C:\Projects\Azure-samples-cs\HelloWorld\HelloWorld\bin\Debug\HelloWorld.csx\roles\HelloWorld_WebRole\approot\Default.aspx
Logon Method: Anonymous
Logon User: Anonymous
錯誤消息繼續說,最可能的原因是:
The request matched a wildcard mime map. The request is mapped to the static file handler. If there were different pre-conditions, the request will map to a different handler.
您成功通過了「任務1 - 運行依賴檢查程序」嗎?在您嘗試實驗室/演示之前運行所有這些非常重要。 – 2010-01-23 00:21:16
如果將網址更改爲127.0.0.1:81/Default.aspx,會發生什麼情況? 端口5100比平常要高,它聽起來像仿真環境負載平衡器的內部端口或開發Web服務器上的端口。 您也可以將Web項目設置爲啓動項目,並查看它是否首先啓動。 您提供的詳細錯誤顯示在哪裏?在開發結構中,IIS日誌,Windows事件日誌或Internet Explorer? – 2010-01-24 01:22:05
Marco - 我已經完成了這項任務,發現我的設置沒有問題。 賈森 - 錯誤出現在Internet Explorer中,如果我去http://127.0.0.1:81/Default.aspx我得到相同的錯誤。我已經將Web項目設置爲啓動項目,並且它可以正常啓動。 – dbush 2010-01-25 17:25:39