我有一個使用nHibernate,Rhino和Castle的MVC3項目。我終於得到了所有的組件。我認爲。至少它運行,並調用IWondsorContainer CreateContainer()方法....這方法後,的Application_Start不火,我得到的消息:使用nHibernate的MVC3
Server Error in '/' Application.
--------------------------------------------------------------------------------
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /Views/Proposal/Index.cshtml
任何想法?我不知道該怎麼做。謝謝
嘗試去url'/ proposal/index'。上面的錯誤表明你正試圖直接進入視圖而不通過路由和控制器。 – Charlino
@Charlino ...當我使用/ proposal/index或/....ideas時,仍然會得到相同的結果嗎? – MikeTWebb
你會得到同樣的結果,因爲你會得到相同的錯誤頁面抱怨資源沒有找到? – Charlino