ASP.Net中的帮助错误 [英] Help Error in the ASP.Net

查看:47
本文介绍了ASP.Net中的帮助错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行网站时,for错误如下:



配置错误

说明:在处理服务于此请求所需的配置文件期间发生错误.请查看下面的特定错误详细信息,并适当修改您的配置文件.

解析器错误消息:无法识别的属性"targetFramework".请注意,属性名称区分大小写.

源错误:


第27行:在开发过程中.
第28行:->
第29行:< compilation debug ="true" targetFramework ="4.0">
第30行:<装配体>
第31行:< add assembly ="System.Core,Version = 3.5.0.0,Culture = neutral,PublicKeyToken = B77A5C561934E089"/>

源文件:C:\ Documents and Settings \ Hai Quan \ My Documents \ Downloads \ FileUploadInDatabase \ SmartFileUpload \ web.config行:29

版本信息:Microsoft .NET Framework版本:2.0.50727.1433; ASP.NET版本:2.0.50727.1433


大家帮助我.

When I running website the for error as follows:



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 27: during development.
Line 28: -->
Line 29: <compilation debug="true" targetFramework="4.0">
Line 30: <assemblies>
Line 31: <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

Source File: C:\Documents and Settings\Hai Quan\My Documents\Downloads\FileUploadInDatabase\SmartFileUpload\web.config Line: 29

Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433


everybody help me.

推荐答案

关闭编译标签

例如

close the compilation tag

for example

<compilation debug="true" targetframework="4.0" />


关闭标签
<compilation debug="true" targetframework="4.0"></compilation>


将以上标签替换为


replace above tags by

<compilation debug="true" targetframework="4.0" />



并检查您正在使用的框架
表示如果您正在使用3.5,则将其设置为3.5;如果将4.0设置为4.0

您可以删除该标签.



And also check the framework you are working
means if your are working with 3.5 then set that one as 3.5 .and if 4.0 then set as 4.0

You can remove that tag.


删除targetFramework ="4.0"

您使用Visual Studio 2008还是2010?
如果2008年,则删除targetFramework ="4.0"
remove targetFramework="4.0"

r u using visual studio 2008 or 2010?
if 2008 then remove targetFramework="4.0"


这篇关于ASP.Net中的帮助错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆