Configurare Reporting services cu Exchange

Problema pe care vreau sa o rezolv este configurarea Reporting Services din SQL 2005 ca sa trimita email pe un Exchange Server,prin SMTP, in conditiile in care Exchnage-ul nu adminte decit conexiuni autentificate.

Presupunem ca exista user-ul autentificat numit (dupa mine) andrei.ignat pe domeniul domeniu.ro cu email andrei.ignat@domeniu.ro, iar numele server-ului este server.exchange.domeniu.ro

  1. Schimbati contul sub care ruleaza serviciile de Reporting si Sql Agent ca sa ruleze sub user andrei.ignat

     

  2. Porniti Reporting Services Configuration si la Email settings puneti la Sender adress andrei.ignat@domeniu.ro si la SMTP Server puneti numele serverului(server.exchange.domeniu.ro)

     

     

  3. Cautati fisierul rsreportserver.config si incepeti sa il modificati de mina in zonele de mai jos – cu italic este ceea ce am modificat

    <Configuration>

        <RSEmailDPConfiguration>

            <SMTPServer>server.exchange.domeniu.ro</SMTPServer>

            <SMTPServerPort>25</SMTPServerPort>

            <SMTPAccountName>andrei.ignat@domeniu.ro</SMTPAccountName>

            <SMTPConnectionTimeout></SMTPConnectionTimeout>

            <SMTPServerPickupDirectory></SMTPServerPickupDirectory>

            <SMTPUseSSL></SMTPUseSSL>

            <SendUsing>2</SendUsing>

            <SMTPAuthenticate>2</SMTPAuthenticate>

            <From>andrei.ignat@domeniu.ro</From>

            <EmbeddedRenderFormats>

                <RenderingExtension>MHTML</RenderingExtension>

            </EmbeddedRenderFormats>

            <PrivilegedUserRenderFormats></PrivilegedUserRenderFormats>

            <ExcludedRenderFormats>

                <RenderingExtension>HTMLOWC</RenderingExtension>

                <RenderingExtension>NULL</RenderingExtension>

                <RenderingExtension>RGDI</RenderingExtension>

            </ExcludedRenderFormats>

            <SendEmailToUserAlias>True</SendEmailToUserAlias>

            <DefaultHostName></DefaultHostName>

            <PermittedHosts></PermittedHosts>

        </RSEmailDPConfiguration>

    </Configuration>

     

  4. Asta a fost tot – faceti o subscriere prin email ca sa va convingeti. Succes!

Leave a Reply

Your email address will not be published. Required fields are marked *