Click here to Skip to main content
Rate this: bad
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 13-Jul-11 23:36pm
Edited 13-Jul-11 23:37pm
Prerak Patel140.5K

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)

Advertise | Privacy | Mobile
Web04 | 2.8.141022.2 | Last Updated 14 Jul 2011
Copyright © CodeProject, 1999-2014
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