I have an asp.net application which uses .Net Framework 4.0 with IIS 6.0 and Windows Server 2003 on the host server. I've added the reference shown in the attached code, and since adding them I get this error at runtime:
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Maybe I need to add a reference in the assembly in the GAC in .Net Framework 4.0?
I would be grateful for any advice.
Parser Error Message: Could not load file or assembly 'Office, Version=220.127.116.11, Culture=neutral, PublicKeyToken=71e9bce111e
9429c' or one of its dependencies. The system cannot find the file specified.
<add assembly="Microsoft.Office.Interop.Excel, Version=18.104.22.168, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"/>