The located assembly's manifest definition with name 'Microsoft.Web.UI.WebControls' does not match the assembly reference.

Last post 09-04-2008 7:16 AM by ronyjohn_a. 3 replies.

Sort Posts:

  • Confused [*-)] The located assembly's manifest definition with name 'Microsoft.Web.UI.WebControls' does not match the assembly reference.

    11-04-2005, 9:04 AM
    • Member
      43 point Member
    • jankajg
    • Member since 08-02-2004, 9:36 AM
    • UK
    • Posts 24
    HI Group,
    i have tried all the possible solutions. but my web controls do not run on the live server. it runs perfectly allright on the local project.
    let me explain the problme in details. i am using. the tabstrip control on in my project. it runs without any problmes on the local machine (in the source coded controlled project). but when i deploy the project with the relevent dlls on th live server, this control fails. i have installed the controlls on the live server as well. i have tried to set all the relevent settings except the settings to change the path of  folder "ebctrl_client"
    this is the error i get


    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: The located assembly's manifest definition with name 'Microsoft.Web.UI.WebControls' does not match the assembly reference.

    Source Error:

    Line 1:  <%@ Register TagPrefix="uc1" TagName="_SearchGrid" Src="_SearchGrid.ascx" %>
    Line 2:  <%@ Control Language="vb" AutoEventWireup="false" Codebehind="_Search.ascx.vb" Inherits="AceInvent.__Search" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
    Line 3:  <%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %>
    Line 4:  <script language="javascript" src="ClientScript/common.js"></script>
    Line 5:  <script language="javascript" src="ClientScript/Search.js"></script>

    Source File: S:\inetpub\wwwhost\development\dev_AceInvent\_Search.ascx    Line: 3

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Web.UI.WebControls' could not be loaded.

    === Pre-bind state information ===
    LOG: DisplayName = Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35
     (Fully-specified)
    LOG: Appbase = file:///S:/inetpub/wwwhost/development/dev_AceInvent
    LOG: Initial PrivatePath = bin
    Calling assembly : (Unknown).
    ===
    
    LOG: Publisher policy file is not found.
    LOG: No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
    LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
    LOG: Post-policy reference: Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/1f5f5015/ad3cbe20/Microsoft.Web.UI.WebControls.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/1f5f5015/ad3cbe20/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.
    LOG: Attempting download of new URL file:///S:/inetpub/wwwhost/development/dev_AceInvent/bin/Microsoft.Web.UI.WebControls.DLL.
    WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY TOKEN
    

    . please help. your help will be apppriciated immensly


    Thanks and Regards,
    Janak
    Janak Gheewala
    .Net Development
  • Re: The located assembly's manifest definition with name 'Microsoft.Web.UI.WebControls' does not match the assembly reference.

    12-14-2007, 10:43 AM
    • Member
      11 point Member
    • d620
    • Member since 11-14-2007, 9:14 PM
    • Posts 25

    Did you ever figure this out because i have the same problem.

    I am using a treeview and it works on the webserver but not on my local machine.

    asp.net 1.1, visual studio 2003

  • Re: The located assembly's manifest definition with name 'Microsoft.Web.UI.WebControls' does not match the assembly reference.

    06-18-2008, 7:05 PM
    • Member
      2 point Member
    • rpwashington
    • Member since 03-27-2008, 4:53 PM
    • Posts 3

     I have this problem too. 

    Could not load file or assembly 'Interop.OdysseyWeb, Version=3.6.0.0, Culture=neutral, PublicKeyToken=46e8e78d2328d20d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

     

    In my case both projects are on the same machine.  The project that works is in the solution that contains the project which produces the dll being referenced, while a project that is in a separate solution gets the error above.  This is an assembly which has references to COM+ dlls.

  • Re: The located assembly's manifest definition with name 'Microsoft.Web.UI.WebControls' does not match the assembly reference.

    09-04-2008, 7:16 AM
    • Member
      27 point Member
    • ronyjohn_a
    • Member since 02-13-2008, 6:31 AM
    • B'lore, India
    • Posts 21

     I think the version or any of the information you have entered in the web config is incorrect. Use the iladsm to get the metadata of the assembly and try...

     Best of luck. 

    Rony

Page 1 of 1 (4 items)