我有一个在Framework 3.5中开发的 Web 应用程序。我更改为较新版本的framework 4.0。如果我在本地主机上运行相同的程序,它运行得非常好,但是一旦我把它放在网络服务器上,它就会给我以下错误
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:
<compilation debug="true" targetFramework="4.0">
请帮帮我。我必须在代码中做些什么改变