

Installed on the server is Microsoft Office 2010, and the project for the original service referenced Microsoft. The service reads excel files sent to an email address, and writes to that same file. I am updating a custom Windows Service that is currently installed on a Windows 2003 server. You don't have to install office or other unneccessary stuff on you server. I am not an expert and I just thinking loudly that web.config file is trying to pull dll.įile from C: Windows assembly and if there if it could not be foud, returns error. The thing I have done is that I have removed all the assemblies from web.config file and had added dlls as a reference - .dll in this case. In my web.config file I had assemblies added: and many other office assemblies. How to resolve this issue? I know that this thread is a little bit old but I had the same error and I solved it (it works in my project). (Exception from HRESULT: 0x80131040) files in Bin folder are: office.dll .dll .xml office.xml I've installed on remote pc 'Microsoft Office 2010: Primary Interop Assemblies Redistributable', But same error ocurrs. The located assembly's manifest definition does not match the assembly reference.

I added related dll's to Bin folder of the site, and it works perfect on my local host (I think bacause I have installed MS Excel 2010 on my pc) But when I uploaded it to remote pc and run the site, it throws an error: Could not load file or assembly ', Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. I have web-site that uses MS Excel files read/write. Could not load file or assembly ', Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies.
