Results 1 to 6 of 6

Thread: Could not load file or assembly System.Web.Mvc

  1. #1
    Member
    Join Date
    Nov 2009
    Location
    Posts
    25

    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

    Code:
    [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

    Code:
            <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 - Dev Team Vladimir's Avatar
    Join Date
    Mar 2008
    Location
    Russia
    Posts
    15,263
    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
    Ext.NET, Inc.
    Development Team

    Ext.NET Examples | Ext.NET API Docs | ExtJS API Docs | Twitter | Jobs

  3. #3
    Member
    Join Date
    Nov 2009
    Location
    Posts
    25
    Unfortunately, my target platform is Windows 2003 SP1 which cannot support MVC3.

    Anyway, thank you for letting me know.

  4. #4
    Ext.NET - Dev Team Vladimir's Avatar
    Join Date
    Mar 2008
    Location
    Russia
    Posts
    15,263
    Windows 2003 is supported OS
    Please see
    http://www.microsoft.com/en-us/downl...s.aspx?id=1491
    Vladimir Shcheglov
    Ext.NET, Inc.
    Development Team

    Ext.NET Examples | Ext.NET API Docs | ExtJS API Docs | Twitter | Jobs

  5. #5
    Member
    Join Date
    Nov 2009
    Location
    Posts
    25
    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
    Ext.NET - Dev Team Vladimir's Avatar
    Join Date
    Mar 2008
    Location
    Russia
    Posts
    15,263
    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
    Ext.NET, Inc.
    Development Team

    Ext.NET Examples | Ext.NET API Docs | ExtJS API Docs | Twitter | Jobs

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