Bonjour;
Je travail sur un Web service pour exploiter le Web service des reporting Service pour Sql server 2008 R2 .
mon web Servie fait un appel à le web service de reporting service
j'ai crée un proxy pour invoker ce web service ( reporting service ) dans mon Web service en spécifiant le Credentials par defaut
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2http://localhost:80/ReportServer/ReportExecution2005.asmx
mais lorsque j'exécute pour avoir le rapport en PDF ;j'ai le message suivante
Code : Sélectionner tout - Visualiser dans une fenêtre à part rs.UseDefaultCredentials = true;
System.Web.Services.Protocols.SoapException: Les autorisations accordées à l'utilisateur 'AUTORITE NT\SERVICE RÉSEAU' sont insuffisantes pour effectuer cette opération. ---> Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: Les autorisations accordées à l'utilisateur 'AUTORITE NT\SERVICE RÉSEAU' sont insuffisantes pour effectuer cette opération.
à Microsoft.ReportingServices.WebServer.ReportExecution2005Impl.LoadReport(String Report, String HistoryID, ExecutionInfo2& executionInfo)
à Microsoft.ReportingServices.WebServer.ReportExecutionService.LoadReport(String Report, String HistoryID, ExecutionInfo& executionInfo)
Partager