Click here to Skip to main content
15,886,100 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.

XML
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
Updated 13-Jul-11 23:37pm
v2

1 solution

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

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900