IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

SSRS Discussion :

Abonnement piloté par les données - Problème envoi de mail [2008R2]


Sujet :

SSRS

  1. #1
    Membre à l'essai
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Janvier 2012
    Messages
    23
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur développement logiciels

    Informations forums :
    Inscription : Janvier 2012
    Messages : 23
    Points : 17
    Points
    17
    Par défaut Abonnement piloté par les données - Problème envoi de mail
    Bonjour à tous,

    Je viens vers vous suite à un petit souci sur les abonnements pilotés par les données.

    Je souhaiterais envoyer un mail 1 fois par mois à une liste de personnes, à ce mail serait joint un rapport au format pdf.

    J'ai une requête dans laquelle apparaissent toutes les données nécessaire à la génération du rapport ainsi qu'à la création du mail.

    Le problème que je rencontre est le suivant :
    L'abonnement s'exécute normalement : "Terminé : 2 traité(s) sur un total de 2 ; 2 erreurs."
    Mais comme vous le voyez, 2 erreurs surgissent...

    Voici la trace dans le log :
    library!WindowsService_15!3ce0!02/24/2012-10:45:10:: i INFO: Schedule 0afd5f81-eead-414e-9d3e-876c5afbc74f executed at 02/24/2012 10:45:10.
    schedule!WindowsService_15!3ce0!02/24/2012-10:45:10:: Creating Time based subscription notification for subscription: 5f9e23ea-a308-4376-8481-65f91c3cb870
    library!WindowsService_15!3ce0!02/24/2012-10:45:10:: i INFO: Schedule 0afd5f81-eead-414e-9d3e-876c5afbc74f execution completed at 02/24/2012 10:45:10.
    library!WindowsService_15!2578!02/24/2012-10:45:10:: i INFO: Handling data-driven subscription 5f9e23ea-a308-4376-8481-65f91c3cb870 to report /RSIntranet/ActivitySummaryMail, owner: POLARYS2\Administrateur, delivery extension: Report Server Email.
    library!WindowsService_15!2578!02/24/2012-10:45:11:: i INFO: Initializing EnableExecutionLogging to 'True' as specified in Server system properties.
    library!WindowsService_15!2578!02/24/2012-10:45:11:: i INFO: Initializing EnableIntegratedSecurity to 'True' as specified in Server system properties.
    library!WindowsService_15!26a0!02/24/2012-10:45:13:: i INFO: Initializing EnableExecutionLogging to 'True' as specified in Server system properties.
    library!WindowsService_15!2578!02/24/2012-10:45:13:: i INFO: Initializing EnableExecutionLogging to 'True' as specified in Server system properties.
    notification!WindowsService_15!2578!02/24/2012-10:45:13:: i INFO: Handling subscription 5f9e23ea-a308-4376-8481-65f91c3cb870 to report ActivitySummaryMail, owner: POLARYS2\Administrateur, delivery extension: Report Server Email.
    notification!WindowsService_15!26a0!02/24/2012-10:45:13:: i INFO: Handling subscription 5f9e23ea-a308-4376-8481-65f91c3cb870 to report ActivitySummaryMail, owner: POLARYS2\Administrateur, delivery extension: Report Server Email.
    library!WindowsService_15!26a0!02/24/2012-10:45:13:: i INFO: RenderForNewSession('/RSIntranet/ActivitySummaryMail')
    library!WindowsService_15!2578!02/24/2012-10:45:13:: i INFO: RenderForNewSession('/RSIntranet/ActivitySummaryMail')
    library!WindowsService_15!2578!02/24/2012-10:45:14:: i INFO: Initializing SessionAccessTimeout to default value of '600' seconds because it was not specified in Server system properties.
    library!WindowsService_15!26a0!02/24/2012-10:45:14:: i INFO: Initializing SessionAccessTimeout to default value of '600' seconds because it was not specified in Server system properties.
    library!WindowsService_15!2578!02/24/2012-10:45:14:: i INFO: Initializing SqlStreamingBufferSize to default value of '64640' Bytes because it was not specified in Server system properties.
    library!WindowsService_15!26a0!02/24/2012-10:45:14:: i INFO: Initializing SqlStreamingBufferSize to default value of '64640' Bytes because it was not specified in Server system properties.
    library!WindowsService_15!26a0!02/24/2012-10:45:16:: i INFO: Initializing SnapshotCompression to 'SQL' as specified in Server system properties.
    library!WindowsService_15!2578!02/24/2012-10:45:16:: i INFO: Initializing SnapshotCompression to 'SQL' as specified in Server system properties.
    library!WindowsService_15!2578!02/24/2012-10:45:16:: i INFO: Initializing ChunkSegmentSize to default value of '32320' Bytes because it was not specified in Server system properties.
    library!WindowsService_15!26a0!02/24/2012-10:45:16:: i INFO: Initializing ChunkSegmentSize to default value of '32320' Bytes because it was not specified in Server system properties.
    library!WindowsService_15!26a0!02/24/2012-10:45:17:: i INFO: Initializing ResponseBufferSizeKb to default value of '64' KB because it was not specified in Server system properties.
    library!WindowsService_15!2578!02/24/2012-10:45:17:: i INFO: Initializing ResponseBufferSizeKb to default value of '64' KB because it was not specified in Server system properties.
    library!WindowsService_15!2578!02/24/2012-10:45:20:: i INFO: Initializing SessionTimeout to '600' second(s) as specified in Server system properties.
    library!WindowsService_15!26a0!02/24/2012-10:45:20:: i INFO: Initializing SessionTimeout to '600' second(s) as specified in Server system properties.
    library!WindowsService_15!2578!02/24/2012-10:45:20:: i INFO: Initializing EnableExecutionLogging to 'True' as specified in Server system properties.
    library!WindowsService_15!26a0!02/24/2012-10:45:20:: i INFO: Initializing EnableExecutionLogging to 'True' as specified in Server system properties.
    emailextension!WindowsService_15!26a0!02/24/2012-10:45:20:: e ERROR: Error sending email. System.IO.FileNotFoundException: La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte.

    à ReportingServicesCDOInterop.MessageClass.Send()
    à Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)
    notification!WindowsService_15!26a0!02/24/2012-10:45:20:: e ERROR: Error occured processing subscription 5f9e23ea-a308-4376-8481-65f91c3cb870: Échec de l'envoi du message électronique*: La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte.
    Le message ne sera pas renvoyé.
    emailextension!WindowsService_15!2578!02/24/2012-10:45:21:: e ERROR: Error sending email. System.IO.FileNotFoundException: La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte.

    à ReportingServicesCDOInterop.MessageClass.Send()
    à Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)
    notification!WindowsService_15!2578!02/24/2012-10:45:21:: e ERROR: Error occured processing subscription 5f9e23ea-a308-4376-8481-65f91c3cb870: Échec de l'envoi du message électronique*: La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte.
    Le message ne sera pas renvoyé.
    Ok... Nom de fichier/dossier/volume incorrect. Impossible de savoir de quoi le log parle...
    Est-ce le rapport ? NON car il s'appelle "ActivitySummaryMail".
    Après, je ne sais pas si c'est le dossier ou le volume qui déconne...

    Je me suis dit que la destination du rapport à inclure en pièce jointe pouvait être un dossier temporaire tel que "RSTempFiles".
    Le problème est que je n'arrive pas à changer le dossier des fichiers temporaires par défaut pour SSRS.

    Enfin, tout ça pour savoir si quelqu'un aurait une idée de comment résoudre cette erreur.
    Aucun mail ne part et je me retrouve bloqué...

    Merci d'avance pour vos réponses et votre aide

  2. #2
    Membre à l'essai
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Janvier 2012
    Messages
    23
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur développement logiciels

    Informations forums :
    Inscription : Janvier 2012
    Messages : 23
    Points : 17
    Points
    17
    Par défaut
    Bon, problème résolu.

    Pour ceux qui rencontreraient le même problème :
    dans le fichier de config de RS (rsreportserver.config), j'avais des sauts de lignes pour chaque paramètres pour la remise par email.

    Ca donnait, par exemple :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    <SMTPServer>nom_du_server
    </SMTPServer>
    au lieu de :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <SMTPServer>nom_du_server</SMTPServer>
    Du coup, il me renvoyait une erreur comme quoi mon dossier pour le dossier "Pickup" avait un nom incorrect.

    Bonne journée à tous !

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [2012] Abonnement piloté par des données
    Par mapmip dans le forum SSRS
    Réponses: 1
    Dernier message: 01/12/2013, 07h54
  2. [2008R2] Abonnement piloté par des données impossible
    Par remyv23 dans le forum SSRS
    Réponses: 4
    Dernier message: 14/12/2011, 18h58
  3. Réponses: 1
    Dernier message: 14/10/2009, 10h13
  4. Réponses: 3
    Dernier message: 14/04/2009, 14h40
  5. Espace disque occupé par les données
    Par klereth dans le forum PostgreSQL
    Réponses: 2
    Dernier message: 13/12/2005, 13h18

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo