App.Config ASMX 问题
我有一个在运行 Windows 7 的开发机器上创建的 app.Config。
它创建了以下与 asmx 相关的配置部分:
<applicationSettings>
<ISDS_Scheduler.Properties.Settings>
<setting name="Scheduler_WSDownloads_Downloads" serializeAs="String">
<value>[address]/Downloads.asmx</value>
</setting>
<setting name="Scheduler_WSTasks_WSTasks" serializeAs="String">
<value>[address]/WSTasks.asmx</value>
</setting>
</ISDS_Scheduler.Properties.Settings>
</applicationSettings>
自从我使用 ASMX 以来已经有一段时间了,但是当我部署到 Windows 2003 Server 时,我收到错误无法识别的配置应用程序设置部分。
有人知道我如何手动修复这个问题吗?
I have an app.Config that was created on the dev machine running Windows 7.
It created the following asmx related configuration section:
<applicationSettings>
<ISDS_Scheduler.Properties.Settings>
<setting name="Scheduler_WSDownloads_Downloads" serializeAs="String">
<value>[address]/Downloads.asmx</value>
</setting>
<setting name="Scheduler_WSTasks_WSTasks" serializeAs="String">
<value>[address]/WSTasks.asmx</value>
</setting>
</ISDS_Scheduler.Properties.Settings>
</applicationSettings>
Its been a while since I used ASMX, but when I deploy to Windows 2003 Server, I get the error unrecognised configuration section applicationSettings.
Any one know how I can manually fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
易于修复:
需要包含配置部分...位于 app.config 文件顶部...
Easy to fix:
Needed to include the config section... located at the top of the app.config file...