Solved

URGENT - Please help me solve deployment problem

Posted on 2004-09-15
3
402 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MVC5 Dataformat String for Phone not working 3 25
Visual Studio 2013 debugging 2 35
Two different visual studio versions 3 21
Run time Error 4 34
Introduction                                                 Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.   Also called…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

930 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now