This question is locked. New answers and comments are not allowed.
Hi!
After downloading the latest internal build yesterday I have tried for hours to solve this problem and hope you can help.
Basically, I think I have tried everything, but obviously I have missed something. I have removed and readded the references to the dll several times, renamed them, moved them to new folder, checked that they arent in the GAC. I have searched in all files in the solution folder for any references to Telerik.Web.Mvc with any kind of version information and found it in the two .csproj files for the projects that reference them but nowhere else. In the .csproj the reference looks like this:
<Reference Include="Telerik.Web.Mvc.2010.3.1220">
In all relevant .config files I only have Telerik.Web.Mvc, no version information.
I use .net 4 and Asp.net Mvc 3 RCII.
I really hope you can shed some light over this issue!
/Victor
After downloading the latest internal build yesterday I have tried for hours to solve this problem and hope you can help.
Could not load file or assembly 'Telerik.Web.Mvc.2010.3.1220' 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.Mvc.2010.3.1220' 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.Mvc.2010.3.1220' could not be loaded.=== Pre-bind state information ===LOG: User = MINDMANCER\victorLOG: DisplayName = Telerik.Web.Mvc.2010.3.1220 (Partial)WRN: Partial binding information was supplied for an assembly:WRN: Assembly Name: Telerik.Web.Mvc.2010.3.1220 | Domain ID: 7WRN: A partial bind occurs when only part of the assembly display name is provided.WRN: This might result in the binder loading an incorrect assembly.WRN: It is recommended to provide a fully specified textual identity for the assembly,WRN: that consists of the simple name, version, culture, and public key token.WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.LOG: Appbase = file:///D:/Mindmancer/Mindview2/trunk/Portal/LOG: Initial PrivatePath = D:\Mindmancer\Mindview2\trunk\Portal\binCalling assembly : (Unknown).===LOG: This bind starts in default load context.LOG: Using application configuration file: D:\Mindmancer\Mindview2\trunk\Portal\web.configLOG: Using host configuration file: LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\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/v4.0.30319/Temporary ASP.NET Files/root/de6827b1/72b76569/Telerik.Web.Mvc.2010.3.1220.DLL.LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/de6827b1/72b76569/Telerik.Web.Mvc.2010.3.1220/Telerik.Web.Mvc.2010.3.1220.DLL.LOG: Attempting download of new URL file:///D:/Mindmancer/Mindview2/trunk/Portal/bin/Telerik.Web.Mvc.2010.3.1220.DLL.WRN: Comparing the assembly name resulted in the mismatch: NAMEERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.Stack Trace:[FileLoadException: Could not load file or assembly 'Telerik.Web.Mvc.2010.3.1220' 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[ConfigurationErrorsException: Could not load file or assembly 'Telerik.Web.Mvc.2010.3.1220' 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) +591[HttpException (0x80004005): Could not load file or assembly 'Telerik.Web.Mvc.2010.3.1220' 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) +8950644 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +258Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1Basically, I think I have tried everything, but obviously I have missed something. I have removed and readded the references to the dll several times, renamed them, moved them to new folder, checked that they arent in the GAC. I have searched in all files in the solution folder for any references to Telerik.Web.Mvc with any kind of version information and found it in the two .csproj files for the projects that reference them but nowhere else. In the .csproj the reference looks like this:
<Reference Include="Telerik.Web.Mvc.2010.3.1220">
In all relevant .config files I only have Telerik.Web.Mvc, no version information.
I use .net 4 and Asp.net Mvc 3 RCII.
I really hope you can shed some light over this issue!
/Victor