SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software
Development resources, articles, tutorials, code samples, tools and downloads for ASP.Net, SQL Server, Reporting Services, T-SQL, Windows, AWS, SAP HANA and ABAP

E-mail Subscription'ları için Konfigürasyon Ayarları


Reporting Services ile geliştirdiğiniz raporlarınızda e-mail subscription'ları oluşturabilir ve bunların belli bir takvime göre çalıştırılmasını sağlayabilirsiniz. Dilerseniz bu oluşturduğunuz subscription'lar ile raporlarınızın otomatik olarak ilgili yerlere e-mail yolu ile iletilmesini de sağlayabilirsiniz. E-mail ile ilgili olarak yapacaklarınızdan önce Report Server üzerinde bazı konfigürasyon ayarlarını gerçekleştirmek zorundasınız.

İlk önce report server üzerinde RSReportServer.config konfigürasyon dosyasının bulunduğu dizine gidin.
Eğer varsayılan ayarlar ile Reporting Services uygulamasını kurmuşsanız bahsedilen dizin aşağıdaki dizindir.
"c:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer"

RSReportServer.config dosyasını güncellemek üzere açın. 

Report Server Email isimli Extension tag'ını bulun. Ve aşağıdaki ayarlarla uyuşacak şekilde config dosyanızı güncelleyin.

<Extension Name="Report Server Email" Type="Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider,ReportingServicesEmailDeliveryProvider">
    <MaxRetries>3</MaxRetries>
    <SecondsBeforeRetry>900</SecondsBeforeRetry>
    <Configuration>
        <RSEmailDPConfiguration>
        <SMTPServer>SMTPServerAdı</SMTPServer>
        <SMTPServerPort>25</SMTPServerPort>
        <From>raporkullanıcısı@raporsunucusudomainadı.com</From>
Code

SMTPServerAdı değişkenini e-mail'lerinizin gönderilmesini istediğiniz mail sunucunun adını veya IP numarasını yazınız. Aynı şekilde raporsunucusudomainadı.com değişkenini rapor sunucunuzun email atarken kullanacağı kullanıcı profilinin mail hesabını giriniz.. SMTP için varsayılan port numarası 25'dir.

Bu değişiklikleri yaparak konfigürasyon dosyasını kaydettiğinizde subscription tanımlarınızı yaparken email de seçenekleriniz arasında gelecektir.

Configuration Settings for the Email Subscriptions

On the report server, go to the following folder for the configuration file "RSReportServer.config"

"c:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer"

Open RSReportServer.config file for editing. 

Find the extension section for the "Report Server Email"

<Extension Name="Report Server Email" Type="Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider,ReportingServicesEmailDeliveryProvider">
    <MaxRetries>3</MaxRetries>
    <SecondsBeforeRetry>900</SecondsBeforeRetry>
    <Configuration>
        <RSEmailDPConfiguration>
        <SMTPServer>SMTPServerName</SMTPServer>
        <SMTPServerPort>25</SMTPServerPort>
        <From>reportemailuser@reportserverdomain.com</From>
Code

Replace SMTPServerName with a mail server. And replace reportserver. reportemailuser@reportserverdomain.com with a correct user account. Default port number for smtp server is 25.

After the configuration file is saved, subscription can be delivered by email also.





Related Articles & Topics

How to Build Your First Report In MS SQL Server 2005 Reporting Services
A sever error occured on the current command. The results, if any, should be discarded.
How to Add Auto Number Records, Rows or Lines In SQL Server Reporting Services by Using RowNumber Function
How can I learn the version of a running Microsoft SQL Server Reporting Services?
Reporting Sevices Raporlarında RunningValue Fonksiyonunun kullanımı
VS.NET 2003 Kullanarak İlk MS SQL Server 2000 Reporting Services Raporunuzu Oluştumak
Shared Data Source Oluşturmak
Microsoft SQL Server 2000 Reporting Services Kurulumu
Reporting Services ReportViewer Component and rs:ClearSession=true
İlk Bakışta "MS SQL Server 2000 Reporting Services"


SQL Server

SQL Server 2019 Installation
download SQL Server 2019
download SQL Server 2017
download SQL Server 2016
download SQL Server 2014
download SQL Server 2012
MacOS ve SQL Server 2019


Copyright © 2004 - 2021 Eralper YILMAZ. All rights reserved.