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=188.8.131.52, Culture=neutral, PublicKeyToken=71e9bce111e
9429c' or one of its dependencies. The system cannot find the file specified.
<add assembly="Microsoft.Office.Interop.Excel, Version=184.108.40.206, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"/>