Could not load type 'System.Web.Mvc.ViewUserControl'

前端 未结 4 1287
盖世英雄少女心
盖世英雄少女心 2021-01-02 06:52

I\'m trying to deploy ASP.NET MVC 2 project (VS2010) to Win Server 2008 R2

It works perfectly on dev machine. But strange error occurs at Server 2008 R2: When .ascx

4条回答
  •  庸人自扰
    2021-01-02 07:22

    Could not find why but the following helped (web.config):

    
    

    Initially found similar for asp.net mvc 1

提交回复
热议问题