.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Referenced Assembly BihConsumerInterop could not be found

Posted By:      Posted Date: October 05, 2010    Points: 0   Category :SharePoint

We have a fairly big SharePoint project where we use TFS, kicking of a build runs some tests and everything works as expected, but we get a warning:

CA0060 : The indirectly-referenced assembly 'BihConsumerInterop, Version=, Culture=neutral, PublicKeyToken=48e046c834625a88' could not be found. This assembly is not required for analysis, however, analysis results could be incomplete. This assembly was referenced by: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI\Microsoft.Office.Server.Search.dll.

Now the solution according to other blogposts is to add the referenced DLL to the project, but it seems i cannot find anything about the assembly BihConsumerInterop, so I was wondering if there was anyone that knows a bit more about this DLL :)

View Complete Post

More Related Resource Links

The type 'System.Data.Linq.DataContext' is defined in an assembly that is not referenced. You must



This is frustrating, and I don't know how to solve it.

I have a strange problem. I am adding a LinqDatasource object, and set the context:

        protected void LinqDataSource_ContextCreating(object sender, LinqDataSourceContextEventArgs e)
            e.ObjectInstance = new KaruselaDataContext(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString);

Then I get this error:
The type 'System.Data.Linq.DataContext' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data.Linq, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'.


On web.config I already have this:
<add assembly="System.Data.Linq, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>

NOTE: The datacontext is in a different project (DLL proect) where I added a refernce to System.Data.Linq.

is there another way adding a refernce to a web project? or only though teh web.config?


The type 'DataGrid' was not found. Verify that you are not missing an assembly reference and that

Hi; I'm new to WPF and I was going through the ExpenseIt tutorial on MSDN's website. The tutorial was working fine until I added DataGrid. I got the error message: "The type 'DataGrid' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built."     I could not find a clear answer online of which assembly references to fix and how to fix them. Any help would be appreciated. Thanks!     Note: I'm running the following: Windows Vista 32-bit operating system Microsoft Visual Studio 2008 Version 9.0.30729.1 SP Microsoft .NET Framework Version 3.5 SP1

The type 'DropShadowEffect' was not found. Verify that you are not missing an assembly reference a

We created a grid in Expressions Blend but the DropShadowEffect caused an error for a developer who tried to build the solution and did not have Expressions Blend on his machine.  Had to replace with  <Border.BitmapEffect><DropShadowBitMapEffect ... Are there other incompatibilities between Expressions Blend and plain old Visual Studio 2008 development environs? <   UserControl   xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation   xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml   xmlns:d=http://schemas.microsoft.com/expression/blend/2008   xmlns:mc=http://schemas.openxmlformats.org/markup-compatibility/2006   mc:Ignorable="d"   xmlns:igRibbon=http://infragistics.com/Ribbon   x:Class="TestEditor.Ctrl_PR"   x:Name="UserControl"   MaxWidth="450"   d:DesignWidth="450" d:DesignHeight="125">     <Grid x:Name="LayoutRoot" RenderTransformOrigin="0.5,0.5" Width="450" Height="125">   <Border CornerRadius="8" BorderBrush="DarkSlateBlue" BorderThickness="0.5" HorizontalAlignment="Stretch" Grid.ColumnSpan="2">     <Border.Background>       <LinearGradientB

De-serialization error, The referenced element with ID 'id0' was not found in the document.

I am trying to talk to a 3rd party (java Based) SOAP web service, and get the error "The referenced element with ID 'id0' was not found in the document." when it tries to de-serialise the repsonse the repsonse is below,  and seem to be correct and complete so i am looking for suggestions on how to resolve this, if it help i ONLY need to get the CONTEXT_ID out of the response <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header><ns1:sessionID soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" href="#id0" xmlns:ns1="http://xml.apache.org/axis/session"/></soapenv:Header><soapenv:Body><ns2:initExportDeviceResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://diamondip.com/netcontrol/ws/"><initExportDeviceReturn href="#id1"/></ns2:initExportDeviceResponse><multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="soapenc:long" xmlns:soapenc="-

Getting Warning as Error: Assembly generation -- Referenced assembly 'mscorlib.dll' targets a dif

I built a sp application on a dev environment and the code worked.  I moved the whole project to a different dev environent (i.e. differmt machine name, domain, etc), and when I try to compile, I get the above error (also, one about System.Data.dll) If I understand, it means VS 2010 is getting confused as to use the 32 bit or 64 bit GAC?  If thats true, how do I force this in vs? thanks  Rocky Sanders

"Assembly '...' Was Not Found" When including a reference to a local namespace

I've got a WPF application with a window and a usercontrol:   Window:   <Window x:Class="UI.Windows.Main" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:UI.Windows.Documents" Title="Window1" Height="600" Width="800"> <DockPanel> <!-- Snip --> </DockPanel> </Window>     UserControl:   <UserControl x:Class="UI.Windows.Documents.MyDisplay" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml> <Grid> <!-- Snip --> </Grid> </UserControl>       Now, when I try to look at this in the designer i get an error saying Assembly 'UI' was not found.  I've searched high and low, but the internet is full of references to this being a 2005 issue and the solution is to upgrade to 2008.  I'm already using 2008 (don't even have 2005 installed on the machine), and I still get the problem.

Server Control - defined in an assembly that is not referenced


I have created a server control for my web page... I have decided to add an ajax popup extender (after creating the control, which builds and works fine.) After I add the AjaxControlToolKit reference I add the following:

private AjaxControlToolkit.PopupControlExtender pop;

I get this error when I add it:

"The type 'System.Web.UI.ExtenderControl' is defined in an assembly that is not referenced.
 You must add a reference to assembly 'System.Web.Extensions, "

I googled the error and it says to add something inside the web config... I do not have a web.config
file inside the server control.

thanks in advance,

'type' is defined in an assembly that is not referenced


I've run into this error in the past when compiling my .cs files.  I'm not exactly sure the reason.  I recently read that if you reference an assembly, say assembly A, then all public types referenced by assembly A must also be referenced by you.   Not sure if I worded it correctly.  My question is about the difference between compile time requirements and runtime requirements.

To test out this issue I created a class called EventSource in namespace Framework.Utility.Instrumentation in assembly Instrumentation.dll.  I created an consumer application called InstrumentationApp.exe which referenced Instrumentation.dll since it made use of the EventSource class.  All compiled fine and ran fine.  Then I created a new class called EventSource in namespace Framework.Instrumentation in assembly EventSource.dll.  I modified the first EventSource class in namespace Framework.Utility.Instrumentation to derive from this new EventSource class.  I reran InstrumentationApp.exe and it ran fine.  When I tried to recompile InstrumentationApp.cs specifying a reference to Instrumentation.dll it complained that Framework.Instrumentation.EventSource is defined in an assembly that is not referenced.  Based on my previous explanation (which may not be correct) regarding compile time reference requirements I can understand why

Error: The type 'System.Windows.DependencyObject' is defined in an assembly that is not referenced



I have an ObservableCollection which I would like to sort.

<TLstNodeData> SWNodeList = TopNode.SubNodes.OrderBy(SNode => SNode.NodeDispText).ToList();

In a WindowsForm application targeting the .NET 4.0 Framework it compiles and works as expected.

If I do this in a WCF Service in my web project also targeting the .NET 4.0 Framework I get the following error.

Error 1 The type 'System.Windows.DependencyObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Windows, Version=, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.

When I add this

Applay gloabal styles from external dll (referenced assembly); styles without x:key don't automatic


In wibdow1.xaml I add the ResourceDictionary1.xaml to the wibdow.resources.

I define a simple style without x:key for button in ResourceDictionary1.xaml .

And all buttons in window1.xaml get the style of button defined in Dictionary1.xaml.

Till now there is no problem.


I have another project, whose output type is dll file (class library) Resources.dll.

In this project I have ResourceDictionary2.xaml.


If in wibdow1.xaml I add the ResourceDictionary2.xaml to the wibdow.resources instead of ResourceDictionary1.xaml, and add the reference of Resources.dll in

Web Service cannot be found/referenced in Web Application project (working in Web Site)


Hi Everyone,

I am learning about the web service technology, and I tried to create my first Ajax style web service following the video tutorial by Joe Stagner (http://www.asp.net/general/videos/ajax-style-services-with-microsoft-visual-web-developer-2008)

The tutorial is quite basic, we simply create a web service, and call it from Javascipt in the same program.  But while I can create the web service no problem (testing the WSDL file from browser works perfectly), I cannot call it within Javascript.  Tellisence do not kick in, and when I run the program anyway, a Javascript error claims that the web service I created cannot be found.

After much frustration, I noticed that my program is created as a Web Application, while the tutorial is created under a Web Site.  So I created a Web Site too and everything works. 

So the question is, what setting(s) do I have to change in a Web Application for this to work?  I guess an even broader question is, what differences between Web Application and Web Site do I need to be fully aware of, so this kind of problem do not occur in the future?

Thank you very much!

Handling 404 page not found with Error page



      How do i handle 404 page not found?

scripts file not found on server - 404


Fiddler is showing a 404 error when my published web application runs. the jquery.js file in
/scripts is highlighted in red by fiddler as not found. ( IIS log also shows the 404 error ).
I run the web app from visual studio, on local host - no problems. The publish is successful.
All the files are in the scripts folder of the web app on the server.

In the site.master I have:
<script src="../../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>

Visual studio does not complain about this. ( which indicates the file is found. )

Oddly, when I fully qualify the path, VS says file not found, but after I publish and run, fiddler
shows the jquery file being found and sent to the browser.
<script src="/MvcApplication1/Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>

when the <script> path is "../../Scripts/jquery-1.4.1.min.js", the fiddler error is
404: /Scripts/jquery-1.4.1.min.js .

when the <script> path is "/MvcApplication1/Scripts/jquery-1.4.1.min.js", fiddler shows the file
being sent to the browser from that /MvcApplication1/Scripts path.

Both the Scripts fol

urlrouting - page not found error


I have a dynamic data site setup and running locally fine from vs 2008.

When i deploy to a remote windows 2003 server (IIS6), all the pages also work ok apart from one page/table.  I can access it's list page,  but the edit and insert pages throw 404 errors.

I'm thinking it's a url routing/hosting issue as i've copied back the database from the remote server and it all works fine on my local machine.

Is there anything i can do to debug this behaviour?

Below is my register routes entry from the global.asax

Any suggestions greatly appreciated as, i've been stuck on this for days :(

public static void RegisterRoutes(RouteCollection routes)
    MetaModel model = new MetaModel();
    model.FieldTemplateFactory = new AdvancedFieldTemplateFactory();

    model.RegisterContext(typeof(Sponsorship.Data.Entities), new ContextConfiguration() { ScaffoldAllTables = false });
    model.DynamicDataFolderVirtualPath = "~/admin/DynamicData";

    routes.Add(new DynamicDataRoute("admin/{table}/{action}.aspx")
        Constraints = new RouteValueDictionary(new { action = "List|Details|Edit|Insert" }),

Page not found using ASP.NET Development server


Hi to all forum members

I got this problem. When I try to run a test project I receive "Page not found" in browser opened by ASP.NET Development server. I am logged as administrator to my WIN XP. And I am using VS2005. I had VWD and ASP.NET 2.0 before but  removed everything before installing VS2005. Do you hav eany idea why is this happening.

p.s. I do not use any firewall only nod32 as antivirus program

I will be very glad is someone can help me.

Error: Encountered multiple versions of the same assembly with GUID...try pre-importing...TlbImp


Hi!  Can someone tell me how I can troubleshoot the following error: "Encountered multiple versions of the same assembly with GUID...try pre-importing one of these assemblies".

The website developed in VS 2010 (.Net 3.5). This error is only received on my workstation.  Another person developing the site does not experience this issue at all.  Also, not sure if this matters, but on my workstation the 'Assembly Information...' dialog contains no values even though the 'AssemblyInfo.vb' file does specify values for the title, desc, etc.  The GUID being referenced in the error is the main project of the three projects within the solution.

I tried looking through the GAC, but do not see any references to the projects or DLLs in the VS solution and am not sure what else/where to look.

If I delete the copy of the solution on my local machine and pull down a copy from source control (AnkhSVN) the solution will build with no error.  Once I make any changes, such as adding a new aspx file, then the error is received.

I can provide any additional information needed.

MySql.Data assembly problem



I added refernece MySql.Data to my project. My web.config looks like that:

<?xml version="1.0"?>
                <add assembly="MySql.Data, Version=, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/>

But when in ServerExplorer I try "Add Connection..." I can't find "MySql Database" in the "Choose Data Source" dialog box?

What the problem can be?

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend