无法发布.net应用程序或安装Web Deploy 3.5



当我尝试使用Web Deploy 3.0在服务器上发布我的.net应用程序时,我得到了以下错误:

Web deployment task failed. Microsoft.Web.Deployment.DeploymentBaseOptions' does not contain a definition for 'UserAgent'

在搜索网页时,我发现有人解决了将web Deploy升级到3.5版的问题。

当我尝试将Web Deploy升级到3.5版本时,我得到了以下错误:

http://sciepa.org/zalek/pictures/WebDeploy3.5Failed.png

MSI (s) (78:1C) [13:26:40:909]: Hello, I'm your 32bit Elevated custom action server.
DEBUG: Error 2738:  Could not access VBScript runtime for custom action 
MSI (s) (78:54) [13:26:40:916]: Product: Microsoft Web Deploy 3.5 -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2738

然后我尝试使用Visual Studio 2013获取当前的Web Deploy,结果出现了以下错误:

http://sciepa.org/zalek/pictures/WebDeploy3.5FailedWithVS.png

以下是通过Visual Studio安装的日志:

http://sciepa.org/zalek/pictures/Log_with_vs_professional.txt

To fix error code is 2738 someone suggested this command:
[http://www.jakeludington.com/windows_7/20091115_error_2738_could_not_access_vbscript_run_time_for_custom_action.html][4]
I registered vbscript using command:
c:windowssyswow64regsvr32 vbscript.dll
c:windowssystem32regsvr32 vbscript.dll

我还添加了vbscript.dll所在的PATH文件夹:C:WindowsSysWOW64;c:windowssystem32

但这无济于事。

你知道下一步该怎么办吗?

经过数小时的搜索,使用SFC.EXE/SCANNOW命令修复系统,我发现问题出在McAfee防病毒程序上。我的电脑附带了McAfee,但我卸载了它——至少这是我想我做的。本页详细介绍了如何执行此操作:详细说明

我所做的就是运行这个程序:

McAfee卸载

Zalek

最新更新