Click here to Skip to main content
12,691,097 members (31,463 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET Telerik MVC3
I have an MVC3 project that uses some Telerik MVC extensions. It works fine on the VS 2010 built-in web server, for debugging, but when I deploy it to IIS on my host, I get the following compilation error:

CS0246: The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)

The error occurs on line 86 in the code below, from the site root web.config. I have the namespace in both the Views/web.config and the root config.

Line 84:                 <add namespace="System.Web.Routing" />
Line 85:                 <add namespace="System.Web.WebPages" />
Line 86:                 <add namespace="Telerik.Web.Mvc.UI" />
Line 87:             </namespaces>
Line 88:         </pages>

Any ideas what could be wrong? The assembly is definitely available in the bin folder on the host server
Posted 14-Jul-11 0:36am
Updated 14-Jul-11 0:37am
Prerak Patel141.9K

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

First guess - Does your host machine have the Telerik assemblies?
For specific and quick response, post this to Telerik forum[^].

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170117.1 | Last Updated 14 Jul 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100