locked
HTTP Error 500.19 - Internal Server Error RRS feed

  • Question

  • User-6892025 posted

    Hi,

    I keep getting this error when open a website.

    <fieldset>

    HTTP Error 500.19 - Internal Server Error

    The requested page cannot be accessed because the related configuration data for the page is invalid.

    </fieldset>
    <fieldset><legend>Detailed Error Information</legend>
    Module IIS Web Core
    Notification BeginRequest
    Handler Not yet determined
    Error Code 0x80070032
    Config Error The configuration section 'connectionStrings' cannot be read because it is missing a section declaration
    Config File \\?\C:\inetpub\wwwroot\CM_Live\web.config
    Requested URL http://localhost:80/CM_Live
    Physical Path C:\inetpub\wwwroot\CM_Live
    Logon Method Not yet determined
    Logon User Not yet determined
    </fieldset>
    <fieldset><legend>Config Source</legend>
       22: 	</configSections>
       23: 	<connectionStrings>
       24: 		<add name="DWG_ConnectionString" connectionString="Data Source=server;Initial Catalog=Data_;Integrated Security=True" providerName="System.Data.SqlClient"/>
    
    </fieldset>
    Wednesday, June 27, 2018 2:18 PM

All replies

  • User533502567 posted

    Make sure connectionStrings section has valid(same case letters etc..) open & close tags.

    Thursday, June 28, 2018 3:01 AM
  • User36583972 posted


    Hi lalajee,

    Config ErrorThe configuration section 'connectionStrings' cannot be read because it is missing a section declaration

    The following links for your reference.

    The configuration section 'connectionStrings' cannot be read because it is missing a section declaration
    https://stackoverflow.com/questions/27797984/the-configuration-section-connectionstrings-cannot-be-read-because-it-is-missi


    Best Regards,

    Yong Lu

    Thursday, June 28, 2018 7:59 AM
  • User-6892025 posted

    Same site is working fine on old server, its not working on new server, I havent made any changes to web.config file

    Thursday, June 28, 2018 8:29 AM
  • User-6892025 posted

    <connectionStrings>
    <add name="DWG_ConnectionString" connectionString="Data Source=SQLSERVERNAME;Initial Catalog=Data_Warehouse_Global_Dev;Integrated Security=True" providerName="System.Data.SqlClient"/>
    <add name="DWG_ConnectionString_Dev" connectionString="Data Source=SQLSERVERNAME;Initial Catalog=Data_Warehouse_Global_Dev;Integrated Security=True" providerName="System.Data.SqlClient"/>
    </connectionStrings>

    Thursday, June 28, 2018 8:39 AM
  • User533502567 posted

    Same site is working fine on old server, its not working on new server, I havent made any changes to web.config file

    Check the ASP.NET version on new server, it should be same as the one you are using on your site.

    Thursday, June 28, 2018 1:26 PM