?
Solved

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

Posted on 2008-06-16
3
Medium Priority
?
1,078 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 43

Accepted Solution

by:
Eugene Z earned 1200 total points
ID: 21796571
check SRS service account:
"possible reason - service account doesn't have rights to check domain user SIDs."
0
 

Author Comment

by:Putoch
ID: 21797132
Ok, where can i check this ? thanks/
0
 

Author Comment

by:Putoch
ID: 21804506
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

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
Microsoft Jet database engine errors can crop up out of nowhere to disrupt the working of the Exchange server. Decoding why a particular error occurs goes a long way in determining the right solution for it.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses

621 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