Please ensure that the following prerequisite component is installed Microsoft exchange Webservices

Please ensure that the following prerequisite component is installed Microsoft exchange Webservices

In this post, we will solve “Please ensure that the following prerequisite component is installed Microsoft exchange Webservices” that you may face when deploy a SharePoint solution using Visual Studio.


An error occurred while trying to load a required component

In SharePoint 2013, When I tried to deploy a SharePoint Solution, I got the below error

An error occurred while trying to load a required component. Please ensure that the following prerequisite component is installed: Microsoft Exchange WebServices

Please ensure that the following prerequisite component is installed Microsoft exchange Webservices

So I have tried to deploy the SharePoint solution again. but I got another error as shown below

Ensure the deployment configuration is correctly defined in the project properties page or use another deployment configuration.

Ensure the deployment configuration is correctly defined in the project properties page or use another deployment configuration.

Please ensure that the following prerequisite component is installed Microsoft exchange Webservices

This issue usually occurs if the Microsoft Exchange Web Services is not installed properly. so in this section, we will show how to download and install Microsoft exchange Webservices step by step.

Note: if you already installed Microsoft Exchange Web Services, Try to uninstall it from Control Panel > Program and Features then follow the below-mentioned steps.

Download Microsoft Exchange Web Services

Download Microsoft Exhanage Webservices

Install Microsoft Exchange Web Services

  • Run Command Prompt as administrator.
Run CMD As Administrator
  • Navigate to the downloaded file location (In my case, it’s C:\ drive).
  •  Run the following command:
EwsManagedApi32.msi addlocal="ExchangeWebServicesApi_Feature,ExchangeWebServicesApi_Gac"
Install Microsoft Exhanage Webservices
  • The installation wizard should now be started, Click Next to continue.
Install Microsoft Exhanage Webservices 1
  • Check I accept then Next.
Install Microsoft Exhanage Webservices 2
Install Microsoft Exhanage Webservices 3
Install Microsoft Exhanage Webservices 4
Install Microsoft Exhanage Webservices 5
  • Restart Visual Studio then open it again,
  • Try to deploy the SharePoint solution that should now be deployed successfully.
deployed successfully.png

Conclusion

In conclusion, we have learned how to install and download Microsoft Exchange Web Services to solve “Please ensure that the following prerequisite component is installed Microsoft exchange Webservices” that you may face when deploy a SharePoint solution.

Applies To
  • SharePoint 2016.
  • SharePoint 2013.
You might also like to read

7 thoughts on “Please ensure that the following prerequisite component is installed Microsoft exchange Webservices”

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top