ProviderName parameter is removed after new ASP.NET settings are applied via Plesk UI

Created:

2017-07-03 20:58:51 UTC

Modified:

2017-08-16 16:56:35 UTC

0

Was this article helpful?


Have more questions?

Submit a request

ProviderName parameter is removed after new ASP.NET settings are applied via Plesk UI

Applicable to:

  • Plesk Onyx for Windows

Symptoms

  • After adding the directive below to the file %plesk_vhosts%example.com/httpdocs/web.config , providerName parameter is removed after updating ASP.NET settings via Plesk UI.

    <connectionStrings>
    <add name="testDb" providerName="System.Data.SqlClient" connectionString="Server=localhost;Database=db_name;Uid=db_user;Password=dbpassword" />
    </connectionStrings>
  • In the web.config file the following string is present:

    <remove name="qwerty" />

Cause

Plesk bug with ID #PPPM-6594 .

The fix will be included in one future Plesk updates.

Resolution

As a workaround, remove the mentioned string from the domain web.config file:

<remove name="qwerty" />
Have more questions? Submit a request
Please sign in to leave a comment.