简体   繁体   English

无法在IIS上部署

[英]Unable to deploy on IIS

After building a dotnet app from azure devops i tried to deploy the artifacts generated. 从天蓝色的devops构建一个dotnet应用程序后,我尝试部署生成的工件。 But the server returned an error saying that the config data is invalid. 但是服务器返回了一个错误,指出配置数据无效。 Can someone please suggest a solution. 有人可以建议解决方案吗? I have attached the error screenshot. 我已附上错误屏幕截图。

Error 1 错误1

Error 2 错误2

Your web.config is invalid. 您的web.config无效。 Check your web.config syntax with for example Notepad++ and select Language -> XML. 使用例如Notepad ++检查您的web.config语法,然后选择Language-> XML。 Perhaps you have a typo. 也许您有错字。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM