Configuration Error
Description: An error occurred while processing the configuration file required to service the request. Please check the specific error details below and modify the configuration file as appropriate.
Parser Error Message: Unrecognized property "TargetFramework". Note that property names are case-sensitive.
Source Error:
Line 9: </connectionStrings> line: <system.web> line one: <compilation debug= "true" targetframework= "4.0"/> line: </system.web> line: <system.serviceModel> |
The reason for the error is that the application was selected when it was added in IIS. NET Framework errors, such as the original program is based on. Net4.0, but added the application pool for. Net2.0.
1. Open IIS, click Application Pool, and select Add Application pool.
2. (1) The name can be filled in a meaningful and convenient memory, such as classic. Net4.0 representative. Net4.0 's classic model.
(2) The version can choose 2.0 or 4.0.
(3) Managed pipeline mode: You can choose Classic or integrated. Generally choose Classic.
Parser Error Message: Unrecognized property "TargetFramework".