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

Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The module was expected to contain an assembly manifest.

2 Answers 259 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Zaynoun ElFalou
Top achievements
Rank 1
Zaynoun ElFalou asked on 27 Apr 2010, 03:42 AM
I have a site that uses telerik controls, usually i use my owned server for deployment(a company server), everything works fine there. When i make deployment on a shared hosting, however, it gives me the error. I tried to pinpoint the error source, so i made a new website using VS2008, and simply added one radcalendar. i have all needed assemblies in bin folder.
The strange is that the site when i first uploaded to arvixe, was working fine, it was compiled and containing controls from telerik and other third party components.
I tried the website on 2 different hosting, arvixe.com and webhost4life.com, the result. is the same.
Also i noticed that in both hosting, i can't upload a precompiled site (either updatable or non updatable). It makes another error: "default.aspx" is not not precompiled or something...
so i tried to upload the source code. If it is a simple asp.net site without any telerik, then it works, otherwise it gives me the below error.
what could be wrong ?
Anyway, i started to believe that the shared hosting(in general since it is 2 different hosting) doesn't allow my app to read assemblies located inside my website folder (bin folder), so in case of precompiled dlls from website, it is not reading them. Also in case of telerik assembly (Telerik.Web.UI) it is not able read the assembly for maybe the same security restrictions.

Of course the hosting said that they have no problem, and that i should check what is the solution, i already tried all solutions suggested on this forum, nothing worked, So far i tried this:
1-recheck assembly version
2-reupload the telerik assembly to make sure it is not corrupted
3-isolate the problem by including just one calendar on one page, still same problem

Also it is also important to mention that i got a problem before this, i tried to use Cssfriendly.dll for some menu (before i discover how awesome is telerik :D) and it also made problem.

Server Error in '/' Application.

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' or one of its dependencies. The module was expected to contain an assembly manifest.

Source Error:

Line 4:      Namespace="System.Web.UI" TagPrefix="asp" %>
Line 5:  
Line 6:  <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
Line 7:  
Line 8:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /default.aspx    Line: 6

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


2 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 30 Apr 2010, 08:34 AM
Hi Zaynoun,

I am not quite sure what exactly may cause the problem on your side. I suggest you, however, to check the project's target framework and make sure that it matches the .NET version of the Telerik assembly. The last two digits in the in the assembly (Telerik.Web.UI.DLL) version number indicate the target framework. For example 2010.1.415.35 assembly is compiled for .NET 3.5.

I hope this helps.

Sincerely yours,
Fiko
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
NADAV YEHESKEL
Top achievements
Rank 2
answered on 03 May 2010, 09:34 AM
Hi Zaynoun,

I had a similar problem on webhost4life - it didn't find my telerik dlls.
My problem was that my website' structure was as follows:
/Root/MyWebSite

The "MyWebSite folder was configured as virtual directory. In addition, under the root folder I had another website with a "bin" folder. In order to solve my problem I just copied the dlls for telerik from:
/Root/MyWebSite/Bin
to
/Root/Bin

Hope that helps,
Nadav

Tags
General Discussions
Asked by
Zaynoun ElFalou
Top achievements
Rank 1
Answers by
Fiko
Telerik team
NADAV YEHESKEL
Top achievements
Rank 2
Share this question
or