Unrecognized configuration section 'connectionStrings'

Hi,
I just have just deployed a ASP.NET 2.0 website, on a live server with other ASP.NET 1.1 applications.

 

The website seems to generate the error

Unrecognized configuration section 'connectionStrings' on repeated visits.

The framework versions is already set to ASp.NET 2.0 in the IIS.

Any help

 

Regards,

Adnan



Answer this question

Unrecognized configuration section 'connectionStrings'

  • Dustin Walker

    Thank you this solved a multitude of problems for me!!!!
  • RandyMan

    It looks like you have to install ASP.NET v2.0...

    Run the following command on your webserver:

    c:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

  • wolf777

    In the C:\WINDOWS\Microsoft.NET\Framework\v2.0\CONFIG folder there is a machine.config file. In this file (or in your web.config file for your application) there is definitions at the top that define what is in the config file. Make sure that you have these definitions there and something has not been removed. If the schema at the top of the config file does not exist then when it gets down to the section where the actual connectionStrings data is it will complain that it does not recognize it.


  • Aaron Skonnard

    ASP.NET 2.0 may be installed, but the virtual directory may not be set to run the .NET 2.0 version of the framework.

    Check this out by:

    • Running IIS Manager.
    • Right-clicking on the virtual directory.
    • Clicking properties.
    • Choosing the ASP.NET tab.
    • Selecting the 2.0 version of the framework for the virtual directory

    Regards,

    Dave



  • Unrecognized configuration section 'connectionStrings'