当我将我的网站上传到服务器时,我遇到了这个错误。我该如何摆脱这个错误 [英] When I Uploaded My Website To The Server, I Got This Error. How Can I Get Rid Of This Error
本文介绍了当我将我的网站上传到服务器时,我遇到了这个错误。我该如何摆脱这个错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
配置错误
描述:处理为此请求提供服务所需的配置文件时发生错误。请查看下面的具体错误详细信息并相应地修改配置文件。
分析器错误消息:无法识别的属性'targetFramework'。请注意,属性名称区分大小写。
来源错误:
第33行:< / connectionStrings >
第34行:< system.web >
第35行:< 编译 debug = true targetFramework = 4.5 / >
第36行:< httpRuntime targetFramework = 4.5 maxRequestLength = < span class =code-keyword> 524288 executionTimeout = 120000 / >
第37行:
解决方案
< blockquote>参考 - 无法识别的属性'targetFramework'。请注意,属性名称区分大小写 [ ^ ]。
可能是由于应用程序池设置不匹配造成的。
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Source Error:
Line 33: </connectionStrings>
Line 34: <system.web>
Line 35: <compilation debug="true" targetFramework="4.5" />
Line 36: <httpRuntime targetFramework="4.5" maxRequestLength="524288" executionTimeout="120000" />
Line 37:
解决方案
Refer - Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive[^].
May be due to the App Pool settings mismatch.
这篇关于当我将我的网站上传到服务器时,我遇到了这个错误。我该如何摆脱这个错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文