visual studio 2010
is toworks fine in local
but when i upload
all this changes on web
.Microsoft.Office.Interop.Word.dll
into bin folder in server.%ProgramFiles%Microsoft Visual Studio 12.0Visual Studio Tools for OfficePIA
but i don't know is it correct : more details please see this MSDN Link using
sectionMicrosoft.Office.Interop.Word
of the version you need.Microsoft.Office.Interop
THEN may be office not installed OR you have Office 2013 or later. For higher version you can add assembly by going into COM tab of add-reference windows and add Microsoft Word {version-no} Object Library
. This will add the same.Microsoft.Office.Interop.
in References with yellow-triangle-mark THEN remove it first.using Word=Microsoft.Office.Interop.Word;
Word.Application wApp = new Word.Application();
.Recommend:asp.net - Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'which download an excel file to apply some edits then upload it again. When access the excel file to be downloaded I got this error: 'Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, Public