App Error

Last post 05-29-2008 4:24 AM by Ahtesham. 5 replies.

Sort Posts:

  • App Error

    04-02-2008, 4:50 PM
    • Member
      66 point Member
    • JamesSAEP
    • Member since 01-15-2008, 4:51 PM
    • Posts 237

    I've installed the MVC framework and am trying to Kigg starter kit.  I get the following error when trying to browse to the application:

    Could not load file or assembly 'System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.  What have I missed?

    Thanks.

    Source Error:

    Line 38:       <assemblies>
    Line 39: <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
    Line 40: <add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    Line 41: <add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    Line 42: <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

     

  • Re: App Error

    04-03-2008, 3:31 AM
    • Contributor
      7,054 point Contributor
    • rjcox
    • Member since 12-19-2007, 2:14 PM
    • Basingstoke, UK
    • Posts 1,444

    Are the three assemblies:

    • System.Web.Abstractions.dll
    • System.Web.Mvc.dll
    • System.Web.Routing.dll

    in the application's bin folder?

    (With preview #2 they are deployed side by side rather than in the GAC.) 

    Richard
  • Re: App Error

    04-03-2008, 3:38 AM
    • Member
      525 point Member
    • panjkov
    • Member since 01-12-2003, 5:16 AM
    • Sarajevo/Banjaluka, Bosnia and Herzegovina
    • Posts 167

    Please, give us some more information on that error.

    Based on this what you've posted, are you sure that you're running this on March CTP of ASP.NET MVC? If you're running your example on December CTP, you'll most likely encounter this error, because complete functionality of ASP.NET MVC was not separated across these 3 assemblies, that were introduced in the March CTP:

    System.Web.Abstractions
    System.Web.Routing
    System.Web.Mvc 

    Easiest way to check that is to create new ASP.NET MVC project and open file HomeController.cs.  If public methods are decorated with [ControllerAction] ,  on your computer is installed December CTP of ASP.NET MVC. If that's not the case (if public methods inside controller class are not decorated with [ControllerAction] ) on your computer is installed March CTP.

    Dragan Panjkov
    [http://blogpanjkov.qsh.eu/] [http://www.microsoft.com/bih]

  • Re: App Error

    04-05-2008, 2:15 PM
    • Contributor
      3,086 point Contributor
    • Girijesh
    • Member since 10-27-2005, 12:04 PM
    • India
    • Posts 652

    Run following command on Visual Studio 2008 Command Promp

    gacutil /i "C:\Program Files\Microsoft ASP.NET MVC Preview 2\Assemblies\System.Web.Abstractions.dll"

    gacutil /i "C:\Program Files\Microsoft ASP.NET MVC Preview 2\Assemblies\System.Web.Mvc.dll"

    gacutil /i "C:\Program Files\Microsoft ASP.NET MVC Preview 2\Assemblies\System.Web.Routing.dll"

  • Re: App Error

    04-06-2008, 1:32 AM
    • Member
      56 point Member
    • shinyzhu
    • Member since 05-08-2007, 8:04 AM
    • Chengdu
    • Posts 24
    • TrustedFriends-MVPs

    The Kigg application is based on the ASP.NET MVC Preview 2, but the ASP.NET 3.5 Extension is just a CTP version.

    The ASP.NET MVC road map update can be found here http://weblogs.asp.net/scottgu/archive/2008/02/12/asp-net-mvc-framework-road-map-update.aspx

    So, you can just uninstall the CTP version and install the newer version called ASP.NET MVC Preview 2.

    You can download it here http://www.microsoft.com/downloads/details.aspx?FamilyId=38CC4CF1-773A-47E1-8125-BA3369BF54A3&displaylang=en

    Hope to help.

  • Re: App Error

    05-29-2008, 4:24 AM
    • Member
      103 point Member
    • Ahtesham
    • Member since 04-09-2008, 8:00 AM
    • Posts 99

    I had the same problem but i visit this

    http://forums.asp.net/t/1261720.aspx 

    and do what subdigital  said and it solve my problem

    plz reply if u find any other problem

Page 1 of 1 (6 items)