Link to home
Start Free TrialLog in
Avatar of Tom Knowlton
Tom KnowltonFlag for United States of America

asked on

URGENT - Please help me solve deployment problem

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.
Avatar of Tom Knowlton
Tom Knowlton
Flag of United States of America image

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of BlackTigerX
BlackTigerX

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I set Copy Local to False for those files in conflict and this seemed to fix it.

but a good idea by you.