|
|
|
|
www.thevwc.org Joined: 3/10/2007
Posts: 221
|
|
|
In installing DNN 6.2.3 as an upgrade to DNN 6.2.0, I receive the following error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1705: Assembly 'DotNetNuke, Version=6.2.3.141, Culture=neutral, PublicKeyToken=null' uses 'Telerik.Web.UI, Version=2012.2.724.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' which has a higher version than referenced assembly 'Telerik.Web.UI, Version=2012.1.411.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4'
then, I went and extracted Telerik WebUI Version 2012.2.724.35 from the most recent install package into the bin directory and received many more errors. as shown below:
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.
=== Pre-bind state information === LOG: User = NewHansLapTop\Hansz LOG: DisplayName = Telerik.Web.UI (Partial) LOG: Appbase = file:///D:/VWCWebsite/VwcOrgBackup/ LOG: Initial PrivatePath = D:\VWCWebsite\VwcOrgBackup\bin Calling assembly : (Unknown). === LOG: This bind starts in default load context. LOG: Using application configuration file: D:\VWCWebsite\VwcOrgBackup\web.config LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.config LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/localvwc/4c87ec27/cf00044d/Telerik.Web.UI.DLL. LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/localvwc/4c87ec27/cf00044d/Telerik.Web.UI/Telerik.Web.UI.DLL. LOG: Attempting download of new URL file:///D:/VWCWebsite/VwcOrgBackup/bin/Telerik.Web.UI.DLL. LOG: Using application configuration file: D:\VWCWebsite\VwcOrgBackup\web.config LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.config LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Redirect found in application configuration file: 2012.2.724.35 redirected to 2012.1.411.35. LOG: Post-policy reference: Telerik.Web.UI, Version=2012.1.411.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4 LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/localvwc/4c87ec27/cf00044d/Telerik.Web.UI.DLL. LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/localvwc/4c87ec27/cf00044d/Telerik.Web.UI/Telerik.Web.UI.DLL. LOG: Attempting download of new URL file:///D:/VWCWebsite/VwcOrgBackup/bin/Telerik.Web.UI.DLL. WRN: Comparing the assembly name resulted in the mismatch: Minor Version ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.
|
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=2012.1.411.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.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 [Configurati sException: Could not load file or assembly 'Telerik.Web.UI, Version=2012.1.411.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) +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) +600 System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125 System.Web.Compilation.BuildManager.CompileResourcesDirectory() +31 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +304 [HttpException (0x80004005): Could not load file or assembly 'Telerik.Web.UI, Version=2012.1.411.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.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=2012.1.411.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) +8921851 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +259
|
Version Information: Microsoft .NET Framework Version:2.0.50727.5456; ASP.NET Version:2.0.50727.5456
Please advise .......
Regards
Hans
|
|
|
|
| |
|
|
|
www.wesnetdesigns.com Joined: 2/18/2005
Posts: 3253
|
|
|
Hans,
For some reason the install of the Install/Module/Telerik_06.02.03_Install.zip which upgrades the bin/Telerik.Web.UI.dll to v 2012.2.724.35 AND adds a new binding redirect node to web.config did not run or successfully complete its install during the upgrade. You have fixed the first part of the problem by manually replacing bin/Telerik.Web.UI.dll with the correct version but also need to manually update the binding redirect for this assembly found in the
<runtime>
<assemblyBinding . . . . >
</assembly Binding>
</rutime>
section of web.config. Be sure that the following binding redirect for this assembly version (2012.2.724.35) appears and that all earlier <bindingRedirect . . . /> elements for this assembly are commented out or removed. Here's what it looks like in a site that started with DNN 6.2 and was upgrated stepwise to 6.2.3:
<dependentAssembly>
<assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" />
<!--Upgraded by DotNetNuke.Telerik.Web version 6.2.0 - Date: 5/29/2012 11:20:09 PM-->
<!--<bindingRedirect oldVersion="2008.0.0.0-2020.0.0.0" newVersion="2012.1.411.35" xmlns="urn:schemas-microsoft-com:asm.v1" />-->
<!--Upgraded by DotNetNuke.Telerik.Web version 6.2.1 - Date: 7/12/2012 11:12:43 PM-->
<!--<bindingRedirect oldVersion="2008.0.0.0-2020.0.0.0" newVersion="2012.1.411.35" xmlns="urn:schemas-microsoft-com:asm.v1" />-->
<!--Upgraded by DotNetNuke.Telerik.Web version 6.2.2 - Date: 8/3/2012 8:37:14 PM-->
<!--<bindingRedirect oldVersion="2008.0.0.0-2020.0.0.0" newVersion="2012.1.411.35" xmlns="urn:schemas-microsoft-com:asm.v1" />-->
<!--Upgraded by DotNetNuke.Telerik.Web version 6.2.3 - Date: 9/5/2012 9:02:23 PM-->
<!--<bindingRedirect oldVersion="2008.0.0.0-2020.0.0.0" newVersion="2012.1.411.35" xmlns="urn:schemas-microsoft-com:asm.v1" />-->
<bindingRedirect oldVersion="2008.0.0.0-2020.0.0.0" newVersion="2012.2.724.35" />
</dependentAssembly>
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
|
|
|
|
| |
|
|
|
www.thevwc.org Joined: 3/10/2007
Posts: 221
|
|
|
Bill,
Thanks for the information. the question remains, how can the installation package avoid such "simple' errors.
Regards
Hans
|
|
|
|
| |
|
|
|
www.wesnetdesigns.com Joined: 2/18/2005
Posts: 3253
|
|
|
Hans,
The most common causes of the Telerik.Web.UI assembly not properly upgrading have been due to insufficient file system permissions for the ASP.Net worker process account to be able to replace the older dll file in the /bin folder and/or to modifiy web.config. Until a few versions ago, having a <location> element in web.config could block locating the binding redirect and modifying web.config during an upgrade. Since the Telerik.Web.UI module package is one of the last to be installed it sometimes fails due to a server timeout or drop of the remote connection.
I have also seen mention of a "race condition" in the timing of the placement of the new assembly in the bin that may occur under just the right circumstances that also causes the failure. Since that one has been difficult to reproduce and debug think it is still an open issue in Gemini.
Were any errors seen or logged during the upgrade?
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
|
|
|
|
| |
|
|
Joined: 9/7/2004
Posts: 6
|
|
|
Thank you William Severance,
I had this error and did what you said: extracted Telerik.Web.UI.dll and placed it in the /bin/ then edited the web.config as you told.
But because the upgrade process crashed while it was saying "performing general upgrades" how can I be sure that the upgrade from 6.2.2 to 6.2.3 is properly finished? Couldn't there have been anything more to upgrade after it crashed on the telerik thing?
My upgrade log file for 6.2.3 is empty
|
|
|
|
| |