Error occurred in deployment step ‘Recycle IIS Application Pool’: Invalid namespace

If you ever encounter this error with a SharePoint 2010 Environment on Windows 7,

Ensure, you enable this:
Internet Information Services -> Web Management Tools -> IIS 6 Management Compatibility -> IIS 6 WMI Compatibility


  1. Any script powershell or C# code for check if is enabled ?


Post a Comment

Popular posts from this blog

Using External Content Types with Stored Procedures with Input Parameters

HTTPS Site InfoPath Issue : You do not have permissions to access a web service that provides data required for this form to function correctly

Comparison of Power BI Service vs. Power BI Report Server vs. SQL Server Reporting Services