Solved

SQL SERVER 2005 Error Sending Emails with attachments using Report Services Portal

Posted on 2008-06-16
3
1,041 Views
Last Modified: 2010-07-27
Hi,

Hi,
I have a problem when scheduling a report on my Reports Portal, when i try to get the email functionality to attach the report and send an emai.

I have no problem when i schedule the report to send the email and insert a link to the report however.

this is the error i recieve on the reports portal:
''Failure sending mail: The report server has encountered a configuration error. See the report server log files for more information.''

this is the error in my Logfiles:
16:45:04:: i INFO: Call to RenderFirst( '/Product Management/Marketing Emails' )
ReportingServicesService!library!e!06/16/2008-16:45:04:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information., AuthzInitializeContextFromSid: Win32 error: 5; possible reason - service account doesn't have rights to check domain user SIDs.;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information.
ReportingServicesService!library!e!06/16/2008-16:45:04:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
ReportingServicesService!emailextension!e!06/16/2008-16:45:04:: Error sending email. Microsoft.ReportingServices.Diagnostics.Utilities.RSException: The report server has encountered a configuration error. See the report server log files for more information. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information.
   at Microsoft.ReportingServices.Authorization.Native.GetAuthzContextForUser(IntPtr userSid)
   at Microsoft.ReportingServices.Authorization.Native.IsAdmin(String userName)
   at Microsoft.ReportingServices.Authorization.WindowsAuthorization.IsAdmin(String userName, IntPtr userToken)
   at Microsoft.ReportingServices.Authorization.WindowsAuthorization.CheckAccess(String userName, IntPtr userToken, Byte[] secDesc, ReportOperation requiredOperation)
   at Microsoft.ReportingServices.Libra''

I know its saying i don't have admin rights but i can't understand how this is as i am using my admin rights , can someone advise me with this please.

thanks,
0
Comment
Question by:Putoch
  • 2
3 Comments
 
LVL 42

Accepted Solution

by:
EugeneZ earned 300 total points
Comment Utility
check SRS service account:
"possible reason - service account doesn't have rights to check domain user SIDs."
0
 

Author Comment

by:Putoch
Comment Utility
Ok, where can i check this ? thanks/
0
 

Author Comment

by:Putoch
Comment Utility
Hi Ok, i fixed it!
The user name i was using to set up a subscription, did not have the rights.
I checked my SQL Server Configuration Manager and checked what the' Long on As ' for the Report Server was. I then checked the Reporting Services Configuration Manager> Windows Services Identity, and used the Windows Account logon, (the same log on as in the SQL Server Configuration Manager).

I then logged back into the Report manager using the Windows Account which i had chosen above. and then set up the subscription email, and this worked!!

Hope this will help others too!!
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now