Microsoft Office Interop Assemblies 16.0.0.0
Could not load file or assembly 'office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bc..
- Microsoft Office Interop Assemblies
- Microsoft Office Interop Assemblies 16.0 Download
- Microsoft.office.interop.excel Version=16.0.0.0
- Microsoft Office Interop Assemblies 16.0.0.0
Jun 13, 2018 06:54 PMsmilingLilyLINK
I developed an application that opens Outlook on a button click. When I tested it locally it works fine with out any issues. I moved the code to test server and I am getting below error. How can I fix it? I have Microsoft office 2010 installed on my local machine as well as on the test server.
Dim Outl As Microsoft.Office.Interop.Outlook.Application = New Microsoft.Office.Interop.Outlook.Application()
Download the PIAs for Office 2010 from the following page on the Microsoft website: Microsoft Office 2010: Primary Interop Assemblies Redistributable. /mikrotik-routeros-v60-x86-level-6-license-vmware-image.html. Install the PIAs by following the instructions on the download page.
Microsoft Office Primary Interop Assemblies is a Shareware software in the category Business developed by Microsoft. It was checked for updates 1,696 times by the users of our client application UpdateStar during the last month. The latest version of Microsoft Office Primary Interop Assemblies is 14.0.4763.1150, released on. I just had the same problem, but none of these answers helped me. I did find the dll on my pc in the location Mostey noted: (C: Windows assembly GACMSIL Microsoft.Office.Interop.Excel 14.0.0.071e9bce111e9429c Microsoft.Office.Interop.Excel.dll), but this is not the one that was referenced in the project I was trying to get building. For projects that support PackageReference, copy this XML node into the project file to reference the package. Paket add Microsoft.Office.Interop.Word -version 15.0.4797.1003.
I also tried using
'Dim Outl As Object
'Outl = CreateObject('Outlook.Application')
' Outl = Activator.CreateInstance(Type.GetTypeFromProgID('Outlook.Application'))
Microsoft Office Interop Assemblies
All these statements worked on my local environment and they didn't work on test server.
Could not load file or assembly 'office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies.
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. Download kof wing 2.0.
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.
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.
Re: Use Microsoft.Office.Interop without office installed
Nov 18, 2013 09:01 PMShawn - MSFTLINK
Hi,
You must install the Microsoft Office primary interop assemblies (PIAs) in the global assembly cache of your development computer before you can perform certain development tasks. Typically, the PIAs are installed automatically when you install Office on the development computer. However, in some cases you might need to install the PIAs separately. For more information, see Configuring a Computer to Develop Office Solutions and Office Primary Interop Assemblies.
You can install the complete set of PIAs in the global assembly cache in two ways:
Install them when you install Office.
Install them from the redistributable PIA package.
To install the PIAs when you install Office
Microsoft Office Interop Assemblies 16.0 Download
Ensure that you have a version of the .NET Framework that is no older than 2.0.
Install Microsoft Office and make sure that the .NET Programmability Support feature is selected for the applications you want to extend (this feature is included in the default installation).
To install the PIAs by using the redistributable package
Microsoft.office.interop.excel Version=16.0.0.0
Ensure that you have a version of the .NET Framework that is no older than 2.0.
Download the PIAs for Office 2010 from the following page on the Microsoft website: Microsoft Office 2010: Primary Interop Assemblies Redistributable.
Install the PIAs by following the instructions on the download page.
Microsoft Office Interop Assemblies 16.0.0.0
For more information, you could refer to the following links:
Regards