Microsoft SQLServer/Reporting Services 21. 5. 2006 CZ

Nastavení Subscriptions v Reporting Services

Pokud není již při instalaci nastaven SMTP protokol pro Reporting Services je potřeba ručně editovat jeden config soubor, který se nachází na cestě...

Pokud není již při instalaci nastaven SMTP protokol pro Reporting Services je potřeba ručně editovat jeden config soubor, který se nachází na cestě

C:\ProgramFiles\MicrosoftSQLServer\MSSQL\ReportingServices\ReportServer\RSReportServer.config

V tomto souboru je potřeba editovat vybrané parametry

  • <RSEmailDPConfiguration>
    • <SMTPServer>192.168.168.10</SMTPServer>
    • <SMTPServerPort>25</SMTPServerPort>
    • <SMTPAccountName></SMTPAccountName>
    • <SMTPConnectionTimeout></SMTPConnectionTimeout>
    • <SMTPServerPickupDirectory></SMTPServerPickupDirectory>
    • <SMTPUseSSL></SMTPUseSSL>
    • <SendUsing>2</SendUsing>
    • <SMTPAuthenticate></SMTPAuthenticate>
    • <From>iris.reports@dsis.cz</From>
    • <EmbeddedRenderFormats>
      • <RenderingExtension>MHTML</RenderingExtension>
    • </EmbeddedRenderFormats>
    • <PrivilegedUserRenderFormats></PrivilegedUserRenderFormats>
    • <ExcludedRenderFormats>
      • <RenderingExtension>HTMLOWC</RenderingExtension>
      • <RenderingExtension>NULL</RenderingExtension>
    • </ExcludedRenderFormats>
    • <SendEmailToUserAlias>True</SendEmailToUserAlias>
    • <DefaultHostName></DefaultHostName>
    • <PermittedHosts></PermittedHosts>
  • </RSEmailDPConfiguration>

SMTPServer – ip adresa firemního poštovního serveru

SMTPServerPort – výchozí je 25, v případě nefungování zasílání reportů je potřeba ověřit tento port na SMTP zákazníka

SendUsing – nastavit vždy na hodnotu 2

From – napsat nějaký email jako odesílatel reportů

Může nastat problém se založením či editaci subscriptionu:

Pro založení subscriptionu

db masterxp_sqlagent_notify – nestačí RSExecRole, přidat práva na execute

db msdbsp_add_category – nestačí RSExecRole, přidat práva na execute

Pro změnu (editaci) subscriptionu

db masterxp_sqlagent_enum_jobs – nestačí RSExecRole, přidat práva na execute

db msdbsp_verify_job_identifiers – nestačí RSExecRole, přidat práva na execute

db msdbtabulka sysjobs – nestačí RSExecRole, přidat práva na execute