如何解决服务器配置错误

问题描述:

你好朋友.

我正在ASP.Net 4.0框架中开发Web应用程序.当我想在支持3.5的服务器上上载我的网站时,会向我提供错误,如下所示

Unrecognized attribute ''targetFramework''.

Hello Friends.

I am developing web application in ASP.Net 4.0 framework. And when ever i want to upload my website on server which is 3.5 supported provide me error, Which is as follows

Unrecognized attribute ''targetFramework''.

compilation defaultLanguage="c#" debug="true" targetFramework="4.0"



我想将项目从.net 4.0更改为3.5框架.但是我不知道该怎么办.

请帮我解决这个问题.

在此先感谢.



I think i want to change my project from .net 4.0 to 3.5 framework. But i don''t know that how can i do it.

Please help me out of this problem.

Thanks in Advance.

hi,

转到此网站可能对您有帮助
http://msdn.microsoft.com/zh-cn/library/dd483478.aspx
hi ,

go to this site may it ll help you
http://msdn.microsoft.com/en-us/library/dd483478.aspx


右键单击项目"->属性->应用程序标签->目标框架.

您需要确保您的Web应用程序正在运行/使用Framework 3.5,以便将其托管在支持3.5的服务器上
Right click Project -> Properties -> Application Tab -> Target Framework.

You need to make sure that your web application in running/using Framework 3.5 in order to host it on a server that support 3.5