February 9, 2012  
   Login  
Forum  
 
ForumForumEnesys RS Data ...Enesys RS Data ...Support - RS Da...Support - RS Da...Error when trying to email a report via a SubscriptionError when trying to email a report via a Subscription
Previous Previous
 
Next Next
New Post
 8/24/2006 1:37 AM
 
I have a report working that uses the data extension, but Report Services generates the following error when it tries to send an email with the report in it.

Failure sending mail: An error has occurred during report processing.

My SMTP config seems to be OK because I can subscribe and receive emails from other reports that are based on SQL data sources.

Any suggestions?
Jeff Richardson
Promega Biosciences, Inc.
New Post
 8/25/2006 7:48 PM
 
Hi Jeff,
Just to let you know that I am investigating the problem.
This seems to be a problem related  to cached credentials.
Hopefully, I will come back with a solution soon as well as some clarification with the execution account.

As a side note, it's possible to get the reports working on the server without setting an execution account by unchecking "Use as Windows credentials when connecting to the data source". Our extension will automatically create network credentials from the user name and password entered. The user name must not have any domain information prefixed (eg: domain\user will not work - we'll release a fix for this).

Regards,

Frederic LATOUR
ENESYS
New Post
 8/28/2006 11:26 AM
 
Hi Jeff,
I have had a very productive week end and manage to solve the subscription problem as well as discover what could go wrong with integrated security.

To get the subscription to work properly you will have to modify the rssrvpolicy.config file and instead of using the $AppDirUrl$ keyword as stated in our documentation, you should use the absolute path to the Enesys RS Data Extension dll as in the following example :

              <!-- Enesys RS Data Extension - BEGIN -->
              <CodeGroup
                  class="UnionCodeGroup"
                  version="1"
                  PermissionSetName="FullTrust">
                <IMembershipCondition
                    class="UrlMembershipCondition"
                    version="1"
                    Url="C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer\bin\Enesys.ReportingServices.SpExtension2005.dll"
                            />
              </CodeGroup>
              <!-- Enesys RS Data Extension - END -->


The fact is that when the report is run through subscription, the $AppDirUrl$ syntax will not resolved to the correct path and the extension will not be given the necessary permissions.

Thanks you for pointing out this problem. We apologize for the inconvenience.

Regards,

PD: I will clarify the credentials matters in your other post...

Frederic LATOUR
ENESYS
New Post
 8/28/2006 8:58 PM
 
Hi,  Thanks for the reply.

Sadly I am still getting the same error with the suggested modifications to to the rssrvpolicy.config file.  I also did a iisrest just for good measure, but that did not help either.

Jeff.
New Post
 8/28/2006 9:32 PM
 
Hi Jeff,
There are some known problems with email subscription incorporating reports (not specific to Enesys RS Data Extension) that may happen in some situations.
Here is a newsgroup post on the subject : Service Account and Subcriptions
as well as a kb article : http://support.microsoft.com/default.aspx?scid=kb;en-us;331951
Could your problem be related to what is explained there?
Does the email subscription (incorporating a report) works for you with a SQL Report?
Also you can send me your last "ReportServerService_timestamp" logfile located
C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles
 so that I can have a look. The reason of the failure should be logged in it.
You can mail the file at support@enesys.fr. If you zip the file, please add a fake extension (eg: file.zip.aaa).
Regards,


Frederic LATOUR
ENESYS
New Post
 8/29/2006 3:07 AM
 
Just to let people know that Jeff has it working now.
After making the modification to the rssrvpolicy config file, it is necessary to stop and start again the report server using the Reporting services configuration interface as shown in the following image :

We would like to thanks Jeff for its time and effort on the subject.
Regards,


Frederic LATOUR
ENESYS
Previous Previous
 
Next Next
ForumForumEnesys RS Data ...Enesys RS Data ...Support - RS Da...Support - RS Da...Error when trying to email a report via a SubscriptionError when trying to email a report via a Subscription

 
You need to login for posting to the forums.
If you don't have a login, click here to register.
 
Copyright 2010 Enesys - All rights reserved Terms Of UsePrivacy Statement