.net - Could not load the file or assembly Microsoft.Office.Interop.Excel -


i have deployed website on virtual machine windows server 2008 r2,iis 7 , .net framework 3.5.1 installed.

i have been getting following error.

========================================

server error in '/' application.  configuration error  description: error occurred during processing of configuration file required service request. please review specific error details below , modify configuration file appropriately.   parser error message: not load file or assembly 'microsoft.office.interop.excel, version=11.0.0.0, culture=neutral, publickeytoken=71e9bce111e9429c' or 1 of dependencies. system cannot find file specified.  source error:    line 46:                <add assembly="stdole, version=7.0.3300.0, culture=neutral , publickeytoken=b03f5f7f11d50a3a"/> line 47:                <!--<add assembly="microsoft.office.interop.excel, version=12.0.0.0, culture=neutral, publickeytoken=71e9bce111e9429c"/>--> line 48:                <add assembly="microsoft.office.interop.excel, version=11.0.0.0, culture=neutral, publickeytoken=71e9bce111e9429c" /></assemblies> line 49:        </compilation> line 50:       source file: c:\tfaredemo\web.config    line: 48   assembly load trace: following information can helpful determine why assembly 'microsoft.office.interop.excel, version=11.0.0.0, culture=neutral, publickeytoken=71e9bce111e9429c' not loaded.   wrn: assembly binding logging turned off. enable assembly bind failure logging, set registry value [hklm\software\microsoft\fusion!enablelog] (dword) 1. note: there performance penalty associated assembly bind failure logging. turn feature off, remove registry value [hklm\software\microsoft\fusion!enablelog].  version information: microsoft .net framework version:2.0.50727.5466; asp.net version:2.0.50727.5456 

========================================================= application has features excel reports generated. have not installed office have been having trouble getting website started.

  1. i have tried many things installing .net framework 1.1 redistributable package.
  2. i have installed office open xml read somewhere problem might solved.

please me this. website developed using vs 2005 , not have vs 2005 installed on virtual machine have mentioned above.

i have not installed office

you need install ms office (or @ least excel) on machine executing excel handling code. won't magically work without excel.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -