我有一个运行我的开发机的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) –