This is a migrated thread and some comments may be shown as answers.

Could not load file or assembly 'RadEditor, Version=7.2.1.0, Culture=neutral, PublicKeyToken=852c9eb6525c1b53' or one of its dependencies. The system cannot find the file specified.

6 Answers 162 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
lenerd
Top achievements
Rank 1
lenerd asked on 26 Apr 2011, 04:36 PM
Hi,

I upgraded my radcontrols from lowest version to the latest and this problem occurs. I only put my telerik dll to bin folder and add reference to it.

Any fix for this?

6 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 27 Apr 2011, 05:37 AM
Hello Lenerd,

The problem is due to the fact that the RadEditor's DialogHandler  and SpellCheckHandler httpHandlers are registered in the web.config file with their fully qualified names and their versions are not updated.

Check out the following KB article for more on this.
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

Thanks,
Shinu.
0
lenerd
Top achievements
Rank 1
answered on 27 Apr 2011, 07:55 AM
Hi Shinu,

I already done this one and still having some problems. I downloaded the latest release (Q1 2011) of radcontrols. What I did is put his handlers in my web.config.
<httpHandlers>
    ...
    <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"
 validate="false" />
    <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"  validate="false" />
</httpHandlers>


I did not use the one below becase I don't know th Token and the version of the radcontrol. Does the two have difference?

<httpHandlers>
      ...
      <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2007.2.1107.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
        validate="false" />
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2007.2.1107.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
        validate="false" />
</httpHandlers>

<httpHandlers>
      ...
      <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2007.2.1107.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
        validate="false" />
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2007.2.1107.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
        validate="false" />
</httpHandlers>

0
Rumen
Telerik team
answered on 28 Apr 2011, 07:01 AM
Hi Lenerd,

Could you please make sure that there is not a reference to the old RadEditor.dll in the Reference section of you web application in Visual Studio?

If you still experience any problems, please open a support ticket and send your project that demonstrates the error. I will examine it and provide a solution.

All the best,
Rumen
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
lenerd
Top achievements
Rank 1
answered on 28 Apr 2011, 11:19 AM
I think I am not pointing to the old dll since I deleted them all. I replaced it with the newly installed Web.UI.dll from Q1 2011 release.

Any idea sir?
0
Le Duc Hieu
Top achievements
Rank 2
answered on 28 Apr 2011, 02:05 PM
hi friend!

make sure u already remove the older dll from your project and verify  both all source code and web.config files, this bug occurs only when there is still leftover references in your project.

kind regards.  
0
Rumen
Telerik team
answered on 02 May 2011, 12:54 PM
Check also for references to a Source Safe or another source control software.

Kind regards,
Rumen
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
General Discussions
Asked by
lenerd
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
lenerd
Top achievements
Rank 1
Rumen
Telerik team
Le Duc Hieu
Top achievements
Rank 2
Share this question
or