.NET settings page loads with no data in Plesk 12.0

Created:

2016-11-16 13:21:16 UTC

Modified:

2017-08-16 17:30:00 UTC

0

Was this article helpful?


Have more questions?

Submit a request

.NET settings page loads with no data in Plesk 12.0

Applicable to:

  • Plesk 11.x for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Symptoms

  1. Unable to manage .NET settings after .NET version was updated from 4.5 to 4.6 - the page loads with no data.

  2. Unable to switch framework version in ASP.NET Settings menu to 4.6:

    The operation you were performing failed. You can retry the operation with or without changing its parameters. You may also want to report this problem to our support so that we could help you as soon as possible.
    aspnetcfg failed (error code 1)

Cause

This is Plesk internal issue with id #PPPM-4140 , which is planned to be fixed in future Plesk updates.

Workaround

Create a link to .NET configuration directory using instructions below.

  1. Find out actual .NET configuration folder that is installed via registry:
    HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full

Additional info can be found here .

  1. Enable Plesk debug log by renaming "%plesk_dir%"\\admin\\conf\\panel.ini.sample to "%plesk_dir%"\\admin\\conf\\panel.ini (if panel.ini file does not exist yet) and uncommenting the following lines in panel.ini file:

    enabled = on
    filter.priority = 7
    show.util_exec = on
    show.util_exec_io = on
  2. Reproduce the issue again in order to get the error in the log file.

  3. Go to "%plesk_dir%"\\admin\\logs\\php_error and find similar error in the end of the file:

    DEBUG [util_exec] [d0372c3d823f9a84c4911a1ef73a3603][0] Starting: aspnetcfg --get-params --domain-name=domain.tld, stdin:  
    DEBUG [util_exec] [d0372c3d823f9a84c4911a1ef73a3603][0] Finished in 0.439s, Error code: 0, stdout: <error><resultCode>1</resultCode><info>Could not find a part of the path 'C:\\Windows\\Microsoft.NET\\Framework\\v4.6.81\\config\\machine.config'.</info></error>
  4. Now put the path from the error to the following query:

    > mklink /D C:\\Windows\\Microsoft.NET\\Framework\\v4.6.81 C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319

Additional information

For instructions how to disable debug log, visit:

213377849 [How to] enable/disable debug logging in Plesk 11.5 and higher for Windows

Have more questions? Submit a request
Please sign in to leave a comment.