This article introduces the analyzer error message in the. net application: Unrecognized configuration section "connectionStrings.
"/" Indicates a server error in the application.
--------------------------------------------------------------------------------
Configuration Error
Note: An error occurred while processing the configuration file required to provide services to the request. Check the following error details and modify the configuration file as appropriate.
Analyzer error message: Unrecognized configuration section "connectionStrings"
Source error:
Row 5: <add key = "DefaultBanner" value = "images/products_banner.jpg"/>
Row 6: </FIG>
Row 7: <connectionStrings>
Row 8: <add name = "DB" connectionString = "Provider = Microsoft. jet. OLEDB.4.0; Data Source = | DataDirectory | db. mdb "providerName =" System. data. oleDb "/>
Row 9: </connectionStrings>
Source File: E: wwwwxxxxweb. config line: 7
--------------------------------------------------------------------------------
Version: Microsoft. NET Framework Version: 1.1.4322.2443; ASP. NET version: 1.1.4322.2470
Later I found the cause. net has two versions. view the properties of IIS and find ASP.. NET has two versions. If you select 1.0, the page cannot be accessed when you change to 2.0. net1.0 is an unrecognized configuration section "connectionStrings"
Solution
Solution: Upgrade the. net environment to 2.0. Start-run-cmd-
| The Code is as follows: |
Copy code |
| C:/WINDOWS/Microsoft. NET/Framework/v2.0.50727/aspnet_regiis.exe-I |