Unrecognized configuration section connectionStrings Solution

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.