hiii all...
I have a problem while I put my site on server... I have a code for upload a excel file data to sql database.. so I put this assembley in my web config file
<add assembly='Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C'/>
After publishing my site working on local IIS.. After puting it on server it gives follwoing error
Configuration ErrorParser Error Message: Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Source Error: Source File: C:domainspoojahostingbizankit.poojahosting.bizwwwrootemsweb.config Line: 48 Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' could not be loaded.
I would try removing and re-adding the reference. Make sure that you are referencing the correct version of the Excel Interop - e.g. That you have. 'Could not load file or assembly 'Microsoft.Office.Interop.PowerPoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
What should I do??
<add assembly='Microsoft.Office.Interop.Word, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C'/> I moved the project from One Computer to another which has Office 2003. As i dont have Office 2007 installed on this Computer, This Computer throws exception for dll - Version 12.0.0.0 How should i fix this Dll interop issue? Error : Error 2 Could not load file or assembly 'Microsoft.Office.Interop.Word, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified. Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |