The official release of Ext.NET Mobile is now available. Ext.NET Mobile is an ASP.NET component framework for building Phone and Tablet specific mobile web applications. Read More

Could not load file or assembly System.Web.Mvc

  1. #1

    Could not load file or assembly System.Web.Mvc


    I have created an ASP.NET web application (not an MVC application). When I deploy to a server running IIS 6, I get this error

    [FileNotFoundException: Could not load file or assembly 'System.Web.Mvc, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
        Ext.Net.BaseControl.ResolveUrlLink(String url) +0   Ext.Net.ResourceManager.GetWebResourceUrl(Type type, String resourceName) +325   Ext.Net.ResourceManager.CheckLicense() +152   Ext.Net.ResourceManager.Page_PreRenderComplete(Object sender, EventArgs e) +34   System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +8876298   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2716
    Is there a reason why the ResourceManager is trying to use the MVC assembly and is there a way around it?

    The only ext code I need to replicate the error is

            <ext:ResourceManager ID="mcResourceManager" runat="server" />


    Last edited by geoffrey.mcgill; Jul 20, 2012 at 6:00 PM. Reason: please use [CODE] tags
  2. #2
    Ext.Net supports ASP.NET MVC functionality (System.Web.Mvc in assemblies references of Ext.Net project) therefore MVC 3 must be installed on the server
    Vladimir Shcheglov
    Sr. Developer
  3. #3
    Unfortunately, my target platform is Windows 2003 SP1 which cannot support MVC3.

    Anyway, thank you for letting me know.
  4. #4
    Windows 2003 is supported OS
    Please see
    Vladimir Shcheglov
    Sr. Developer
  5. #5
    Hi Vladimir

    I just meant it requires SP2.

    This is not an Ext.Net problem, however I would suggest that you mention it as a system requirement as there is a difference between supporting mvc and depending on it.

    thanks again

  6. #6
    We will consider ability to release Ext.Net 2.1 without System.Web.Mvc requirement (two versions of Ext.Net: with and without MVC support)
    Vladimir Shcheglov
    Sr. Developer

Similar Threads

  1. Replies: 2
    Last Post: May 07, 2011, 6:30 AM
  2. [CLOSED] could not load file or assembly ''
    By VALUELAB in forum 1.x Premium Help
    Replies: 4
    Last Post: May 04, 2011, 3:48 PM
  3. Replies: 1
    Last Post: Nov 17, 2010, 4:07 PM
  4. Could not load file or assembly Coolite.Ext.Web
    By ranganath in forum 1.x Help
    Replies: 0
    Last Post: May 04, 2010, 10:11 AM
  5. Replies: 0
    Last Post: Apr 15, 2010, 8:25 AM

Tags for this Thread

Posting Permissions