Solved

URGENT - Please help me solve deployment problem

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

747 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

11 Experts available now in Live!

Get 1:1 Help Now