Unable to pass COM object of type "System .__ ComObject" to interface type "EnvDTE.Project"

I am creating the Azure Resource Manager deployment templates for my project using the Azure Resource Group Project in Visual Studio 2015 project templates. I was able to successfully create the projects. But today I upgraded the Azure SDK to version 2.9.5 and a project creation failed unexpectedly. The following error message failed.

Unable to pass a COM object of type "System .__ ComObject" into the interface, enter "EnvDTE.Project". This operation failed because QueryInterface calls the COM component for the interface with IID '866311E6-C887-9833-645F5B93F6F1}' because of the following error: There is no cush interface support (exception from HRESULT: 0x80004002 (E_NONINTERFACE)).

enter image description here

This exception occurs when I select the initial template from the template selection dialog box (I selected the WebApp + SQL template. This is also not suitable for other templates). Therefore, after this the project will not be fully created.

I ran into the same issue on three different PCs with Azure SDK v2.9.5 installed. Is this problem related to the SDK itself? Or how to fix it.

+4
3

. :

  • .

LMK, ...

+1

azure .

, . azure .

0

Try the following: Open "cmd" with administrator privileges,

regsvr32 "C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\dte80.olb"
regsvr32 "C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\dte80a.olb"
regsvr32 "C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\dte90.olb"
regsvr32 "C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\dte90a.olb"
0
source

Source: https://habr.com/ru/post/1657532/


All Articles