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

    Hi,

    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=3.0.0.0, 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" />

    thanks

    Dermot
    Last edited by geoffrey.mcgill; Jul 20, 2012 at 5: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
    http://www.microsoft.com/en-us/downl...s.aspx?id=1491
    Vladimir Shcheglov
    Sr. Developer
  5. #5
    Hi Vladimir

    I just meant it requires SP2.
    http://www.microsoft.com/web/gallery...spx?appid=MVC3

    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

    Dermot
  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, 5:30 AM
  2. [CLOSED] could not load file or assembly 'ext.net'
    By VALUELAB in forum 1.x Premium Help
    Replies: 4
    Last Post: May 04, 2011, 2:48 PM
  3. Replies: 1
    Last Post: Nov 17, 2010, 3: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, 9:11 AM
  5. Replies: 0
    Last Post: Apr 15, 2010, 7:25 AM

Tags for this Thread

Posting Permissions

Subscribe now to get the latest Ext.NET happenings in our newsletter.