Web配置文件显示错误 [英] Web configure file displays error

查看:67
本文介绍了Web配置文件显示错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

海,

我正在VS2010 dotnet framework 4.0中执行我的项目.它在本地运行.但是当我将其上传到在线时,它显示如下错误.

Hai,

I am doing my project in VS2010 dotnet framework 4.0. It run on the local. But when I upload it into online, It displays error like following.

The value for the ''compilerVersion'' attribute in the provider options must be ''v4.0'' or later if you are compiling for version 4.0 or later of the .NET Framework. To compile this Web application for version 3.5 or earlier of the .NET Framework, remove the ''targetFramework'' attribute from the <compilation> element of the Web.config file.



我检查了删除程序集,但没有任何反应



I checked remove the assemblies, but nothing happened

推荐答案

检查这些链接,如果它可以帮助您,

http://www.aspspider.com/qa/Question4562.aspx [ http://stackoverflow.com/Questions/3314469/asp-net-4-0-how-do-i-fix-the-compilerversion-iis-error [
Check these link,if it can help you,

http://www.aspspider.com/qa/Question4562.aspx[^]

http://stackoverflow.com/questions/3314469/asp-net-4-0-how-do-i-fix-the-compilerversion-iis-error[^]


这篇关于Web配置文件显示错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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