Solved

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

Posted on 2008-06-16
3
1,050 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sqlquerystress - To test db performance 8 42
How to share SSIS Package? 6 37
This query failed in sql 2014 5 31
SQL2016 to ORACLE11G linked-server 6 13
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
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…

773 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