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

Rad control not working

10 Answers 650 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
sindhuja
Top achievements
Rank 1
sindhuja asked on 30 Jun 2008, 04:33 PM
Hai I had developed a project few months back....using telerik  rad controls. It was working fine. Now i had to modify my project...so when i opened and tried to run my system i am getting following error..\

" Could not load file or assembly RadComboBox.Net2 or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with or it was delay signed but not fully signed with the correct private key. (Exception from HRESULt:0x80131045)

Can anyone help me with this please.

10 Answers, 1 is accepted

Sort by
0
Adriano
Top achievements
Rank 1
answered on 16 Oct 2008, 02:16 AM
I´m having the same problem.

Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)


Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

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].

Stack Trace:

[FileLoadException: Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)]

[FileLoadException: Could not load file or assembly 'Telerik.Web.UI, Version=2008.2.1001.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)]
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
   System.Reflection.Assembly.Load(String assemblyString) +28
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46

[ConfigurationErrorsException: Could not load file or assembly 'Telerik.Web.UI, Version=2008.2.1001.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
   System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +54
   System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +8805010
   System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +128
   System.Web.Compilation.BuildManager.CompileResourcesDirectory() +31
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +304

[HttpException (0x80004005): Could not load file or assembly 'Telerik.Web.UI, Version=2008.2.1001.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)]
   System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +58
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +512
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +729

[HttpException (0x80004005): Could not load file or assembly 'Telerik.Web.UI, Version=2008.2.1001.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8886319
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +259


Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
0
Rosi
Telerik team
answered on 16 Oct 2008, 06:39 AM
Hello Adriano,

Our suggestion is to delete the Web.UI assembly from your project and insert it again - from the Telerik.Web.UI installation folder.

Regards,
Rosi
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Arief
Top achievements
Rank 1
answered on 05 Mar 2009, 07:34 AM
I got the same problem.
It still didn't work even after i deleted Telerik.Web.UI assembly and inserted it again.
Then I created new project, and copied all files and folders to new project folder.
It run in new project, but my old project still give the same error message.

0
Adriano
Top achievements
Rank 1
answered on 05 Mar 2009, 02:48 PM
Hi!
I solved the problem.
In my case, my project was working correctly in my machine.
But when i started uploading the assembly file "Telerik.Web.UI.dll" to the server, using CuteFTP or Filezilla 3+ i was receiving this error.
I started uploading using Filezilla 2.2.3.2 http://www.filehippo.com/download_filezilla/2512/ and this solves the error.
So, the problem was that the assembly was been corrupted while uploading to the server.

I hope this helps,

Kind regards,

Adrian
0
Dennis Valencia
Top achievements
Rank 1
answered on 11 Mar 2009, 02:34 PM
Hello Rosi (or admin),

Ok, I am having this problem as well. I tried deleting assembly web.ui (does this mean I need to delete Telerik.Web.UI.dll) from project bin directory?

Now you said, install again from Telerik.Web.UI  folder.

I have only c:\Program Files\telerik\RadControls for ASPNET AJAX Q3 2008\Bin\ folder to install Telerik.Web.UI.dll. (I am using a demo version to evaluate new controls).

I tried uninstalling using gacutil and re installing again. No change effect. Error persists. I am using Net 2.0 and VS 2005 on Win 2000 Prof, Mem 1 GB, with no memory hogging application running during development).

I am totally new  to Telerik controls and literally fighting with no results.

Thanks in advance,
Prashant
0
Dennis Valencia
Top achievements
Rank 1
answered on 11 Mar 2009, 02:54 PM
Hello Rosi (or admin),

The other Telerik.Web.UI problem went  away. Not sure how, but now I have a new error.
I believe, I have proper entries as per the documentation in web.config, I have added Telerik.Web.UI.dll to the project bin directory.
(FYI - I am using Telerik ASP.NET AJAX lates Q3 08 release).

web.config entries -

<

add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

 

<

add assembly="Telerik.Web.UI, Version=2008.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>

 


<

httpHandlers>

 

<

add verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI Version=2008.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>

 

<

add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>

 

</

httpHandlers>

 


Appreciate any help.
thanks,
Prashant

Error -

The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[FileLoadException: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)]
   System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0
   System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +78
   System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58
   System.Type.GetType(String typeName) +48
   Telerik.Web.UI.WebResource.Exists(HttpContext context, String path, String applicationPath) +984
   Telerik.Web.UI.RadScriptManager.OnPreRender(EventArgs e) +113
   System.Web.UI.Control.PreRenderRecursiveInternal() +148
   System.Web.UI.Control.PreRenderRecursiveInternal() +233
   System.Web.UI.Control.PreRenderRecursiveInternal() +233
   System.Web.UI.Control.PreRenderRecursiveInternal() +233
   System.Web.UI.Control.PreRenderRecursiveInternal() +233
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4421
0
Veselin Vasilev
Telerik team
answered on 11 Mar 2009, 03:04 PM
Hello Dennis Valencia,

If you deploy the Telerik.Web.UI.dll in the Bin you do not have to use the full assembly name.

So, please delete this line:

<add assembly="Telerik.Web.UI, Version=2008.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>  

and changed this line:

<add verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI Version=2008.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>  

to this one:

<add verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>  


Greetings,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Quan Pham
Top achievements
Rank 1
answered on 03 May 2010, 12:04 PM
nice solution! thanks so much!
0
Sphengle
Top achievements
Rank 1
answered on 18 May 2010, 04:23 PM
I'm getting the same problem now and it's totally baffling me - but I only see it on one machine.

I've removed and added it back to the project.  However, it works fine when running locally on my PC and on a couple of test servers - it's just happening on one server.  The code and binaries are identical.  Telerik DLLs are in the bin and there are no specific references to versions in the web.config.





0
T. Tsonev
Telerik team
answered on 21 May 2010, 08:47 AM
Hi Sphengle,

The case might be that the copy of assembly is corrupt on that particular server. You can use the File Checksum utility by MS to verify that the files are identical.

You can also try putting the assembly in the GAC. The Assembly signatures are verified upon adding them to the GAC.

I hope this helps.

Sincerely yours,
Tsvetomir Tsonev
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.
Tags
ComboBox
Asked by
sindhuja
Top achievements
Rank 1
Answers by
Adriano
Top achievements
Rank 1
Rosi
Telerik team
Arief
Top achievements
Rank 1
Dennis Valencia
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Quan Pham
Top achievements
Rank 1
Sphengle
Top achievements
Rank 1
T. Tsonev
Telerik team
Share this question
or