Problems with public key

4 posts, 0 answers
  1. Web Services
    Web Services avatar
    243 posts
    Member since:
    Apr 2008

    Posted 16 Jun 2009 Link to this post

    I am trying to edit an existing site and I am getting this error

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Could not load file or assembly 'Telerik.Web.UI, Version=2008.1.415.20, 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:  <%@ Master Language="VB" AutoEventWireup="false" Codebehind="MasterPage.master.vb"
    Line 2:      Inherits="devOrthman.MasterPage" %>
    Line 3:  <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

    Source File: /MasterPage.Master    Line: 1

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI, Version=2008.1.415.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' could not be loaded.


    This site already existed and I am just trying to open it in visual studio to fix some problems. I have posted my master page and web.config file

    <%@ Master Language="VB" AutoEventWireup="false" Codebehind="MasterPage.master.vb"
        Inherits="devOrthman.MasterPage" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd">
    <html style="height: 100%">
    <head id="Head1" runat="server">
        <link href="App_Themes/MainTheme/MySkin/TreeView.MySkin.css" rel="stylesheet" type="text/css" />
        <link href="App_Themes/MainTheme/MainStyles.css" rel="stylesheet" type="text/css" />
    </head>

    <telerik:radscriptmanager runat="server"></telerik:radscriptmanager>
    <body style="margin: 0px; height: 100%; overflow: hidden;" scroll="no">
        <form id="Form1" method="post" runat="server" style="height: 100%">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <telerik:radgrid runat="server"></telerik:radgrid>
            <telerik:RadSplitter ID="RadSplitter1" runat="server" Orientation="Vertical" Width="100%"
                Height="100%">
                <telerik:RadPane ID="LeftRadPane1" runat="server" Width="180px" MinWidth="180" Scrolling="Both"
                    BackColor="#004416" CssClass="MainMenuRepeater">
                    <div class="TopMenu">
                        &nbsp;&nbsp;<br />
                        &nbsp; &nbsp;
                        <br />
                        &nbsp;&nbsp; Select a Product
                    </div>
                    <div>
                        <asp:Image ID="LeftBarTopImage" runat="server" ImageUrl="~/App_Themes/Images/MasterMenuImage.jpg" />
                    </div>
                    <div>
                        <telerik:RadTreeView ID="RadTreeView1" runat="server" EnableEmbeddedSkins="False"
                             Skin="MySkin" ShowLineImages="False"
                            LoadingStatusPosition="BelowNodeText" DataSourceID ="SqlDataSource1" DataFieldID ="NodeId" DataFieldParentID = "NodeParentId"  DataTextField ="NodeText" DataValueField = "NodeId">
                            <CollapseAnimation Duration="100" Type="OutQuint" />
                            <ExpandAnimation Duration="100" />
                        </telerik:RadTreeView>
                        <asp:SqlDataSource ID="SqlDataSource1" runat="server"  ConnectionString="<%$ ConnectionStrings:orthmanConnectionString %>"
                         SelectCommandType = "StoredProcedure"  SelectCommand ="getAllItems">
                        </asp:SqlDataSource>
                    </div>
                </telerik:RadPane>
                <telerik:RadSplitBar runat="server" ID="RadSplitBar2" CollapseMode="Forward" />
                <telerik:RadPane ID="RightRadPane1" runat="server" BackColor="#b1caba" CssClass="RightPanelPadding"
                    Scrolling="Both">
                    <div id="MasterPageHeading">
                        <table width="817" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td width="223" valign="top" align="right">
                             <a href="http://orthman.com/" target="_blank">  <asp:Image ID="Orthman" runat="server" ImageUrl="~/App_Themes/Images/OrthmanHomeLink.png" /></a>
    </td>
                                <td valign="bottom" align="right">
                                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br />
                                    &nbsp; &nbsp;
                                    <asp:HyperLink ID="HyperLink1" runat="server" CssClass="MaterPageHeadingLinks" NavigateUrl="~/Cart/viewCart.aspx" >View Cart</asp:HyperLink><asp:HyperLink
                                        ID="HyperLink3" runat="server" CssClass="MaterPageHeadingLinks" NavigateUrl ="~/admin/editProfile.aspx">Edit Profile</asp:HyperLink>&nbsp;
                                    <asp:LoginStatus ID="LoginStatus1" runat="server" CssClass="MaterPageHeadingLinks"
                                       />
                                    <asp:HyperLink ID="HyperLink4" runat="server" CssClass="MaterPageHeadingLinks" NavigateUrl="~/default.aspx">Home</asp:HyperLink>
                                    &nbsp;&nbsp; &nbsp;</td>
                                <td align="right" valign="bottom">
                                </td>
                            </tr>
                        </table>
                    </div>
                    <table width="806" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                                <div id="ContentTop">
                                    <table width="800" border="0" cellspacing="0" cellpadding="10">
                                        <tr>
                                            <td width="349" valign="middle">
                                                <asp:Label ID="TitleLabel" runat="server" CssClass="H2"></asp:Label></td>
                                            <td width="431" valign="middle" align="right">
                                                <span class="H2">Search by Part Number:</span>&nbsp;&nbsp;&nbsp;
                                                <telerik:RadComboBox ID="RadSearchComboBox" runat="server" Width="200px" Height="150px"
                                                    AllowCustomText="True" ShowToggleImage="False" ShowMoreResultsBox="true"
                                                    EnableLoadOnDemand="True" Skin ="Telerik"
                                                    MarkFirstMatch="False" OnItemsRequested="loadSearch"
                                                    EnableVirtualScrolling="true" EmptyMessage="Enter Part Number"  >
                                                    <CollapseAnimation Duration="200" Type="OutQuint" />
                                                </telerik:RadComboBox>
                                                
                                            <td>
                                            <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
                                                <asp:Button ID="GoButton" runat="server" Text="Go" CssClass="GoBtn" OnClick ="goSearchClick" UseSubmitBehavior = "false" CausesValidation ="false"  />
                                                </telerik:RadAjaxPanel>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="ContentRepeat">
                                <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                                </asp:ContentPlaceHolder>
                                <asp:Label ID="msgLabel" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Image ID="FooterImage" runat="server" ImageUrl="~/App_Themes/Images/ContentHolderBottom.jpg" />
                            </td>
                        </tr>
                    </table>
                    <table width="90%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                                <div class="Footer" align="center">
                                    &#65533; 2008 Orthman Manufacturing Incorporated</div>
                            </td>
                        </tr>
                    </table>
                </telerik:RadPane>
            </telerik:RadSplitter>
        </form>
    </body>
    </html>

    <?xml version="1.0"?>
    <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
        <configSections>
            <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                    <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                        <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/>
                        <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
                        <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    </sectionGroup>
                </sectionGroup>
            </sectionGroup>
        </configSections>
        <appSettings>
            <add key="connectOrthman" value="Data Source=connectioninput/>
        <add key="sendfrom" value="orders@orthman.com"/>
        <add key="sendfromname" value="Orthman"/>
        <add key="replyto" value="orders@orthman.com"/>
        <add key="sentToAdmin" value="bhoulden@orthman.com"/>
      </appSettings>
        <connectionStrings>
            <add name="connectOrthman" connectionString="Data Source=connectioninput;" providerName="System.Data.SqlClient"/>
            <add name="orthmanConnectionString" connectionString="Data Source=connectioninput;" providerName="System.Data.SqlClient"/>
        </connectionStrings>
        <system.net>
            <mailSettings>
                <smtp>
                    <network host="smtpserver" port="25"/>
                </smtp>
            </mailSettings>
        </system.net>
        <system.web>
            <httpHandlers>
                <remove path="*.asmx" verb="*"/>
                <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
                <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.1.415.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>
                <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
                <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
                <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>
                <add path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI"/>
                <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2008.1.415.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>
            </httpHandlers>
            <httpModules>
                <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
            </httpModules>
            <customErrors mode="Off"/>
            <compilation debug="true">
       <assemblies>
        <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Configuration.Install, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.DirectoryServices.Protocols, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.ServiceProcess, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Web.RegularExpressions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="Telerik.Charting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763" />
       </assemblies>
      </compilation>
            <pages>
                <namespaces>
                    <clear/>
                    <add namespace="System"/>
                    <add namespace="System.Collections"/>
                    <add namespace="System.Collections.Specialized"/>
                    <add namespace="System.Configuration"/>
                    <add namespace="System.Text"/>
                    <add namespace="System.Text.RegularExpressions"/>
                    <add namespace="System.Web"/>
                    <add namespace="System.Web.Caching"/>
                    <add namespace="System.Web.SessionState"/>
                    <add namespace="System.Web.Security"/>
                    <add namespace="System.Web.Profile"/>
                    <add namespace="System.Web.UI"/>
                    <add namespace="System.Web.UI.WebControls"/>
                    <add namespace="System.Web.UI.WebControls.WebParts"/>
                    <add namespace="System.Web.UI.HtmlControls"/>
                </namespaces>
                <controls>
                    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                    <add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/>
                </controls>
            </pages>
            <!--
                The <authentication> section enables configuration
                of the security authentication mode used by
                ASP.NET to identify an incoming user.
            -->
            <authentication mode="Forms">
                <forms name="appNameAuth" path="/" loginUrl="login.aspx" protection="All" timeout="1000">
                </forms>
            </authentication>
            <roleManager enabled="true" defaultProvider="CustomizedRoleProvider">
                <providers>
                    <remove name="AspNetSqlRoleProvider"/>
                    <add name="CustomizedRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="orthmanConnectionString" applicationName="orthman"/>
                </providers>
            </roleManager>
            <httpRuntime maxRequestLength="8192" executionTimeout="180"/>
            <membership defaultProvider="CustomizedMembershipProvider">
                <providers>
                    <remove name="AspNetSqlMembershipProvider"/>
                    <add name="CustomizedMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="orthmanConnectionString" applicationName="orthman" commandTimeout="30" enablePasswordRetrieval="false" enablePasswordReset="True" requiresQuestionAndAnswer="true" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" passwordAttemptWindow="10" minRequiredPasswordLength="5" minRequiredNonalphanumericCharacters="1"/>
                </providers>
            </membership>
            <profile defaultProvider="CustomProfileProvider" enabled="true">
                <providers>
                    <remove name="AspNetSqlProfileProvider"/>
                    <add name="CustomProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="orthmanConnectionString" applicationName="ORTHMAN"/>
                </providers>
                <properties>
                    <add name="FirstName" type="String" defaultValue="[null]" customProviderData="FirstName;nvarchar"/>
                    <add name="LastName" type="String" defaultValue="[null]" customProviderData="LastName;nvarchar"/>
                    <add name="Phone" type="String" defaultValue="[null]" customProviderData="Phone;nvarchar"/>
                    <add name="Fax" type="String" defaultValue="[null]" customProviderData="Fax;nvarchar"/>
                </properties>
            </profile>
        </system.web>
        <system.webServer>
            <validation validateIntegratedModeConfiguration="false"/>
            <modules>
                <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            </modules>
            <handlers>
                <remove name="WebServiceHandlerFactory-Integrated"/>
                <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            </handlers>
        </system.webServer>
        <location path="Telerik.RadUploadProgressHandler.aspx">
            <system.web>
                <authorization>
                    <allow users="*"/>
                </authorization>
            </system.web>
        </location>
    </configuration>
    Any help is appriciated
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 17 Jun 2009 Link to this post

    Hi Web Services,

    This error occurs when the version of Telerik.Web.UI.dll assembly does not match with the version used to compile some class library (or web application). Make sure to update all references to Telerik.Web.UI.dll and rebuild.

    Regards,
    Albert
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Web Services
    Web Services avatar
    243 posts
    Member since:
    Apr 2008

    Posted 17 Jun 2009 Link to this post

    How would I update everything. I have litterally been thrown into this with no .net experience.
  5. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 17 Jun 2009 Link to this post

    Hello,

    You need to update the reference to the Telerik.Web.UI.dll assembly of all projects that use it.

    Regards,
    Albert
    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.
Back to Top