Article ID: 3033, created on May 8, 2009, last review on Apr 23, 2012

  • Applies to:
  • Plesk Sitebuilder for Windows

Symptômes

En essayant de se connecter au panneau de contrôle Parallels Plesk Sitebuilder, l'erreur suivante s'affiche :

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the  defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
--------------------------------

Résolution

Pour obtenir un texte "de manière conviviale" qui pourrait vous aider à reconnaître l'erreur exacte, il faut procéder comme suit :

1. Ouvrez le fichier %SB_DIR%\Web\web.config

2. Trouvez la chaîne suivante :

<customErrors defaultRedirect="~/CustomError.aspx" mode="On">

3. Changez le mode en “Off”

<customErrors defaultRedirect="~/CustomError.aspx" mode="Off">

4. Enregistrez le fichier web.config

5. Parcourez de nouveau localement Parallels Plesk Sitebuilder. Maintenant, l'erreur réelle doit s'afficher.

Remarque :  Pour voir l'erreur, il est important de parcourir localement le panneau Parallels Plesk Sitebuilder.

fad6dc0c8e983c17ae70a51ac7952cd0 2a62cbceb986d1b8f45bcd3ff4cb29a5 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF