Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

URGENT - Please help me solve deployment problem

Posted on 2004-09-15
3
405 Views
Last Modified: 2012-05-05
Error Message:  System.IO.FileLoadException: The located assembly's manifest definition with name 'Interop.Word' does not match the assembly reference.
File name: "Interop.Word"
   at BuyersFund.BFFaxCOM.BFFaxCOM..ctor()
   at BuyersFund.FaxRequestWindowsService.ServiceProcessRequests.timerCheckRequestsInterval_Elapsed(Object sender, ElapsedEventArgs e)

Fusion log follows:
=== Pre-bind state information ===
LOG: DisplayName = Interop.Word, Version=8.1.0.0, Culture=neutral, PublicKeyToken=0b9a38cbd0c388e5
 (Fully-specified)
LOG: Appbase = c:\puball\
LOG: Initial PrivatePath = NULL
Calling assembly : BFFaxCOM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0b9a38cbd0c388e5.
===

LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\config\machine.config.
LOG: Post-policy reference: Interop.Word, Version=8.1.0.0, Culture=neutral, PublicKeyToken=0b9a38cbd0c388e5
LOG: Attempting download of new URL file:///c:/puball/Interop.Word.DLL.
WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY TOKEN


I've gotten this problem before but I don't remember how I solved it.
0
Comment
Question by:knowlton
  • 2
3 Comments
 
LVL 5

Author Comment

by:knowlton
ID: 12065955
I am also getting this when I build the BFFAXCOM project:


Preparing resources...
Updating references...
Warning: The dependency 'Interop.VBIDE, Version=5.3.0.0, Culture=neutral' in project 'BFFaxCOM' cannot be copied to the run directory because it would overwrite the reference 'Interop.VBIDE, Version=5.3.0.0, Culture=neutral, PublicKeyToken=0b9a38cbd0c388e5'.
Warning: The dependency 'Interop.Office, Version=2.1.0.0, Culture=neutral' in project 'BFFaxCOM' cannot be copied to the run directory because it would overwrite the reference 'Interop.Office, Version=2.1.0.0, Culture=neutral, PublicKeyToken=0b9a38cbd0c388e5'.
Warning: The dependency 'Interop.Word, Version=8.1.0.0, Culture=neutral' in project 'BFFaxCOM' cannot be copied to the run directory because it would overwrite the reference 'Interop.Word, Version=8.1.0.0, Culture=neutral, PublicKeyToken=0b9a38cbd0c388e5'.
Performing main compilation...


This seems to be related to my problem.
0
 
LVL 13

Accepted Solution

by:
BlackTigerX earned 500 total points
ID: 12067009
seems like a version conflict
can you copy the files manually (just to see if that fixes the problem)?
0
 
LVL 5

Author Comment

by:knowlton
ID: 12069623
I set Copy Local to False for those files in conflict and this seemed to fix it.

but a good idea by you.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question