PDA

View Full Version : حرفه ای: کار با Microsoft.Office.Interop.Word.dll



araz_pashazadeh
سه شنبه 30 دی 1393, 08:59 صبح
با سلام
بنده در برنامه از Microsoft.Office.Interop.Word.dll استفاده می کنم.
پروژه در لوکال درست کار میکنه وقتی پروژه را اپلود می کنم خطای زیر را میده:
Could not load file or assembly 'office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.

Source Error:



An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.



Assembly Load Trace: The following information can be helpful to determine why the assembly 'office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' could not be loaded.



WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



چون برروی سرور افیس نصب نیست.
چطوری این فایل را از پوشه bin خودم لود کنم؟127741

samira3
سه شنبه 30 دی 1393, 09:12 صبح
با سلام
داخل پوشه bin يك فايل بنام Microsoft.Office.Interop.Word.dll وجود دارد كه كپي شو بزار در bin سرورت