Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
39 attribute are case that note names
2023-09-27 14:21:30 时间
调试网站时,异常出现:Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Server Error in '/' Application.
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 15: </connectionStrings>
Line 16: <system.web>
Line 17: <compilation targetFramework="4.5" />
Line 18: </system.web>
Line 19: <runtime>
|
Source
File: D:\Sites\xxxxxx\web.config Line: 17
Version Information: Microsoft .NET Framework Version:2.0.50727.5420; ASP.NET Version:2.0.50727.5420
检查上面的异常信息,Insus.NET发现开发的项目是ASP.NET MVC是在.NET Framework 4.0的环境下运行的。但在最后一个即显示的是.NET 2.0
相关文章
- ZOJ 3804 YY's Minions (简单模拟)
- Mysql-ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'
- .net mvc 列名 'Discriminator' 无效
- 'tensorflow' has no attribute 'sub'
- [ML] I'm back for Machine Learning
- Python错误:AttributeError: 'generator' object has no attribute 'next'解决办法
- ubuntu下 GCC编译程序出现 undefined reference to `std::ios_base::Init::Init()'问题
- AttributeError: 'tuple' object has no attribute 'extend'
- OpenERP __sql_constrants doesn't work.
- 【svn】svn报错:“Previous operation has not finished; run 'cleanup' if it was interrupted“ 的解决方法
- spring boot多模块引用,bean注入问题:A component required a bean of type 'utils.JwtTokenUtil' that could not b
- HDU 2147 kiki's game (简单博弈,找规律)
- 对于AttributeError: 'Flask' object has no attribute 'cli'的解决办法
- Python Keras 报错AttributeError: 'Sequential' object has no attribute 'predict_classes'解决方法
- FreeBSD下的Apache出现错误:[warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter的解决方法
- bug: OnIdle called only while mouse's moving
- pycharm+selenium搭建环境之no module named 'selenium'异常解决