Accéder au contenu principal

Reporting Services : Erreur lors de l'installation du site portail de SSRS 2005

 Lorsqu'on installe SQL Server 2005 Reporting Services (SSRS), on peut tomber sur une erreur pénible à trouver lors de l'accès au portail :

Ce message est le suivant :

------

Server Error in '/Reports' Application.

An error occurred while parsing the configuration file. The ReportServerVirtualDirectory element is missing.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details:
Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
[Exception: An error occurred while parsing the configuration file. The ReportServerVirtualDirectory element is missing.]
   Microsoft.ReportingServices.Diagnostics.RSConfiguration.ThrowElementMissing(String element) +74
   Microsoft.ReportingServices.Diagnostics.UIConfiguration.ParseXML(XmlNode node, RSConfiguration configObject) +1496
   Microsoft.ReportingServices.Diagnostics.RSConfiguration.ParseDocument() +1323
   Microsoft.ReportingServices.Diagnostics.RSConfiguration.Load() +88

[ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information.]
   Microsoft.ReportingServices.Diagnostics.RSConfiguration.Load() +318
   Microsoft.ReportingServices.Diagnostics.RSConfigurationManager..ctor(String configFileName, String configLocation) +191
   Microsoft.ReportingServices.UI.Global.get_ConfigurationManager() +128
   Microsoft.ReportingServices.UI.Global.get_Configuration() +9
   Microsoft.ReportingServices.UI.GlobalApp.Application_AuthenticateRequest(Object sender, EventArgs e) +146
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +176
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +177


Version Information:

------

Ce message est lié à la configuration du site portail qui n'est pas terminée. Il faut donc aller dans le répertoire d'installation de SSRS :

  • C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportManager\

Editer le fichier de configuration :

  • RSWebApplication.config

Ce fichier doit avoir les valeurs correctes pour les accès, qui sont dans mon cas :

<Configuration>
    <UI>
        <ReportServerUrl></ReportServerUrl>
        <ReportServerVirtualDirectory>ReportServer</ReportServerVirtualDirectory>
        <ReportBuilderTrustLevel>FullTrust</ReportBuilderTrustLevel>
    </UI>

....

Ensuite, un petit iisreset et votre portail SSRS sera à nouveau fonctionnel.

La solution est disponible sur le site :

Romelard Fabrice [MVP]

Commentaires

Posts les plus consultés de ce blog

Série de Videos sur Home Assistant intégrant la production Photovoltaïque

 Un certain nombre de vidéos sont en ligne pour intégrer sa production photovoltaïque dans Home Assistant en partant de la base. Installation de Home Assistant: On peut ensuite intégrer les composant des Micro-Onduleurs Enphase, mais aussi les batteries Enphase: Ou encore le composant de contrôle Ecojoko: Ce qui permet alors de faire des comparaisons entre les valeurs capturées: Des videos seront encore publiés dans les prochaines semaines sur différents aspects de cette solution. Fab

Nouveau Scripts PowerShell publiés pour gérer les Storage Accounts dans Azure Cloud

Deux scripts sont en lignes pour nettoyer des Storage Account dans Azure Cloud: Supprimer les Blobs d'un container existant https://techcommunity.microsoft.com/discussions/azure/powershell-script-to-remove-all-blobs-from-storage-account/4357815 ------------------------------------------------------- [string]$myConnectionString = "DefaultEndpointsProtocol=https;AccountName=YourStorageAccountName;AccountKey=YourKeyFromStorageAccountConnectionString;EndpointSuffix=core.windows.net" [string]$ContainerName = "YourBlobContainerName" [int]$blobCountAfter = 0 [int]$blobCountBefore = 0 $context = New-AzStorageContext -ConnectionString $myConnectionString $blobCountBefore = (Get-AzStorageBlob -Container $ContainerName -Context $context).Count Write-Host "Total number of blobs in the container Before deletion: $blobCount" -ForegroundColor Yellow Get-AzStorageBlob -Container $ContainerName -Context $context | ForEach-Object {     $_ | Remove-AzureStorageBlob   # o...

Série de vidéos sur le montage d'une serre horticole ACD

 Episode 1: Préparation du terrain Episode 2: Montage de la serre en elle même Episode 3: Finalisation avec le montage électrique alimentant la serre Bon visionnage Fab