
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.Parser Error Message: Could not load file or assembly 'Telerik.Web.UI, Version=2008.2.826.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
any ideas on how to resolve this issue?
6 Answers, 1 is accepted
The error on the staging server says that there still is a reference to the old 2008.2.826.20 assembly. Please check your web.config and update the reference to match the version of the newly deployed assembly. Most probably you are using strong name assembly references.
I am attaching a simple web.config, which works with any RadControls for ASP.NET AJAX version (with .NET 2.0 and System.Web.Extensions 1.0.61025.0)
Let us know if you still have troubles.
Kind regards,
Dimo
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.

Good day!
We have problems with deployment on production server.
Application which works ok on Vista, Xp does not run on Server 2003, errors are related to RadCompression and RadUpload,
moduled cannot be found.
Already i read related posts and articles, but couldn't find our case explained.
1. Runs ok on IIS7/Vista (developer machine)
2. Runs ok on IIS6/XP sp(VS 2003, no Telerik installation)
3. On both run ok compiled and not compiled version.
4. On server 2003 runs only not compiled website, as with Telerik installed, the same whithout.
5. errors on server 2003 for compiled version:
Parser Error Message: The specified module could not be found. (Exception from HRESULT: 0x8007007E) (D:\ADPF\adpftest\web.config
line 117)
Line 115: <httpModules>
Line 116: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 117: <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
Line 118: <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>
Line 119: </httpModules>
6. All temp files are cleaned out.
7. dll in bin directory is from Q1 2009 3.5 bin
8. server is virtual machine.
9. Telerik.Web.UI is referenced from bin. Version is 2009.1.402.35
10. on the same server are running sites with old version of Telerik.
11. cleaned out all Telerik from server, all instances of dll. Error is the same.
In general:
on server 2003 compiled version doesn't work, but works not compiled, telerik is referenced from bin.
same error for RadUpload when it is before RadCompression string.
one of topics followed -
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/problem-updating-to-q1-2009.aspx
http://www.telerik.com/support/kb/aspnet-ajax/editor/error-could-not-load-file-or-assembly-telerik-web-ui-version-xxxxx-x-xxxx-x-
culture-neutral-publickeytoken-xxxx-or-one-of-its-dependencies.aspx.
In Asp.NET temp files are now only 2009.1.402.35 dlls.
Please help.
Kind regards,
Iris

Line 117: <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
Line 118: <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>
to
Line 117: <add name="RadCompression" type="Telerik.Web.UI.RadCompression, Telerik.Web.UI" />
Line 118: <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>

But now i have
Server Error in '/' Application.
The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Line <add name="RadCompression" type="Telerik.Web.UI.RadCompression, Telerik.Web.UI" />
was accepted and RadCompression is ok,
but stillproblems with syntax for RadUpload.
I tried anything what i found, but seems behind this message is something else.
Regards,
iris

I found that the install did not replace the telrik dll's in the
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE
directory. When I deleted the two dll;s and copied the new ones there it worked fine.
I upgraded on my 2003 and 2008 server machines with no problem.
hope this helps.
Rich

I had also the same error and I solved this way; In web config file i commented or delete these rows on httphandlers and the application works fine.
<httpHandlers>
<!--<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.3.1125.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>-->
<!--<add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.3.1125.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>-->
</httpHandlers>
<httpModules>
<!--
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>-->
</
httpModules>
Thanks,
Fadao