Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...[06.01>7.0.02] Could not load 'Telerik.Web.UI' (Exception from HRESULT: 0x80131040)[06.01>7.0.02] Could not load 'Telerik.Web.UI' (Exception from HRESULT: 0x80131040)
Previous
 
Next
New Post
1/20/2013 3:18 PM
 

Hello Again,

I have been reluctant to get help from here for like 8 or 9 years i guess, but well must be wrong. Recently I asked something Here after that thought to upgrade to the latest available option so after Upgrade from 06.01.03 (108) to 7.00.02 everything went fine in the upgrade and i did take the database/file structure backup .. and Even the Site loaded up fine after the upgrade, bits of my skin broke down , but the site was upgraded and working till 5 min after that the site broke with the following error 

Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

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. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

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. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)] [FileLoadException: Could not load file or assembly 'Telerik.Web.UI, Version=2011.3.1115.35, 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)] System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0 System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +39 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) +132 System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +144 System.Reflection.Assembly.Load(String assemblyString) +28 System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46 [Configurati sException: Could not load file or assembly 'Telerik.Web.UI, Version=2011.3.1115.35, 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)] System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +618 System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +209 System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +130 System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178 System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +94 System.Web.Compilation.BuildManager.CallPreStartInitMethods() +332 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +677 [HttpException (0x80004005): Could not load file or assembly 'Telerik.Web.UI, Version=2011.3.1115.35, 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)] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9088796 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +256


I did search this some people say, updating it the newversion in web.config with the Product Version corrects the issue, on Telerik Website its mentioned to add two new handlers with in the web.config in case of such error

when i do that or when i edit the "newversion" to the latest as it is in the install version of DNN package or even replace the Telerik.Web.UI.dll with the one which comes in install version(as mentioned on Interactive Website ) i get the following error


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.NullReferenceException: Object reference not set to an instance of an object.


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: 


[NullReferenceException: Object reference not set to an instance of an object.] DotNetNuke.Common.Globals.get_Status() +86 DotNetNuke.HttpModules.RewriterUtils.OmitFromRewriteProcessing(String localPath) +39 DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +207 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 


Any hints as to where i should look or what to do ?

 
New Post
1/20/2013 3:31 PM
 

Web.config Telerik :

<dependentAssembly>
        <assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" />
        <!--Upgraded by DotNetNuke.Telerik.Web version 5.6.0 - Date: 1/12/2011 7:18:29 AM-->
        <!--<bindingRedirect oldVersion="2008.0.0.0-2020.0.0.0" newVersion="2010.02.0929.35" xmlns="urn:schemas-microsoft-com:asm.v1" />-->
        <!--Upgraded by DotNetNuke.Telerik.Web version 5.6.0 - Date: 1/23/2011 11:58:14 AM-->
        <!--<bindingRedirect oldVersion="2008.0.0.0-2020.0.0.0" newVersion="2010.02.0929.35" xmlns="urn:schemas-microsoft-com:asm.v1" />-->
        <!--Upgraded by DotNetNuke.Telerik.Web version 5.6.2 - Date: 6/10/2011 12:43:03 AM-->
        <!--<bindingRedirect oldVersion="2008.0.0.0-2020.0.0.0" newVersion="2010.02.0929.35" xmlns="urn:schemas-microsoft-com:asm.v1" />-->
        <!--Upgraded by DotNetNuke.Telerik.Web version 6.0.0 - Date: 8/6/2011 4:35:30 AM-->
        <!--<bindingRedirect oldVersion="2008.0.0.0-2020.0.0.0" newVersion="2010.03.1317.35" xmlns="urn:schemas-microsoft-com:asm.v1" />-->
        <!--Upgraded by DotNetNuke.Telerik.Web version 6.0.0 - Date: 9/25/2011 12:29:04 AM-->
        <!--<bindingRedirect oldVersion="2008.0.0.0-2020.0.0.0" newVersion="2011.1.519.35" xmlns="urn:schemas-microsoft-com:asm.v1" />-->
        <!--Upgraded by DotNetNuke.Telerik.Web version 6.1.3 - Date: 2/3/2012 2:36:42 AM-->
        <!--<bindingRedirect oldVersion="2008.0.0.0-2020.0.0.0" newVersion="2011.1.519.35" xmlns="urn:schemas-microsoft-com:asm.v1" />-->
        <bindingRedirect oldVersion="2008.0.0.0-2020.0.0.0" newVersion="2011.3.1115.35" />
      </dependentAssembly>

When I enter the newVersion as "2011.3.1115.35" which is also the Product Version on my Telerik.Web.UI.dll File I get the following Error :

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.NullReferenceException: Object reference not set to an instance of an object.


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: 


[NullReferenceException: Object reference not set to an instance of an object.] DotNetNuke.Common.Globals.get_Status() +86 DotNetNuke.HttpModules.RewriterUtils.OmitFromRewriteProcessing(String localPath) +39 DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +207 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

But when I change it back to 2011.1.519.35 this error vanishes and i get the Error #1 as stated in the OP post

 
New Post
1/21/2013 7:52 AM
 

Apparently the install of the latest version of Telerik.Web.UI.dll assembly file did not occur properly during the upgrade. This can be caused by insufficient file system permissions for the ASP.Net worker process account (IIS Identity Account) on the root install folder or /bin folder, a read-only attribute applied to web.config, or an unexpected element in web.config that prevents the install from modifying the web.config binding redirect.

For DNN v 7.00.02 the correct version of Telerik.Web.UI.dll both in the /bin folder and in the web.config binding redirect should be 2012.3.1205.40. I would extract this assembly from either the /bin folder of the 7.00.02 install package or from the Telerik_07.00.01_Install.zip package found in the /Install/Module folder of the 7.00.02 upgrade package. After extracting the Telerik.Web.UI.dll file place it in the site's /bin folder. While there check that the version of the Telerik.Web.UI.Skins.dll matches this same version 2012.3.1205.40. You will also need to update the binding redirect in web.config to set newVersion="2012.3.1205.40".


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
1/25/2013 7:10 AM
 

Thank you William
although i chickened out and reverted the backups .. and couldnt kind of take the risk right now .. but soon i will upgrade and i am sure your help will come in handy
Much Appreciated 

 
New Post
5/10/2013 12:20 AM
 
I'm having this same exact issue...

William, I've done as your requested above, but still having the same issue.

Any ideas?



[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.Common.Globals.get_Status() +86
DotNetNuke.HttpModules.RewriterUtils.OmitFromRewriteProcessing(String localPath) +39
DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +207
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...[06.01>7.0.02] Could not load 'Telerik.Web.UI' (Exception from HRESULT: 0x80131040)[06.01>7.0.02] Could not load 'Telerik.Web.UI' (Exception from HRESULT: 0x80131040)


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out