473,796 Members | 2,864 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

version conflict adding a reference to interop_msxml

I am having trouble with a reference in my VB.NET application.

The code I am using is straight from MSDN:
http://msdn.microsoft.com/library/de...rdcstpubpt.asp

Currently, it is barebones until I get this resolved.

<code>
Imports Microsoft.Windo wsMediaServices .Interop
Imports System.Runtime. InteropServices
....
Dim Server As WMSServer
Dim BCPubPoint As IWMSBroadcastPu blishingPoint
Dim Playlist As IWMSPlaylist
....
Server = New WMSServer()
BCPubPoint = Server.Publishi ngPoints.Add("N ewPubPoint", _
WMS_PUBLISHING_ POINT_CATEGORY. WMS_PUBLISHING_ POINT_BROADCAST ,
_
"rtsp://server/pubpoint/movie.wmv")
....
If BCPubPoint.Broa dcastStatus =
WMS_BROADCAST_P UBLISHING_POINT _STATUS.WMS_BRO ADCAST_PUBLISHI NG_POINT_STOPPE D
Then
BCPubPoint.Star t()
Playlist = BCPubPoint.Shar edPlaylist
...
end if
</code>

Without the interop_msxml refernce in my project, I get this compile
error:
"Reference required to assembly 'interop_msxml' containing the
implemented interface 'interop_msxml. IXMLDOMDocument '. Add one to your
project."

OK, so I go and get the dll interop_msxml (it is version 9.0.0.3693)
and add it to my project. And I immediately get the following error:

Warning: The dependency 'interop_msxml, Version=2.0.0.0 ,
Culture=neutral , PublicKeyToken= 31bf3856ad364e3 5' in project
'SimpleConnect' cannot be copied to the run directory because it would
overwrite the reference 'interop_msxml, Version=9.0.0.3 693,
Culture=neutral '.

You see, before I can blink, it has automagically copied the file into
the bin directory. Note the discrepancy in versions. Even though I
added V9.0.0.3693, it is now trying to add v2.0.0.0.

Now, there *does* exist a dll called interop.MSXML.d ll (note the
different spelling in the filename: '.' vs '_'), and it is
version 2.0.0.0. So I removed the other one and tried adding this one.
And I am back to the following error: "Reference required to assembly
'interop_msxml' containing the implemented interface
'interop_msxml. IXMLDOMDocument '. Add one to your project."

OK, so that's not the one I'm supposed to add. But how do I resolve
this apparent conflict?
An MSDN entry
(http://msdn2.microsoft.com/en-us/lib...US,VS.80).aspx)
suggests installing it to the global assembly cache, which
automatically resolves conflicts, so I tried that, but could neither
add either dll to the GAC nor find any existing reference to delete. So
I'm stumped.
Help!

Nov 21 '05 #1
0 2081

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2796
by: aualias | last post by:
I am getting the following error: Warning: The dependency 'ShoppingCart, Version=1.0.1895.27037, Culture=neutral' in project 'www.sitename.com' cannot be copied to the run directory because it would overwrite the reference 'ShoppingCart, Version=1.0.0.0, Culture=neutral'. I changed to in AssemblyInfo.cs, but the error lies elsewhere. Any ideas would be appreciated.
1
2645
by: Rob R. Ainscough | last post by:
I keep getting this error message when I build my solution: Error: The dependency 'xxx.xx.xx, Version=1.0.2067.27633, Culture=neutral' in project 'xxx.xx.xx' cannot be copied to the run directory because it would conflict with dependency 'xxx.xx.xx, Version=1.0.2068.11260, Culture=neutral'. I have a solution that contains 10 class library projects, some of these projects require references to other projects within the solution....
70
4128
by: Neil Ginsberg | last post by:
Does anyone know if a new version of Access is due to come out anytime soon? Thanks, Neil
0
1639
by: vb | last post by:
Hi, Sorry, I am new to C#, so this can be a very simple question. I am using some of DevExpress components in my application.My References in the Solution(for DevExpress) are: DevExpress.Data; DevExpress.Utils; DevExpress.XtraBars; DevExpress.XtraEditors;
4
8508
by: crystal | last post by:
I've checked the threads but haven't been able to come up with a solution to my issue. Help...... I have a simple form based on a table. Within the form is a subform that is also, through a Q, based on the same table. The code: Private Sub Select_BeforeUpdate(Cancel As Integer) On Error GoTo resetselect_Err
1
2449
by: lorirobn | last post by:
Hi, I have a query that I have been using as a record source for a form with no problems. I just created a new "addnew" form, and added 20 records to the table with this form. The problem I now have is I cannot modify data on these new records using my query. The query's sql is: SELECT tblSpaceUse.* FROM tblSpaceUse; The error I get is: "Write Conflict -
8
3503
by: schaf | last post by:
Hi Ng! My application (version 1 a1) communicates with a service (version 1 s1). Now I would like to update the service and create a service version 2 (s2). The new function calls within s2 are implemented in a new interface, which derive from the old one to ensure that an old version of my application (a1) still works with s2. If i run my new version of the application a2 with s1 I get a InvalidCastException (Return argument has an...
3
5380
by: Mike Blake-Knox | last post by:
I have a C++ ActiveX control that is used by JavaScript code in  Internet Explorer. Recently, a customer installed Acrobat Reader 8.1  and reported that the ActiveX control wasn't working. In the event  viewer, there's a error from SideBySide: "Generate Activation Context  failed for ... . Reference error message: A component version required  by the application conflicts with another component version already  active." Investigation...
0
843
by: =?Utf-8?B?Q2Fyb2xpbmFLQg==?= | last post by:
Glad I found this thread (sorry you ran into it also, however). I have run into the same issue with System.dll and System.Drawing.dll, and reading this thread I wasn't sure what exactly the ultimate resolution was. Can you share how the warning was addressed, or was it? "Steven Cheng " wrote:
0
9527
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10453
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10223
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10172
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9050
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.