This is a migrated thread and some comments may be shown as answers.

[Solved] extensions for asp.net mvc

3 Answers 151 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rik
Top achievements
Rank 1
Rik asked on 30 Mar 2010, 02:30 PM
Downloaded and installed the above but when launching the live examples I get
the following error:

 

Server Error in '/RadControls_AspNetMVC' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 28:                 <add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 29:                 <add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 30: <add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>Line 31:                 <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
Line 32:             </assemblies>

Source File: C:\Program Files (x86)\Telerik\Extensions for ASP.NET MVC Q1 2010\Examples\Telerik.Web.Mvc.Examples\web.config    Line: 30

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016

Anybody knows why I'm getting this error?

3 Answers, 1 is accepted

Sort by
0
Accepted
IQworks
Top achievements
Rank 1
answered on 30 Mar 2010, 07:06 PM

Hi Rik,

       If I remember correctly, when I got that error it was because I was trying to use MVC2 when my ASP.NET MVC1.  
       In other words, I was having a conflict because
System.Web.Mvc Version =1.0.0.0 belongs to ASP.NET MVC1 
System.Web.Mvc Version =2.0.0.0 belongs to ASP.NET MVC2
       If you are using Telerik MVC1 Then it needs  System.Web.Mvc Version =1.0.0.0 and Telerik.Web.Mvc.dll 2010.1.xxx.135.
       If you are using Telerik MVC2 Then it needs  System.Web.Mvc Version =2.0.0.0 and Telerik.Web.Mvc.dll 2010.1.xxx.235.

As far as the System.Web.Mvc.dll not being found. Did you Add it to your reference in the project ?
right click on references, Add reference, .NET, System.Web.Mvc.dll 2.0.0.0 .

     Dont know if this is what you need ?

0
Rik
Top achievements
Rank 1
answered on 30 Mar 2010, 08:23 PM
you are right I registered the wrong dll. Thanks.
0
IQworks
Top achievements
Rank 1
answered on 30 Mar 2010, 09:07 PM
  Great ! thanks for letting me know.
Tags
General Discussions
Asked by
Rik
Top achievements
Rank 1
Answers by
IQworks
Top achievements
Rank 1
Rik
Top achievements
Rank 1
Share this question
or