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

cannot run sample project

2 Answers 42 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.
niwat
Top achievements
Rank 1
niwat asked on 13 Nov 2010, 06:05 PM
Help me please. I have tried to run a sample but i got an error like this.

Server Error in '/' 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\Telerik\Extensions for ASP.NET MVC Q3 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.

2 Answers, 1 is accepted

Sort by
0
Vinkel
Top achievements
Rank 1
answered on 15 Nov 2010, 01:31 PM
The error says that you do not have MVC 2 installed or not reference System.Web.MVC dll in the project. Please fix it.

-J
0
niwat
Top achievements
Rank 1
answered on 16 Nov 2010, 03:47 AM
hello Vinkel
I have tried to reinstall MVC but it still have a same error.
Error 1 Could not load file or assembly 'System.Web.Mvc, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. C:\Program Files\Telerik\Extensions for ASP.NET MVC Q3 2010\Examples\Telerik.Web.Mvc.Examples\Web.config 30

Could not load file or assembly 'System.Web.Mvc, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. C:\Program Files\Telerik\Extensions for ASP.NET MVC Q3 2010\Examples\Telerik.Web.Mvc.Examples\Web.config

My OS is windows vista ultimate with visual studio 2008.
Do you have another suggestion?
Thank you
Tags
General Discussions
Asked by
niwat
Top achievements
Rank 1
Answers by
Vinkel
Top achievements
Rank 1
niwat
Top achievements
Rank 1
Share this question
or