开发者

WIX and IIS7: Cannot connect to Internet Information Server. (-2147221164)

I have seen

WiX and iis (cannot connect to internet information server)

This question is different.

I have Windows7, IIS is installed. I'm trying to run a开发者_C百科n MSI installer built with WIX v3.0 to install an ISAPI filter.

When I run the MSI I get

Cannot connect to Internet Information Server.  (-2147221164         )

...in the msi log file, and an accompanying error message like Error 26001.

In his response to the other WIX/IIS7 question, Yan Sklyarenko said:

the WiX IIsExtension (the one which defines WebSite element) uses the API of IIS component to actually do its job. For WiX v3.0 it even requires IIS 6 compatibility to be turned ON in IIS 7 in order to work correctly.

I suppose the reason that I saw the error message is that the IIS6 compat stuff is not installed.

Is this pre-requisite still present in Wix v3.5? In other words, using Wix3.5, must I still have the IIS6 compatibility stuff installed, to use IisExtension ?


No, WiX v3.5 supports IIS7 directly.


-2147221164 decimal converts to 0x80040154 hex. A google search for "wix 0x80040154 brings up the following thread:

Error 0x80040154: failed to get IID_IIMSAdminBase object with IIS 7

So yes, this error code is a COM registration error associated with the management objects not being present. The solution is either to gate the installer to not run if they aren't present or upgrade to an installation tool that supports native interaction.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜