ClickOnce错误配置系统无法初始化无法识别的配置部分启动

时间:2013-06-04 23:23:38

标签: clickonce

我正在尝试安装使用ClickOnce部署的应用程序,我收到以下错误

PLATFORM VERSION INFO
Windows             : 6.1.7601.65536 (Win32NT)
Common Language Runtime     : 4.0.30319.18034
System.Deployment.dll       : 4.0.30319.17929 built by: FX45RTMREL
clr.dll             : 4.0.30319.18034 built by: FX45RTMGDR
dfdll.dll           : 4.0.30319.17929 built by: FX45RTMREL
dfshim.dll          : 4.0.41209.0 (Main.041209-0000)

SOURCES
Deployment url          : http://localhost:82/My.application

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://localhost:82/My.application resulted in exception. Following failure messages were detected:
    + Configuration system failed to initialize
    + Unrecognized configuration section startup. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\dfsvc.exe.Config line 2)

当我在本地安装它时工作正常,但在服务器上我得到了错误。

提前致谢

1 个答案:

答案 0 :(得分:0)

搜索类似的错误让我来到这里 - 我使用.net修复工具

修复了它