Hi Everyone I am new at developing and I am just simply trying to Run this website from visual studio 2010 and I am getting this error. I just copied the production source code to a test server and it runs perfectly. I am unsure why on my local machine it does not run. My version is actually 2013.1.417.40 I am unsure why it keeps referencing these 2012.3.1016.40 and 2012.2.724.0 files.
1)I have searched my computer and I do not have any 2012 files on it.I have added the /bin .dll file to my GAC.
2)I tried it add this to my webconfig but it errors out at the runtime code. I am unsure where to place it in the webconfig but I assumed anywhere inbetween <Configuration></configuration>
<
runtime
>
<
dependentAssembly
>
<
assemblyIdentity
name
=
"Telerik.Web.UI"
publicKeyToken
=
"121fae78165ba3d4"
/>
<
bindingRedirect
oldVersion
=
"1.0.0.0-2013.1.417.40"
newVersion
=
"2013.1.417.40"
/>
</
dependentAssembly
>
</
runtime
>
3)added this intween the <assemblies></assemblies>
<
add
assembly
=
"Telerik.Web.UI, Version=2013.1.417.40, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"
/>
4)I have removed the reference files and readded them using the dll file that is in my /bin and rebuild.
5)I have turned specific file version to false in references.
6)I have installed the Telerik asp.net ajax software(not sure if I need to do that)
I am running out of options. please help.
Parser Error Message: Could not load file or assembly 'Telerik.Web.UI, Version=2012.3.1016.40, 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)
Source Error:
Line 1: <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MainMenu.ascx.cs" Inherits="Risk_Registers.MainMenu" %>
Line 2: <%--<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>--%>
Line 3:
Source File: /MainMenu.ascx Line: 1
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI, Version=2012.3.1016.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = Telerik.Web.UI, Version=2012.3.1016.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4
(Fully-specified)
LOG: Appbase = file:///C:/Users/xxx/Risk Registers/
LOG: Initial PrivatePath = C:\Users\xxx\Risk Registers\bin
Calling assembly : Risk Registers, Version=2012.2.724.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\xxx\Risk Registers\web.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Telerik.Web.UI, Version=2012.3.1016.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4
LOG: Attempting download of new URL file:///C:/Users/xxx/AppData/Local/Temp/Temporary ASP.NET Files/root/80d173ca/a5cf8a4d/Telerik.Web.UI.DLL.
LOG: Attempting download of new URL file:///C:/Users/xxx/AppData/Local/Temp/Temporary ASP.NET Files/root/80d173ca/a5cf8a4d/Telerik.Web.UI/Telerik.Web.UI.DLL.
LOG: Attempting download of new URL file:///C:/Users/xxx/Risk Registers/bin/Telerik.Web.UI.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Major Version
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.