SSRS report mail subsription is failing.

Hi All,
I have one SSRS report which is deployed in my local report server. I need to activate email subscription for the same. I have given my outlook email address and SMTP server which is copied from outlook settings to Report configuration manager. Then I have
created a mail account and profile in sql server. I made the profile as public and default one. I have chosen basic authentication and provided my windows account and password for SMTP authentication. Port number is 25 which was given there as default.
SSL was not ticked. Then I have tried with the below sp.
EXEC msdb.dbo.sp_send_dbmail
@recipients='[email protected]'
 ,@subject='test'
,@body='test'
Everything worked fine. I have got the mail also. Then I tried to create a mail subscription for the deployed report on
my report server. I have scheduled it also. But I'm getting error message. Then searched in net and read somewhere that we are supposed to use windows authentication for SMTP. Then I changed the mail account to use windows authentication for SMTP. Even then
also I'm getting the same error given below.
Failure sending mail: The SMTP server requires a secure connection or the
client was not authenticated. The server response was: 5.7.1 Client was not
authenticatedMail will not be resent.
I have noticed another issue.
Because of the above error, I have chosen to use the secure connection (SSL) in the mail account. Also, SMTP authentication is Basic Authentication. I am not able to send email from database itself after checking the secure connection option. I
was able to send mail from database(by using the [proc dbo.sp_send_dbmail) when unchecking Secure connection option.  
I'm getting the below error when running this query
SELECT
*FROMmsdb.dbo.sysmail_event_logorderbylog_datedesc
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 6 (2015-04-22T17:45:22). Exception Message: Cannot send mails to mail server. (The remote certificate is invalid according to the validation procedure.).
Please suggest
Regards,
Julie

See if this helps
https://saravananarumugam.wordpress.com/2012/04/30/the-smtp-server-requires-a-secure-connection-or-the-client-was-not-authenticated-the-server-response-was-5-7-1-client-was-not-authenticated/
Also check SSRS config
https://msdn.microsoft.com/en-us/library/ms345234.aspx
If still it doesnt work see if you can turn on anonymous authentication in SMTP server
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page

Similar Messages

  • Problem with passing 2 or 3 members from filter to drillthrough report (SSRS report) in PPS

    Hi,
    I have one dashboard and one filter in PPS. Dashboard contains one main analytical chart report-- sales by Product category and the filter name is Year (contains the members values from 2005 to 2014).
    I have one more drillthrough report--- Detailed report for sales by product category (SSRS report)
    SSRS report having two parameters 1. year  (Multi selection) 2. Product category (single selection)
    Now, I have select 2006,2008 in the pps filter and analytical chart report rendered based on the filter values.
    next, on the analytical chart, I have selected on bar item (cars) out of 4 categories(Cars,Bikes,Trucks,Accessoreis) and right click -->drillthrough-->click on Detailed report for sales by product category.
    I have verified the ssrs detailed report and pps is passing only ALL member instead of passing 2006 and 2008 to the Year filter and Cars category members correctly passed to product category parameter from PPS.
    Note: If I have passed one member values (year=2006), pps is able to pass to ssrs report. But, it failed in two or more member values from filter.
    I have verified in sql profiler also. PPS passing ALL member to SSRS detailed report Year parameter.
    Please provide your suggestions. 
    Thanks,
    kishore

    sorry for the late updation.
    My First Report, Summary level is a Pivot Table.
    I tried the same report with Table option, the value is passing correctly.
    Is there a way to get rid of this situation using Pivot table.
    Thanks for your help.
    below is the original request.
    Hi,
    I am Hemanth, I have developed 2 reports. Firast Report High Level Summary, Secong is detailed. First report is developed using Union(4 union) , I am having 4 columns. The report is generating the data. I have used Navigation option on Client Column to move on to Second report. In Second report with in Filter i am using Prompted option. Due to some problem, the client value from first report is not passing to the second one. The second report is getting generated for all the clients.
    Normally i have used this Navigate option in other reports and that works fine. I have even tested with Union, it works. This time it is giving some trouble.
    Please, let me know whats going wrong.
    Thanks for the help.

  • SSRS: Failure sending mail: The transport failed to connect to the server.

    I run SSRS and email reports using SMTP service on a Windows Server 2008 R2 box. This has been working for months and stopped today around noon.
    I have checked all SMTP settings and verified they are correct. I can send an email from SQL Server Management Studio, using SMTP service with no trouble.
    Now in SSRS I am getting this message:
    Failure sending mail: The transport failed to connect to the server.
    I have read every link when I google this message or type it into bing.com; yet cannot find a reason why SSRS has suddenly stopped emailing my reports.
    I have restarted the server in question, I have changed account names, I have changed passwords, yet nothing is working.
    I even approached our senior dba about it and he has never seen this happen.
    Has anyone else experienced this issue?
    Thank you,
    Jessica

    Thank you JJordheim.
    IDS is not an issue. Neither is the Windows Firewall on the server. I actually turned it off while troubleshooting to make sure it was not causing the issue.
    SSRS and my SMTP Virtual service are on the same server. I am running the SMTP service through IIS. I even created a new SMTP Service to test with. No luck.
    My rsreportserver.config file looks fine, or at least it does to me. Posted below:
    <Configuration>
     <Dsn>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAoroltqyZFk6Vi+2kNEmsQAQAAAAiAAAAUgBlAHAAbwBy
    AHQAaQBuAGcAIABTAGUAcgB2AGUAcgAAABBmAAAAAQAAIAAAALMXYz8ommSjoJt2CZCuZmzmS+bo
    5d4pT033TPn7WZoiAAAAAA6AAAAAAgAAIAAAAEmwCgTd0Xo4ssE0WGSo7KC3+nsOZd2sR/PT6hUQ
    5SR44AAAAL4ReAnyjUBENbH63/qM8orgHrcG3s/MyNdjuBnfKhwlqauRfxwcNgjd7PtXLvS8gnBq
    kTji38EuQHBOJ63rklEclaejzkcA45rAbzLqWBi7oftw1SwHahZQvp+zxFdKVuAGnhEjiKvcrgzl
    ebfWNTjY/pjyJ9bwvF7vReIXrRXecPTjbE6wOiYFggY6pVCXvJCRvoUNMiLJC3PCIi58LOqVjPUO
    juyIZUrNqTPZlhswNU0M+mM7W6YRqPtF+xXx1FBSe0PShD+29IgBOYBRFFfDbW93tbnw5nj5/xpk
    I2GlQAAAAJoNASVS7KABbUZke+huE5HzjaXk1o7Sq9REu4Svlry1INKqJfo+dbGDWUAKEwbClVoO
    RNs8QwPFYNIXyq6vDD0=</Dsn>
     <ConnectionType>Default</ConnectionType>
     <LogonUser></LogonUser>
     <LogonDomain></LogonDomain>
     <LogonCred></LogonCred>
     <InstanceId>MSRS10_50.MSSQLSERVER</InstanceId>
     <InstallationID>{e93dd46f-7646-44e2-9997-acc3cb001828}</InstallationID>
     <Add Key="SecureConnectionLevel" Value="0"/>
     <Add Key="CleanupCycleMinutes" Value="10"/>
     <Add Key="MaxActiveReqForOneUser" Value="20"/>
     <Add Key="DatabaseQueryTimeout" Value="120"/>
     <Add Key="RunningRequestsScavengerCycle" Value="60"/>
     <Add Key="RunningRequestsDbCycle" Value="60"/>
     <Add Key="RunningRequestsAge" Value="30"/>
     <Add Key="MaxScheduleWait" Value="5"/>
     <Add Key="DisplayErrorLink" Value="true"/>
     <Add Key="WebServiceUseFileShareStorage" Value="false"/>
     <!--  <Add Key="ProcessTimeout" Value="150" /> -->
     <!--  <Add Key="ProcessTimeoutGcExtension" Value="30" /> -->
     <!--  <Add Key="WatsonFlags" Value="0x0430" /> full dump-->
     <!--  <Add Key="WatsonFlags" Value="0x0428" /> minidump -->
     <!--  <Add Key="WatsonFlags" Value="0x0002" /> no dump-->
     <Add Key="WatsonFlags" Value="0x0428"/>
     <Add Key="WatsonDumpOnExceptions" Value="Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException,Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException"/>
     <Add Key="WatsonDumpExcludeIfContainsExceptions" Value="System.Threading.ThreadAbortException,System.Web.UI.ViewStateException,System.OutOfMemoryException,System.Web.HttpException,System.IO.IOException,System.IO.FileLoadException,Microsoft.SharePoint.SPException"/>
     <URLReservations>
      <Application>
       <Name>ReportServerWebService</Name>
       <VirtualDirectory>ReportServer</VirtualDirectory>
       <URLs>
        <URL>
         <UrlString>http://+:80</UrlString>
         <AccountSid>S-1-5-19</AccountSid>
         <AccountName>NT Authority\LocalService</AccountName>
        </URL>
       </URLs>
      </Application>
      <Application>
       <Name>ReportManager</Name>
       <VirtualDirectory>Reports</VirtualDirectory>
       <URLs>
        <URL>
         <UrlString>http://+:80</UrlString>
         <AccountSid>S-1-5-19</AccountSid>
         <AccountName>NT Authority\LocalService</AccountName>
        </URL>
       </URLs>
      </Application>
     </URLReservations>
     <Authentication>
      <AuthenticationTypes>
       <RSWindowsNegotiate/>
       <RSWindowsNTLM/>
      </AuthenticationTypes>
      <RSWindowsExtendedProtectionLevel>Off</RSWindowsExtendedProtectionLevel>
      <RSWindowsExtendedProtectionScenario>Proxy</RSWindowsExtendedProtectionScenario>
      <EnableAuthPersistence>true</EnableAuthPersistence>
     </Authentication>
     <Service>
      <IsSchedulingService>True</IsSchedulingService>
      <IsNotificationService>True</IsNotificationService>
      <IsEventService>True</IsEventService>
      <PollingInterval>10</PollingInterval>
      <WindowsServiceUseFileShareStorage>False</WindowsServiceUseFileShareStorage>
      <MemorySafetyMargin>80</MemorySafetyMargin>
      <MemoryThreshold>90</MemoryThreshold>
      <RecycleTime>720</RecycleTime>
      <MaxAppDomainUnloadTime>30</MaxAppDomainUnloadTime>
      <MaxQueueThreads>0</MaxQueueThreads>
      <UrlRoot>http://abraham/Reports</UrlRoot>
      <UnattendedExecutionAccount>
       <UserName></UserName>
       <Password></Password>
       <Domain></Domain>
      </UnattendedExecutionAccount>
      <PolicyLevel>rssrvpolicy.config</PolicyLevel>
      <IsWebServiceEnabled>True</IsWebServiceEnabled>
      <IsReportManagerEnabled>True</IsReportManagerEnabled>
      <FileShareStorageLocation>
       <Path>
       </Path>
      </FileShareStorageLocation>
     </Service>
     <UI>
      <ReportServerUrl>
      </ReportServerUrl>
      <PageCountMode>Estimate</PageCountMode>
     </UI>
     <Extensions>
      <Delivery>
       <Extension Name="Report Server FileShare" Type="Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider,ReportingServicesFileShareDeliveryProvider">
        <MaxRetries>3</MaxRetries>
        <SecondsBeforeRetry>900</SecondsBeforeRetry>
        <Configuration>
         <FileShareConfiguration>
          <ExcludedRenderFormats>
           <RenderingExtension>HTMLOWC</RenderingExtension>
           <RenderingExtension>NULL</RenderingExtension>
           <RenderingExtension>RGDI</RenderingExtension>
          </ExcludedRenderFormats>
         </FileShareConfiguration>
        </Configuration>
       </Extension>
       <Extension Name="Report Server Email" Type="Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider,ReportingServicesEmailDeliveryProvider">
        <MaxRetries>3</MaxRetries>
        <SecondsBeforeRetry>900</SecondsBeforeRetry>
        <Configuration>
         <RSEmailDPConfiguration>
          <SMTPServer>192.168.11.210</SMTPServer>
          <SMTPServerPort></SMTPServerPort>
          <SMTPAccountName>
          </SMTPAccountName>
          <SMTPConnectionTimeout>
          </SMTPConnectionTimeout>
          <SMTPServerPickupDirectory>
          </SMTPServerPickupDirectory>
          <SMTPUseSSL>
          </SMTPUseSSL>
          <SendUsing>2</SendUsing>
          <SMTPAuthenticate>
          </SMTPAuthenticate>
          <From>[email protected]</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>
       </Extension>
       <Extension Name="Report Server DocumentLibrary" Type="Microsoft.ReportingServices.SharePoint.SharePointDeliveryExtension.DocumentLibraryProvider,ReportingServicesSharePointDeliveryExtension">
        <MaxRetries>3</MaxRetries>
        <SecondsBeforeRetry>900</SecondsBeforeRetry>
        <Configuration>
         <DocumentLibraryConfiguration>
          <ExcludedRenderFormats>
           <RenderingExtension>HTMLOWC</RenderingExtension>
           <RenderingExtension>NULL</RenderingExtension>
           <RenderingExtension>RGDI</RenderingExtension>
          </ExcludedRenderFormats>
         </DocumentLibraryConfiguration>
        </Configuration>
       </Extension>
       <Extension Name="NULL" Type="Microsoft.ReportingServices.NullDeliveryProvider.NullProvider,ReportingServicesNullDeliveryProvider"/>
      </Delivery>
      <DeliveryUI>
       <Extension Name="Report Server Email" Type="Microsoft.ReportingServices.EmailDeliveryProvider.EmailDeliveryProviderControl,ReportingServicesEmailDeliveryProvider">
        <DefaultDeliveryExtension>True</DefaultDeliveryExtension>
        <Configuration>
         <RSEmailDPConfiguration>
          <DefaultRenderingExtension>MHTML</DefaultRenderingExtension>
         </RSEmailDPConfiguration>
        </Configuration>
       </Extension>
       <Extension Name="Report Server FileShare" Type="Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareUIControl,ReportingServicesFileShareDeliveryProvider"/>
      </DeliveryUI>
      <Render>
       <Extension Name="XML" Type="Microsoft.ReportingServices.Rendering.DataRenderer.XmlDataReport,Microsoft.ReportingServices.DataRendering"/>
       <Extension Name="NULL" Type="Microsoft.ReportingServices.Rendering.NullRenderer.NullReport,Microsoft.ReportingServices.NullRendering" Visible="false"/>
       <Extension Name="CSV" Type="Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering"/>
       <Extension Name="ATOM" Type="Microsoft.ReportingServices.Rendering.DataRenderer.AtomDataReport,Microsoft.ReportingServices.DataRendering" Visible="false"/>
       <Extension Name="PDF" Type="Microsoft.ReportingServices.Rendering.ImageRenderer.PDFRenderer,Microsoft.ReportingServices.ImageRendering"/>
       <Extension Name="RGDI" Type="Microsoft.ReportingServices.Rendering.ImageRenderer.RGDIRenderer,Microsoft.ReportingServices.ImageRendering" Visible="false"/>
       <Extension Name="HTML4.0" Type="Microsoft.ReportingServices.Rendering.HtmlRenderer.Html40RenderingExtension,Microsoft.ReportingServices.HtmlRendering" Visible="false"/>
       <Extension Name="MHTML" Type="Microsoft.ReportingServices.Rendering.HtmlRenderer.MHtmlRenderingExtension,Microsoft.ReportingServices.HtmlRendering"/>
       <Extension Name="EXCEL" Type="Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer,Microsoft.ReportingServices.ExcelRendering"/>
       <Extension Name="RPL" Type="Microsoft.ReportingServices.Rendering.RPLRendering.RPLRenderer,Microsoft.ReportingServices.RPLRendering" Visible="false" LogAllExecutionRequests="false"/>
       <Extension Name="IMAGE" Type="Microsoft.ReportingServices.Rendering.ImageRenderer.ImageRenderer,Microsoft.ReportingServices.ImageRendering"/>
       <Extension Name="WORD" Type="Microsoft.ReportingServices.Rendering.WordRenderer.WordDocumentRenderer,Microsoft.ReportingServices.WordRendering"/>
      </Render>
      <Data>
       <Extension Name="SQL" Type="Microsoft.ReportingServices.DataExtensions.SqlConnectionWrapper,Microsoft.ReportingServices.DataExtensions"/>
       <Extension Name="SQLAZURE" Type="Microsoft.ReportingServices.DataExtensions.SqlAzureConnectionWrapper,Microsoft.ReportingServices.DataExtensions"/>
       <Extension Name="SQLPDW" Type="Microsoft.ReportingServices.DataExtensions.SqlDwConnectionWrapper,Microsoft.ReportingServices.DataExtensions"/>
       <Extension Name="OLEDB" Type="Microsoft.ReportingServices.DataExtensions.OleDbConnectionWrapper,Microsoft.ReportingServices.DataExtensions"/>
       <Extension Name="OLEDB-MD" Type="Microsoft.ReportingServices.DataExtensions.AdoMdConnection,Microsoft.ReportingServices.DataExtensions"/>
       <Extension Name="ORACLE" Type="Microsoft.ReportingServices.DataExtensions.OracleClientConnectionWrapper,Microsoft.ReportingServices.DataExtensions"/>
       <Extension Name="ODBC" Type="Microsoft.ReportingServices.DataExtensions.OdbcConnectionWrapper,Microsoft.ReportingServices.DataExtensions"/>
       <Extension Name="XML" Type="Microsoft.ReportingServices.DataExtensions.XmlDPConnection,Microsoft.ReportingServices.DataExtensions"/>
       <Extension Name="SHAREPOINTLIST" Type="Microsoft.ReportingServices.DataExtensions.SharePointList.SPListConnection,Microsoft.ReportingServices.DataExtensions"/>
       <Extension Name="SAPBW" Type="Microsoft.ReportingServices.DataExtensions.SapBw.SapBwConnection,Microsoft.ReportingServices.DataExtensions.SapBw"/>
       <Extension Name="ESSBASE" Type="Microsoft.ReportingServices.DataExtensions.Essbase.EssbaseConnection,Microsoft.ReportingServices.DataExtensions.Essbase"/>
       <Extension Name="TERADATA" Type="Microsoft.ReportingServices.DataExtensions.TeradataConnectionWrapper,Microsoft.ReportingServices.DataExtensions"/>
      </Data>
      <SemanticQuery>
       <Extension Name="SQL" Type="Microsoft.ReportingServices.SemanticQueryEngine.Sql.MSSQL.MSSqlSQCommand,Microsoft.ReportingServices.SemanticQueryEngine">
        <Configuration>
         <EnableMathOpCasting>False</EnableMathOpCasting>
        </Configuration>
       </Extension>
       <Extension Name="SQLAZURE" Type="Microsoft.ReportingServices.SemanticQueryEngine.Sql.MSSQL.MSSqlSQCommand,Microsoft.ReportingServices.SemanticQueryEngine">
        <Configuration>
         <EnableMathOpCasting>False</EnableMathOpCasting>
        </Configuration>
       </Extension>
       <Extension Name="SQLPDW" Type="Microsoft.ReportingServices.SemanticQueryEngine.Sql.MSSQLADW.MSSqlAdwSQCommand,Microsoft.ReportingServices.SemanticQueryEngine">
        <Configuration>
         <EnableMathOpCasting>False</EnableMathOpCasting>
        </Configuration>
       </Extension>
       <Extension Name="ORACLE" Type="Microsoft.ReportingServices.SemanticQueryEngine.Sql.Oracle.OraSqlSQCommand,Microsoft.ReportingServices.SemanticQueryEngine">
        <Configuration>
         <EnableMathOpCasting>True</EnableMathOpCasting>
         <DisableNO_MERGEInLeftOuters>False</DisableNO_MERGEInLeftOuters>
         <EnableUnistr>False</EnableUnistr>
         <DisableTSTruncation>False</DisableTSTruncation>
        </Configuration>
       </Extension>
       <Extension Name="TERADATA" Type="Microsoft.ReportingServices.SemanticQueryEngine.Sql.Teradata.TdSqlSQCommand,Microsoft.ReportingServices.SemanticQueryEngine">
        <Configuration>
         <EnableMathOpCasting>True</EnableMathOpCasting>
         <ReplaceFunctionName>oREPLACE</ReplaceFunctionName>
        </Configuration>
       </Extension>
       <Extension Name="OLEDB-MD" Type="Microsoft.AnalysisServices.Modeling.QueryExecution.ASSemanticQueryCommand,Microsoft.AnalysisServices.Modeling"/>
      </SemanticQuery>
      <ModelGeneration>
       <Extension Name="SQL" Type="Microsoft.ReportingServices.SemanticQueryEngine.Sql.MSSQL.MsSqlModelGenerator,Microsoft.ReportingServices.SemanticQueryEngine"/>
       <Extension Name="SQLAZURE" Type="Microsoft.ReportingServices.SemanticQueryEngine.Sql.MSSQL.MsSqlModelGenerator,Microsoft.ReportingServices.SemanticQueryEngine"/>
       <Extension Name="ORACLE" Type="Microsoft.ReportingServices.SemanticQueryEngine.Sql.Oracle.OraSqlModelGenerator,Microsoft.ReportingServices.SemanticQueryEngine"/>
       <Extension Name="TERADATA" Type="Microsoft.ReportingServices.SemanticQueryEngine.Sql.Teradata.TdSqlModelGenerator,Microsoft.ReportingServices.SemanticQueryEngine"/>
       <Extension Name="OLEDB-MD" Type="Microsoft.AnalysisServices.Modeling.Generation.ModelGeneratorExtention,Microsoft.AnalysisServices.Modeling"/>
      </ModelGeneration>
      <Security>
       <Extension Name="Windows" Type="Microsoft.ReportingServices.Authorization.WindowsAuthorization, Microsoft.ReportingServices.Authorization"/>
      </Security>
      <Authentication>
       <Extension Name="Windows" Type="Microsoft.ReportingServices.Authentication.WindowsAuthentication, Microsoft.ReportingServices.Authorization"/>
      </Authentication>
      <EventProcessing>
       <Extension Name="SnapShot Extension" Type="Microsoft.ReportingServices.Library.HistorySnapShotCreatedHandler,ReportingServicesLibrary">
        <Event>
         <Type>ReportHistorySnapshotCreated</Type>
        </Event>
       </Extension>
       <Extension Name="Timed Subscription Extension" Type="Microsoft.ReportingServices.Library.TimedSubscriptionHandler,ReportingServicesLibrary">
        <Event>
         <Type>TimedSubscription</Type>
        </Event>
       </Extension>
       <Extension Name="Cache Refresh Plan Extension" Type="Microsoft.ReportingServices.Library.CacheRefreshPlanHandler,ReportingServicesLibrary">
        <Event>
         <Type>RefreshCache</Type>
        </Event>
       </Extension>
       <Extension Name="Cache Update Extension" Type="Microsoft.ReportingServices.Library.ReportExecutionSnapshotUpdateEventHandler,ReportingServicesLibrary">
        <Event>
         <Type>SnapshotUpdated</Type>
        </Event>
       </Extension>
      </EventProcessing>
     </Extensions>
     <MapTileServerConfiguration>
      <MaxConnections>2</MaxConnections>
      <Timeout>10</Timeout>
      <AppID>(Default)</AppID>
      <CacheLevel>Default</CacheLevel>
     </MapTileServerConfiguration>
    </Configuration>

  • SSRS report throwing error :- system.web.aspnethostingpermission failed

    Hi,
    I am facing an issue with SSRS report after implementing HTTPHandler in its web.config file of Report manager.
    My reports were working fine. I deployed a dll in report manager BIN folder and added below tag in the web.config
    <add verb="*" path="*.aspx" type="ISHandler.SyncHandler, ISHandler" />
    ISHandler is the assembly/namespace and SyncHandler is the class name.
    I am getting error when I try to access the report
    error :- system.web.aspnethostingpermission failed.
    Currently web.config contains below settings.
    <securityPolicy>
          <trustLevel name="RosettaMgr" policyFile="rsmgrpolicy.config" />
        </securityPolicy>
      <trust level="RosettaMgr" originUrl="" />
    Can you please help where the security permission is missing ?
    sanmay

    I am unable to see that. Please check.
    sanmay

  • Send an alert to notify ssrs report rendering is failed

    Hi Friends,
    I have one small requirement.
    When ever the report fails in rendering time or report is not working(due to some data issues), I have to
    send an alert to notify people this report is rendering failed or report is throwing some error.
    How can I do that, please help me on this..

    Hi Priya,
    SSRS unfortunately doesn't give much automatic altering when reports fail (for whatever reason).  There is however a good logging table you can use.  I use the below query to monitor failed subscription, however you easily modify it to find any
    failures:
    SELECT
    c.Name AS [ReportName],
    sb.[Description] AS [SubscriptionDescription],
    sb.DeliveryExtension AS [DeliveryType],
    sb.LastStatus AS [LastRunStatus],
    sb.LastRunTime AS [LastRunTime],
    c.Path AS [ReportPath],
    'http://YourSSRSServer/Reports/Pages/Report.aspx?ItemPath='+REPLACE(REPLACE(C.[Path],'/','%2f'),' ','+')+'&SelectedTabId=PropertiesTab&ViewMode=List&SelectedSubTabId=SubscriptionsTab' AS [SubscriptionLink],
    sc.ScheduleID AS [SQLAgentJobName],
    sb.SubscriptionID
    FROM
    ReportServer.dbo.ReportSchedule AS RS
    INNER JOIN ReportServer.dbo.Schedule sc ON rs.ScheduleID = sc.ScheduleID
    INNER JOIN ReportServer.dbo.Subscriptions sb ON rs.SubscriptionID = sb.SubscriptionID
    INNER JOIN ReportServer.dbo.[Catalog] c ON rs.ReportID = c.ItemID AND sb.Report_OID = c.ItemID
    WHERE
    (sb.LastStatus LIKE 'Failure%' OR sb.LastStatus LIKE 'Error%' OR sb.LastStatus LIKE '%not valid%')
    Once I find failures I send an email and enter them into a table (so I can monitor over time with another SSRS report).
    Thanks,
    UnoT

  • How to find an SSRS report subscription was executed 3 days back and sent an Email to the requested person or group?

    Hi All,
    I got complain that one of my reports which was subscribed from SSRS Report Manager could not delivered to targeted people 3 days back. 
    I want to to check that Email was sent or not So I wrote below query but I think table  will be over written on each execution of subscription and cannot see the history. I can see only the latest data.
    SELECT A.NAME,B.Description,B.LastStatus,B.LastRunTime 
    FROM [dbo].[Catalog] A
    INNER JOIN [dbo].[Subscriptions] B ON A.ItemID=B.Report_OID
    WHERE TYPE=2 
    AND NAME='REPORT_NAME'
    AND B.LastStatus LIKE '%EMAIL ID%'
    AND B.LastRunTime>Getdate()-1
    ORDER BY B.LastRunTime
    There is another query which says that report was rendered by SUBSCRIPTION and have no track that Email was sent or not.
    --Query to find out how a report was execute 
    SELECT * FROM EXECUTIONLOG3 
    WHERE REQUESTTYPE='SUBSCRIPTION'
    AND ITEMPATH LIKE '%REPORT NAME'
    ORDER BY TIMESTART DESC
    There is any way to track this?
    https://msdn.microsoft.com/en-us/library/ms159110.aspx
    http://blogs.msdn.com/b/deanka/archive/2009/01/13/diagnosing-and-troubleshooting-subscriptions.aspx
    Thanks Shiven:) If Answer is Helpful, Please Vote

    Hi S Kumar Dubey,
    According to your description, you want to find the failed subscription report and resent the report to users again.
    In this scenario, you can run the query below to find the failed subscription.
    use ReportServer
    go
    SELECT C.Name, S.LastRunTime, S.LastStatus, S.Description
    FROM Subscriptions AS S
    LEFT OUTER JOIN [Catalog] AS C
    ON C.ItemID = S.Report_OID
    WHERE LEFT (S.LastStatus, 12) != 'Mail sent to'
    AND LEFT (S.LastStatus, 12) != 'New Subscrip'
    Then you can execute the code with jobstep command below to find the corresponding SQL Agent Jobs for failed subscription, then execute the job to send the email again.
    select 'exec sp_start_job @job_name = ''' + cast(j.name as varchar(40)) + ''''
    from msdb.dbo.sysjobs j
    join msdb.dbo.sysjobsteps js on js.job_id = j.job_id
    join [ReportServer].[dbo].[Subscriptions] s on js.command like '%' + cast(s.subscriptionid as varchar(40)) + '%'
    where s.LastStatus like 'Failure sending mail%';
    Reference:
    SSRS Failed Subscription Notifications
    Re-running SSRS subscription jobs that have failed
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Failure sending mail: The transport failed to connect to the server.

    Hi I have created Emailsubscription first time in my production server ,am facing this issue ,subscription were not created ,its shows me the follwing error.We did everything fine.
    HI I have Configured Configuration settings properly ,
    I have did the sMTP settings correctly,
    I have facing this error since a long while.
    Failure sending mail: The transport failed to connect to the server.
    In my log file  i have found these are the errors and warnings.
    1.library!DefaultDomain!3738!04/23/2015-12:28:38:: i INFO: Initializing DisplayErrorLink to 'True'  as specified in Configuration file.
    2.library!DefaultDomain!3738!04/23/2015-12:28:38:: w WARN: Initializing UrlRoot to default value of ''  because it was incorrectly specified in Configuration file as ''.
    3.notification!WindowsService_2!2898!04/23/2015-12:39:29:: e ERROR: Error occured processing subscription 3efe998d-0c40-460e-bc13-00f6c8d0a7f8: Failure sending mail: The transport failed to connect to the server.
    4.emailextension!WindowsService_2!2898!04/23/2015-12:39:29:: e ERROR: Error sending email. System.Runtime.InteropServices.COMException (0x80040213): The transport failed to connect to the server.
    5. library!ReportServer_0-4!2368!04/23/2015-12:52:30:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: , Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException:
    This operation is not supported on a report server that runs in native mode.;
    6.extensionfactory!ReportManager_0-3!1224!04/23/2015-12:52:31:: w WARN: The extension Report Server Email does not have a LocalizedNameAttribute.
    7.library!ReportServer_0-2!331c!04/23/2015-12:25:41:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: , Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException:
    This operation is not supported on a report server that runs in native mode.;
    please go through this errors and give me the right soluction to this..
    Awaitng for your reply's

    Hi Ychinnari,
    According to your description, the subscription is failed to send an email with error “Failure sending mail: The transport failed to connect to the server.”.
    In your scenario, though you have mentioned you have configured the SMTP and E-mail delivery correctly, please also check those settings according to official documents below to avoid small mistakes:
    How to: Configure a Report Server for E-mail Delivery (Reporting Services Configuration)
    How to Use Telnet to Test SMTP Communication
    Also please check if you have specified the correct E-mail Settings in Report Server Configuration Manager refer to this article:
    E-mail Settings - Configuration Manager (SSRS Native Mode).
    Finally, please check if you have installed an antivirus on the SSRS server. And check if any firewall role blocks the connection between report server and SMTP.
    Reference:
    Failure sending mail: The transport failed to connect to the server
    SCOM: Report Subscription “Failure sending mail: The transport failed to connect to the server”
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • SSRS Reports taking long time to load

    Hello,
    Problem : SSRS Reports taking long time to load
    My System environment : Visual Studio 2008 SP1  and SQL Server 2008 R2
    Production Environment : Visual Studio 2008 SP1  and SQL Server 2008 R2
    I have created a Parameterized report (6 parameters), it will fetch data from 1 table. table has 1 year and 6 months data,      I am selecting parameters for only 1 month (about 2500 records). It is taking almost 2 minutes and 30 seconds
    to load the report.
    This report running efficiently in my system (report load takes only 5 to 6 seconds) but in
    production it is taking 2 minutes 30 seconds.
    I have checked the Execution log from production so I found the timing for
    Data retrieval (approx~)       Processing (approx~)               Rendering (approx~)
    10 second                                      15 sec                        
                2 mins and 5 sec.
    But Confusing point is that , if I run the same report at different time overall output time is same (approx) 2 min 30 sec but
    Data retrieval (approx~)       Processing (approx~)                Rendering (approx~)
    more than 1 min                            15 sec                                     
    more than 1 min
    so 1 question why timings are different ?
    My doubts are
    1) If query(procedure to retrieve the data) is the problem then it should take more time always,
    2) If Report structure is problem then rendering will also take same time (long time)
    for this (2nd point) I checked on blog that Rendering depends on environment structure e.g. Network bandwidth, RAM, CPU Usage , Number of users accessing same report at a time.
    So I did testing of report when no other user working on any report But failed (same result  output is 2 min 30 sec)
    From network team I got the result is that there is no issue or overload in CPU usage or RAM also No issue in Network bandwidth.
    Production Database Server and Report server are different (but in same network).
    I checked that database server the SQL Server is using almost Full RAM (23 GB out of 24 GB)
    I tried to allocate the memory to less amount up to 2GB (Trial solution I got from Blogs) but this on also failed.
    one hint I got from colleague that , change the allocated memory setting from static memory to dynamic to SQL Server
    (I guess above point is the same) I could not find that option Static and Dynamic memory setting.
    I did below steps
    Connected to SQL Server Instance
    Right click on Instance go to properties, Go to Memory Tab
    I found three options 1) Server Memory   2) Other memory   3) Section for "Configured values and Running values"
    Then I tried to reduce Maximum  Server memory up to 2 GB (As mentioned above)
    All trials failed, this issue I could not find the roots for this issue.
    Can anyone please help (it's bit urgent).

    Hi UdayKGR,
    According to your description, your report takes too long to load on your production environment. Right?
    In this scenario, since the report runs quickly in developing environment, we initially think it supposed to be the issue on data retrieval. However, based on the information in execution log, it takes longest time on rendering part. So we suggest you optimize
    the report itself to reduce the time for rendering. Please refer to the link below:
    My report takes too long to render
    Here is another article about overall performance optimization for Reporting Services:
    Reporting Services Performance and Optimization
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Generate SSRS Report and save as PDF in SharePoint

    Hi,
    I am working on a SharePoint 2010 Visual WebPart that lets a user click a button to generata a SSRS report and save the report in a SharePoint Library as a PDF file.  Code is mentioned below:
    try
    string siteContext = SPContext.Current.Web.Url;
    string strReport = siteContext + "/Reports/Quote/Quote.rdl";
    WR_SSRS.ReportExecutionService rs = new WR_SSRS.ReportExecutionService();
    rs.Url = siteContext + "/_vti_bin/ReportServer/ReportExecution2005.asmx";
    rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
    byte[] result;
    string format = "PDF";
    string historyID = null;
    string devInfo = "<DeviceInfo><Toolbar>False</Toolbar></DeviceInfo>";
    WR_SSRS.ParameterValue[] parameters = new WR_SSRS.ParameterValue[3];
    parameters[0] = new WR_SSRS.ParameterValue();
    parameters[0].Name = "EnqID";
    parameters[0].Value = enqID.ToString();
    parameters[1] = new WR_SSRS.ParameterValue();
    parameters[1].Name = "QuotationID";
    parameters[1].Value = quoteID;
    WR_SSRS.DataSourceCredentials[] credentials = null;
    string showHideToggle;
    string encoding;
    string mimeType;
    WR_SSRS.Warning[] warnings;
    WR_SSRS.ParameterValue[] reportHistoryParameters;
    string[] streamIDs;
    WR_SSRS.ExecutionInfo execInfo = new WR_SSRS.ExecutionInfo();
    WR_SSRS.ExecutionHeader execHeader = new WR_SSRS.ExecutionHeader();
    string SessionId = null;
    string extension;
    rs.ExecutionHeaderValue = execHeader;
    execInfo = rs.LoadReport(strReport, historyID);
    rs.SetExecutionParameters(parameters, "en-gb");
    SessionId = rs.ExecutionHeaderValue.ExecutionID;
    result = rs.Render(format, devInfo, out extension, out mimeType, out encoding, out warnings, out streamIDs);
    execInfo = rs.GetExecutionInfo();
    using (SPSite site = new SPSite(SPContext.Current.Site.ID))
    using (SPWeb web = site.OpenWeb())
    web.AllowUnsafeUpdates = true;
    SPFolder folder = web.Folders[siteContext + "/Quotes"];
    string filename = string.Concat(quoteID, ".pdf");
    //remove old copies
    SPList lib = web.Lists["Quotes"];
    foreach (SPListItem i in lib.GetItems())
    if (i.Name == filename)
    i.Delete();
    break;
    SPFile file = folder.Files.Add(filename, result);
    SPListItem item = file.Item;
    item["EnquiryID"] = enqID.ToString();
    item["FinalQuote"] = "No";
    item.Update();
    web.AllowUnsafeUpdates = false;
    catch (Exception ex)
    LogError(ex.Message);
    The WebPart works fine in my local server and even on another development testing server.  However, once deployed to the live server that has claims authentication it stops working and throws an error that says:
    "Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. 
    The request failed with the error message: 
    <RSError xmlns="http://www.microsoft.com/sql/reportingservices"><MoreInformation><Message>An unknown error occurred with the Reporting Services endpoint on this SharePoint site. Contact the SharePoint site administrator for help.</Message></MoreInformation></RSError> 
    If I open the report manually in SharePoint Site, it works fines it even works fine when try to view in a WebPart. 
    Can someone help me with this ?
    Regards, Vikram

    Hi Vicky,
    Based on the error message, it is related to the service account for reporting service.
    If the Report Server service runs under a built-in account such as NetworkService, the Grant database access option in SharePoint Central Administration will not work correctly.
    Configure the service account to run under a domain user account as follows:
    1. Start the Reporting Services Configuration tool and connect to the report server.
    2. On the Service Account page, click Use another account, enter a domain user account, and click Apply.
    3. Click Web Service Identity, for Report Server, click New, type an application Restart the Report Server service.
    Here is a detailed MSDN article for your reference:
    http://msdn.microsoft.com/en-us/library/ms159704.aspx
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Render ssrs report as PDF in mscrm 2013 online plugin

    Dear all;
    i want to render an ssrs report as PDF for mscrm 2013 online an attach that with e-mail .i can see in the sdk that we can download the report defination file but is there anyway we can execute that rdl and then render it to pdf or anyother solution 
    Remeber i am talking about online version of mscrm
    please help

    Hello Devster,
    Thank you to post your question on TechNet forum.
    After reviewing the whole post, I have a question to you. You can access the report via the link, http://myServer/Reports_DEVPROJECT/Pages/Report.aspx?ItemPath=%2fData+Mgmt%2fSample+Letter.
    From the URL, I can see that the report is located at: /Data Mgmt/Sample Letter, instead of /DataMgmt/Sample Letter. In addition, I found that the target report is "/DataMgmt/Sample HAP Letter" instead of "/DataMgmt/Sample Letter" as the error described. I
    am not sure whether you post out the correct code segment.
    Please check the above things on your side, and hope it is helpful to you.
    Regards,
    Edward
    Edward Zhu
    TechNet Community Support

  • User Was Not Found when trying to run SSRS report!

    I'm trying to run SSRS report (Custom Reports) for Dynamics CRM 2011. However, when I try to run the report from the Reporting Manager it errors out "User Was Not Found"!
    Here's the complete error log:'
    An error has occurred during report processing. (rsProcessingAborted)
    Query execution failed for dataset 'DSMain'. (rsErrorExecutingCommand)
    Microsoft.Crm.CrmException: An unexpected error occurred. System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]:
    User Was Not Found <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts"> <ErrorCode>-2147220969</ErrorCode> <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
    <KeyValuePairOfstringanyType> <d2p1:key>CallStack</d2p1:key> <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string"> at Microsoft.Crm.ServerLocatorService.GetCrmUserId(Guid organizationId,
    String authenticationInfo) at Microsoft.Crm.Sandbox.SandboxHostSids.IsCallerAllowed(SandboxSdkContext requestContext, String&amp; expectedSidSddlForm, String&amp; callerSidSddlForm) at Microsoft.Crm.Sandbox.SandboxSdkListener.AuthenticateCaller(SandboxCallInfo
    callInfo, SandboxSdkContext requestContext, String operation) at Microsoft.Crm.Sandbox.SandboxSdkListener.Execute(SandboxCallInfo callInfo, SandboxSdkContext requestContext, String operation, Byte[] serializedRequest)</d2p1:value> </KeyValuePairOfstringanyType>
    </ErrorDetails> <Message>User Was Not Found</Message> <Timestamp>2014-05-09T21:37:02.5487525Z</Timestamp> <InnerFault i:nil="true" /> <TraceText i:nil="true" /> </OrganizationServiceFault>
    An unexpected error occurred.
    User Was Not Found

    Hello,
    Can you preview the report in Report Builder or Report Designer?
    Based on the error message, the issue may related to a invalid user account for the report data source credentials.Please verify the user account is valid and has sufficient permission to access CRM data source.
    You can refer to the following blog to troubleshooting CRM custom report rsProcessingAborted error:
    http://blog.simpletrees.com/2013/04/mscrm-and-dreaded-rsprocessingaborted.html
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Create SSRS report using DMV for querying SSAS cube.

    I am trying to create a SSRS Report to find the Cube/Dimension Status (when was Cube/Dimension last processed and is Failed/Success), for example I have below DMV query for the same.
    SELECT CUBE_NAME, LAST_DATA_UPDATE FROM $System.MDSCHEMA_CUBES
    When i execute the above query in MDX query window it comes up with results, when i try to create a data using the above query in report server its coming up with error.
    Error : Please verify that the query is an MDX one and not DMX. (Microsoft.AnalysisServices.Controls)
    Can we use DMV querys for createing SSRS report and what should be the datasource.
    Thank You.
    Praveen

    Hi Praveen,
    Glad to hear that the issue had been solved. Thank you for sharing the useful information.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • SSRS Report date parameter values using SSAS Cube as datasource

    Hey Guys, 
    i m building an SSRS report using SSAS cube as the data source. The report contains shared data-sets which provide the required data. below is the set up.
    Sql server version : Sql server 2008R2
    Report builder 3.0 
    I have, Report A, powered by Dataset D, running on Cube C. The dataset has 3 parameters out of which one of them is a date parameter- P1. I have it set up such that on the report there is  another parameter - P2 which contains the type as Date ( to
    ensure the user is exposed to a date picker), the input from this, P2 is then manipulated to required format before fed into the dataset parameter P1 (hidden). I have two questions regarding this parameter.
    Currently, when the user pick's a date (P2) which has no values, the report errors out as it doesn't find that corresponding member on the cube. Can it be made such that if the member doesn't exists, a simple error message like "date not found"
    pops up as opposed to report failing?
    Secondly, can i manipulate the date picker (P2) exposed to the user such that the unavailable dates are grey'ed out on the date parameter (P2)? 
    Please let me know if there is any more info required on each of the questions.
    Thanks
    Srikanth

    Hello Katherine,
    below are the errors which pop up with the 'Constrained' function in place and without. The MDX query is what follows.
    Without: 
    An Error has occurred during report processing. (rsProcessingAborted). The Execution Failed for the shared data set “Dataset1”.(rsDataSetExecutionError). Query Execution failed for dataset ‘DataSet1’. (rsErrorExecutingCommand). The dimension ‘[10 Sep 2014]’
    was not found in the cube when the string, [10 Sep 2014], was parsed.
    With Constrained flag:
    An Error has occurred during report processing. (rsProcessingAborted). The Execution Failed for the shared data set “Dataset1”.(rsDataSetExecutionError). Query Execution failed for dataset ‘DataSet1’. (rsErrorExecutingCommand). Query(1,1476) The restrictions
    imposed by the CONSTRAINED flag in the STRTOSET function were violated.
    SELECT
    NON EMPTY
    [Measures].[A]
    ,[Measures].[B]
    ,[Measures].[C]
    ,[Measures].[D]
    ,[Measures].[E]
    } ON COLUMNS
    ,NON EMPTY
    [DimA].[LevelA].[LevelA].ALLMEMBERS*
    [DimB].[LevelB].[LevelB].ALLMEMBERS*
    [Date].[Date].[Date].ALLMEMBERS
    DIMENSION PROPERTIES
    MEMBER_CAPTION
    ,MEMBER_UNIQUE_NAME
    ON ROWS
    FROM
    SELECT
    StrToSet (@FilterA ,CONSTRAINED) ON COLUMNS
    FROM
    SELECT
    StrToSet(@Date, CONSTRAINED) ON COLUMNS
    FROM [Cube1]
    WHERE
    [DimC].[Level1].&[Member1]
    ,[DimC].[Level2].&[Member1]
    ,[DimC].[Level3].&[Member1]
    ,[DimC].[Level4].&[Member1]
    Thanks
    Srikanth

  • Javascript Problem for Drill Down Action in SSRS Report when integrated to PPS 2010

    Hi all,
    I have a SSRS report which is integrated to PPS 2010(Performance Point Services) and it is having a drill down action through Go to URL action(I wrote javascript:void(window.open('xxxxx')) to open drill down report in new window).
    This report has 5 parameters and all are multiple valued. Drill down report is opening very well when I open the report form Report Manager for any number of parameters values selected. But when I integrate the same report is PPS and deployed to SharePoint
    then it is working only for 23 parameter values selected in PPS filters. If I select more the 23 values in PPS filters then the drilldown report is not opening.
    But it is working well in Chrome, I verified in IE and Mozilla, both browsers are having problem.
    When I look at Error Console of Mozilla, it is showing a javascript error as "Error: uncaught exception: ReferenceError: window is not defined" but the same report is working well if I select less than 24 filter values.
    Please provide me the solution
    Thanks in advance

    Hi Vasu,
    The issue might occur due to the Microsoft security update MS11-100 which limits the maximum number of form keys, files, and JSON members to 1000 in an HTTP request. Here, I suggest that you modify the Web.config file of the SharePoint site as follows:
    <appSettings>
    <add key="aspnet:MaxHttpCollectionKeys" value="10000" />
    </appSettings>
    If the SharePoint site uses the port 80, the web.config file of the SharePoint site is located in the C:\inetpub\wwwroot\wss\VirtualDirectories\80 folder.
    Reference:
    An ASP.NET request that has lots of form keys, files, or JSON payload members fails with an exception
    If the issue persist, please check whether there are any related errors in the Reporting Services log file which is located in <Drive>:\Program Files\Microsoft SQL Server\MSRSXX.<Instance Name>\Reporting Services\LogFiles.
    Regards,
    Mike Yin
    TechNet Community Support

  • Error publishing SSRS Report in Dynamics AX 2012 Enterprise Portal

    Good morning.
    I have a problem ad i'll appreciate so much your help. I made a SSRS Reporting project with Business Intelligence Development Studio (through the template "Business Intelligence --> Report Server Project). Once deployed to report server, the report
    successfully works. I Want to publish this report in Dynamics AX 2012 Enterprise Portal, through the web part "SQL Server Reporting
    à SQL Server Reporting Services Report Viewer", but when i select the .rdl file from the list, i receive the following error:
    An error occurred during local report processing.
    An error has occurred during report processing.
    Cannot create a connection to data source 'DataSource1'.
    An attempt has been made to use an unregistered data extension, 'OLEDB-MD'. To use this data extension, it must be registered in the Web.config file of this Web application.
    I've Checked the config file and the specified handler is correctly set. I read in a forum that the problem may be caused by the fact that the database of the report server is set as "Native" instead of "Sharepoint Integrated". Is it
    possible? just in case, there's the possibility to display a ssrs report in EP in "native mode"?
    Thank you so much in advance
    Simone

    Hi Katherine.
    Thank you so much for your reply. You understood perfectly what I mean. I followed the instructions in the document, but the installation of te .cab file won't work. I tried with the Sharepoint Management Shell and with STSADM.EXE, but in both cases i receive
    an error like this:
    PS C:\> Install-SPWebPartPack -LiteralPath "C:\Program Files (x86)\Microsoft SQL
     Server\110\Tools\Reporting Services\SharePoint\RSWebParts.cab" -GlobalInstall
    Confirm
    Are you sure you want to perform this action?
    Performing operation "Install-SPWebPartPack" on Target "C:\Program Files
    (x86)\Microsoft SQL Server\110\Tools\Reporting
    Services\SharePoint\RSWebParts.cab".
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help
    (default is "Y"):y
    Install-SPWebPartPack : Failed to extract the cab file in the solution.
    At line:1 char:1
    + Install-SPWebPartPack -LiteralPath "C:\Program Files (x86)\Microsoft SQL
    Server\ ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : InvalidData: (Microsoft.Share...tallWebPartPack:
       SPCmdletInstallWebPartPack) [Install-SPWebPartPack], SPException
        + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletInstallW
       ebPartPack
    PS C:\>
    I checked the directory and the .cab file is in the right position. Am I doing something wrong?
    Thanks a lot in advance.
    Simone

Maybe you are looking for

  • Multiple Exclusion Criteria[Exclusion Mask] in Sender File Adapter

    Hello All, I have a requirement to specify multiple exclusion criteria in the 'Exclusion Mask' property of a Sender File Adapter, i.e. I need to pick up files that correspond to 111*.txt from a specified source directory, but I would also want to exc

  • Error while creating the 'LOV' type parameter in Siebel 8.1.1.5

    Hi, One of my Customer is facing the below error while creatting the parameter of type 'LOV' in Parameter applet in Siebel 8.1.1.5 Runtime Error! Program: C:\Program Files\Internet Explorer\iexplorer.exe This application has requested the Runtime to

  • Can I Share Calendar without Exchange Account? in outlook 2013 (Professional Ed.)

    Hello, I would like to share my calendar with one of my office colleague, we are not using Microsoft Exchange Server, we are on Google business Apps Account. My Share Calendar option is Grayed out (Plz. refer to attached image). I will appreciate if

  • Order by rownumber

    Hi. I have this: select rownum,usergroup,username from users order by 2,3; The problem is that i have at the column rownum: 6 1 4 9 2 5 I want it to be sorted. How can i sort by 2,3 and then add rownum. I can't use sequences only sql. Thanks.

  • Batch script to test if Oracle instance is up on windows 2003

    I create the batch job from command line to test the oracle 10g, if the instance is up return oracle_sid is ready, this is running on windows 2003, test.bat ======================================= @echo off set ORACLE_SID=TESTDB echo sqlplus DBAUSER/