Solved

URGENT - Please help me solve deployment problem

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

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.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 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