我有一個運行我的開發機的Win7上罰款MVC3/EF4網站,但在部署到測試服務器Win2003的引發錯誤:部署MVC/EF一個網站,測試服務器的問題
"Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Exception Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information."
我的問題是雙重。任何明顯的我應該首先檢查?其次,我如何看待LoaderExceptions?
謝謝。
顯而易見:是否在測試服務器上安裝了MVC3?另外 - 什麼.NET Framework版本安裝和什麼.NET版本在您的網站的應用程序池設置中指定? –
對於問題的第二部分 - 在Visual Studio/.NET SDK中有一個名爲Fusion Log Viewer(fuslogvw.exe)的有用實用程序,它記錄系統上發生的所有程序集綁定。更多信息[在MSDN中](http://msdn.microsoft.com/en-us/library/e74a18c4.aspx) –