MSBuild remoting to server throws COMException error

穿精又带淫゛_ 提交于 2019-12-08 08:35:22

问题


Ive got an MSBUILD script where ive set the Username and Password properties as below

<MSBuild.ExtensionPack.Web.Iis7AppPool TaskAction="CheckExists" Name="@(WebSite -> '%(Name)')" MachineName="@(WebSite -> '%(MachineName)')" Username="username" UserPassword="password">

This throws the following error :

COMException: Retrieving the COM class factory for remote component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344} from machine MYSERVER01 failed due to the following error: 800706ba MYSERVER01

Ports 135,445 are open.... Eventlog showing up "DCOM was unable to communicate with the computer using any of the configured protocols"

Firewalls are all currently disabled.

Any guidance would be really appreciated.

来源:https://stackoverflow.com/questions/5616919/msbuild-remoting-to-server-throws-comexception-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!