Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies.
I launch Sitefinity 4.0's administration (to which I added some web user controls to the VS solution from a . NET 4.0 webapp, and these controls use Telerik AJAX controls but probably a newer version than the Sitefinity project), but get this 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
Parser Error Message: Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (C:\inetpub\wwwroot\x\x\web.config line 128)
Line 126: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=126.96.36.199, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 127: <add name="Sitefinity" type="Telerik.Sitefinity.Web.SitefinityHttpModuleIIS6, Telerik.Sitefinity" />
Line 128: <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" />
Line 129: </httpModules>
How can I fix this? I tried a web.config file from a bone-standard Sitefinity project but this did not help.
Hi G S S,
Which version of the Telerik.Web.UI could not be found? If you are trying to reference .NET Framework assemblies you might experience these issues. Sitefinity 4.0 Beta supports .NET Framework 3.5. There will be support for .NET Framework 4.0 with the next release - release candidate that we expect to see after two -three months.
the Telerik team
i have the same problem but my version of sitefinity is the 3.7 version, and only happens when i publish the site.
What's the TargetFramework setting of your project?
- .net 3.5
What's the version of the Telerik.Web.UI assembly?