.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Subscriptions to the outside

Posted By:      Posted Date: September 17, 2010    Points: 0   Category :Sql Server
I've spent WAY too many hours on this now and any help is appreciated.   I'm running SSRS 2008 on a Win 2008 Server. Reports are running fine w/ stored credentials.   I'm running an Exchange 2010 Server on the same domain. Internal subscriptions are working just fine but if I try to enter in an outside email address I run into one of two scenarios. I come to one of these two scenarios messing with reportserver.config.   1) In the scenario where internal subscriptions work - if I enter in an outside email the status goes to "invalid recipient" and no mail gets sent period. 2) If I mess with reportserver.config, set things such as SMTPAuthenticate to 2, SendEmailToUserAlias to false, Defaulthostname to exchange ip and permitted hosts/hostname to internal and some external domains I would like to send to I get "Transport failed to connect to server". If you look at the event viewer on the exchange server - to coincide with the subscription times you see an error: The account 'NT AUTHORITY\ANONYMOUS LOGON' provided valid credentials, but is not authorized to use the server; failing authentication.   On the exchange side in EMC I do have a Relay connector under Hub Transport. Under network it is listening on all IPs (I have the DMZ subnet and the internal LAN subnet, both servers are on both nets, so I'm theoretically allowing every pa

View Complete Post

More Related Resource Links

Subscriptions cannot be created, Sharepoint Integrated mode

Error when I try to add subscription: "Subscription cannot be created because credentials used to run this report are not stored." I have SSRS 2005 and WSS 3.0 both installed on a Windows 2008 x64 Server.  SQL 2005 is the database, which his on a 2nd server (also Win 2008 x64). I'm able to publish reports to sharepoint.  I'm able to view them in sharepoint web parts, but only when I set the credentials for the datasource to "stored connections" and check both "Use as windows credentials" and for "Set execution context to account". Everything I read seems to say that I have to use Stored Credentials.  That's what I'm doing though.... necessary in order for me to view the reports within sharepoint.   Other environment things that may be important: The Report Server App Pool is using a domain account.  The same one I'm using to execute the report.  The WSS Content App Pool and the Sharepoint Central Admin App Pool are also using domain accounts.  However all 3 are using different accounts.  I see reference to Kerberos vs. NTLM authentication.  Up to this point I've not had to completely understand that.  So the only thing I do understand about that is that in my Sharepoint Central Admin --> Application Management, Auth Type: Windows; Anonymous is NOT checked, an

Subscriptions Help neeeded

I have a issue with subscriptions. We have about 100 reports subsribed by our internal & external customers. I have a DB "Prices" In that we have 4 Tables, Analysts,Users,SalesReps & Sub Sales rep the subscriptions are by anyone and everyone from these 4 tables.... we have a Project thats in Build in sql server 2008, which is a repository for all our 100 reports....basically what we are trying to do is based on Relationship,security level and user heiarchy they can access the reports... Any ideas will help ???????????  or Is that even possible with a Cube????FM

SSRS 2005 SP3 - Instr function with Global Variable fails in Subscriptions

Hi I have a very simple expression in a text box in my report:  INSTR(Globals!ReportServerUrl,"Report").  This expression should return the integer value of where the string "Report" appears in the Global variable for the ReportServerUrl.  Simple enough.  This works fine for generating the report directly through report manager, and in my case returns a value of 20. However when run as a subscription and emailed to myself the value returned is 0. This suggests that the search string does not appear in the Global variable. In the reportserver config file the URLroot tag contains the correct server address - http://myserver/reportserver. Does anyone know why i should be experiencing this issue with my subscriptions?  Your help would be much appreciated! Thanks Guy  Guy

Transactional publication with updatable subscriptions in SQL Server 2005, SvPk 2

Subscription to "Transactional Publication with Updateable Subscriptions" works only one way.  Changes take effect on subscriber, but the subcriber is unable to update data on publisher.   I have Sanpshot Agent process running under SQL Server Agent service account with login 'sa.'  All agents are running at the Distributor (Publishing Server.)   The subscriber is unable to connect to the Distributor using the SQL Server login.    Following is the error message I get:   Creating Subscription(s)... - Creating subscription for 'SQL3' (Warning) Messages Unable to set the Publisher login for the updatable subscription. You may have to set this up directly on the Subscriber machine using sp_link_publication. (New Subscription Wizard)------------------------------ADDITIONAL INFORMATION:An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)------------------------------MSDTC on server 'SQL3' is unavailable.Changed database context to 'DB_SQL1_to_SQL3_on_3'. (Microsoft SQL Server, Error: 8501)For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.3054&EvtSrc=MSSQLServer&EvtID=8501&LinkId=20476   Please suggest procedure to end this dilemma.  The link has no info available.

External Code Assemblies, Report Subscriptions, and configuration files

I've got a report that relies on a very small external assembly for data for one of its fields.  That assembly, in turn, relies on some values from System.Configuration for portions of its work. I have the configuration keys and values running fine in the web interface, set up in web.config, but when users set up subscriptions for the report it runs fine but doesn't retrieve the configuration values from web.config (as expected) nor does it retrieve them from rsreportserver.config, where I have tried them in the root of the config file as <add key=... /> entries and also by wrapping them inside an <appSettings /> node.  I have also tried them in an appropriately-name config file in the bin directory.  In all cases the report is fine except the field that relies on the external assembly, where I recieve an error indicating that there's missing information (the config vals are used in a String.Format() call): Value cannot be null. Parameter name: format at System.String.Format(IFormatProvider provider, String format, Object[] args) at ExternalDBFunctions.ExternalSelectors.GetNotificationStati(String NotificationID) mscorlib When I remove the config values from the web.config, the web interface shows exactly the same error. Where should these configuration values go?

Another merge agent for the subscription or subscriptions is running, or the server is working on a

Hi All, Using Merge Replication over the web (https). Server is running SQL Server 2008, client using SQL Server Express 2008. I am getting these error messages while trying to synchronize, and it won't let me sync: {call sp_MSensure_single_instance (N'{459D0BBA-53EC-4F65-AF52-E7DA478841DA}', 4)} Another merge agent for the subscription or subscriptions is running, or the server is working on a previous request by the same agent. Can you please advice what can be done to fix. Do I need to kill a process in SQL Server?

Subscriptions using Windows Integrated Security (Datasource)

Hi All, Having an issue with SSRS 2008 at the moment, trying to setup subscriptions.Our system is configured so that any one of 10 users can login to the SSRS website using their windows domain account, and then launch report builder to design and save reports.  This all works very well, however, they have a problem when trying to setup subscriptions - the famous "Subscriptions cannot be created because the credentials used to run the report are not stored....."What the message says is true - the credentials are not stored as they are supplied by the user when they login to report builder.Is the /any/ workaround at all that doesn't involve storing the credentials?  It seems totally crazy that they cannot be prompted for them when setting up the subscription.  For this application its 100% essential to make the user provide their credentials when running reports, because they each see a filtered subset of the data in the report model (this is controlled DB side depeding on the login account), so their domain account needs to be passed to SQL server to enable this filtering to work.  If we saved their credentials then they would see all the data..and thats nasty.The only workaround I can come up with would be to create  a separate datasource for each user and upload a separate model, but thats really nasty to be honest and creates an ad

Problem with subscriptions.

Hi,   My requirement is to send a report through email for which i tried making a subscription and schedule it. But somehow thats not working. When i want to see the 'last run' status of the subscription, i'm not able to view it. That tab remains blank and the status shows ' new subscription'. Not able to find out where the problem lies.   One more thing is i wanted to try out the same thing through data driven subscription but i'm not able to see the 'new data driven subscription' tab in tne subscriptions page of the report.   Please tell me how can i solve this problem.   Thanks, Deepti

Replication Subscriptions by using Backup and Restore

I thought this would work, but obviously I've overlooked something. I have SQL Server 2008 on 2 servers. Have database on publisher server and want to merge replicate to subscriber, but didn't want to take days like it did last time. 1. I published the database and ran the snapshot agent. 2. I backed up the database to a .bak file. 3. I copied the .bak file to the subscriber computer. 4. I restored the database on the subscriber computer from the .bak file. 5. Back at the publishing server, I added the subscriber under subscriptions, but I unchecked the "Initialize" box since that was the point of doing the backup, copy and restore. And. Oops. The replication monitor says it has a syntax error at "AccountPK." That would be the primary key for the account table. That wasn't what I hoped for. Suggestions? You can't be successful at this unless you're at least 1/2 a bubble off level.

Using Google SMTP server (smtp.gmail.com) when configuring subscriptions unders SSRS 2008

Hello All, I have read thru numerous posts and have reviewed several links with no luck.  I am trying to use gmail smtp servers (smtp.gmail.com) to configure SSRS 2008 to send email.  It's running on Server 2003 Standard SP2. No Exchange server, we use gmail. Error message I receive is "Failure sending mail: The report server has encountered a configuration error. Mail will not be resent." Here is a copy of my RS Email Config: <Configuration> <RSEmailDPConfiguration> <SMTPServer>smtp.gmail.com</SMTPServer> <SMTPServerPort></SMTPServerPort> <SMTPAccountName></SMTPAccountName> <SMTPConnectionTimeout> </SMTPConnectionTimeout> <SMTPServerPickupDirectory> </SMTPServerPickupDirectory> <SMTPUseSSL></SMTPUseSSL> <SendUsing>2</SendUsing> <SMTPAuthenticate></SMTPAuthenticate> <From>myemailaddress@gmail.com</From> <EmbeddedRenderFormats> <RenderingExtension>MHTML</RenderingExtension> </EmbeddedRenderFormats> <PrivilegedUserRenderFormats> </PrivilegedUserRenderFormats> <ExcludedRenderFormats> <RenderingExtension>HTMLOWC</RenderingExtension> <RenderingExtension>NULL</RenderingExtension> <RenderingExtension>RGDI</RenderingExtension> </ExcludedRenderFormats> <SendEmai

Using Google SMTP server (smtp.gmail.com) when configuring subscriptions unders SSRS 2008

Hello All, I have read thru numerous posts and have reviewed several links with no luck.  I am trying to use gmail smtp servers (smtp.gmail.com) to configure SSRS 2008 to send email.  It's running on Server 2003 Standard SP2. No Exchange server, we use gmail. Error message I receive is "Failure sending mail: The report server has encountered a configuration error. Mail will not be resent." Here is a copy of my RS Email Config: <Configuration> <RSEmailDPConfiguration> <SMTPServer>smtp.gmail.com</SMTPServer> <SMTPServerPort></SMTPServerPort> <SMTPAccountName></SMTPAccountName> <SMTPConnectionTimeout> </SMTPConnectionTimeout> <SMTPServerPickupDirectory> </SMTPServerPickupDirectory> <SMTPUseSSL></SMTPUseSSL> <SendUsing>2</SendUsing> <SMTPAuthenticate></SMTPAuthenticate> <From>myemailaddress@gmail.com</From> <EmbeddedRenderFormats> <RenderingExtension>MHTML</RenderingExtension> </EmbeddedRenderFormats> <PrivilegedUserRenderFormats> </PrivilegedUserRenderFormats> <ExcludedRenderFormats> <RenderingExtension>HTMLOWC</RenderingExtension> <RenderingExtension>NULL</RenderingExtension> <RenderingExtension>RGDI</RenderingExtension> </ExcludedRenderFormats> <SendEmai

Report subscriptions fail due to security extension exception

Hi,     We are using SSRS 2008 with Custom Security extension for all authentication and authorization.     When trying to use report subscription attaching actual reports (not a link to the report), we get the following error. Question:       1. Can we use report subsription (as attachment) with custom authentication?       2. Can we use external email addresses for email subscription? Actual Error: processing!WindowsService_10!1130!07/08/2010-11:35:11:: w WARN: Data source 'Historic_Agreement_Report_Model': Report processing has been aborted. processing!WindowsService_10!1130!07/08/2010-11:35:11:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing., ;  Info: Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error.    at Microsoft.ReportingServices.Library.Security.get_AuthorizationExtension()    at Microsoft.ReportingServices.Library.Security.get_CachedAuthorizationExtension()    at Microsoft.ReportingServices.Library.Security.CheckAccess(I

Forum Subscriptions emails are sent with a delay of 2 hours

Hello I have a couple of forum subscriptions like the ASP.NET MVC forum and I have noticed that when someone creates a new thread that it takes up to 2 hours before I receive the email notification. Can this setting be changed somewhere because I cannot find it in "Edit Profile". Thanks 

SSRS 2008 R2 Subscriptions Tab Missing From Report

We are running SQL Server 2008 R2 Standard This server has been upgraded from SQL Server 2008 Standard and previously from SQL 2005.  Since the upgrade we have noticed that the Subscriptions Tab is no longer available from within reports.  I can still subscribe to a report from the report manager page by selecting subscribe from the drop down.  Our report server fulfills the criteria for the tab to be available (We have a mail server configured,  Permissions on each report are correct and the credentials are stored in the datasource) and it was available before the upgrade.  Since our end users do not access the report manager page but link to each report directly we need this tab to be enabled.  Is there some other setting we need to change to enable this?

SSRS Schedule Subscriptions - SQL Server Agent Job Name


We are beginning to use SSRS a lot and have noticed that when it creates the SQL Server Agent job for a subscribed/scheduled report in Report Manager the name it generates is a "gibberish" GUID (.i.e. 437D4E5B-CB2A-421B-B84F-B54C9D8BD52A).

Looking at the SQl Server Agent job there doesn't appear to be any way in looking at that jobs properties that tells you which Scheduled Report it is running. 


Is there any way thru a script or otherwise to find this easily?


SSRS Subscriptions in Report Server



Plz help in Report Server Report Subscriptions- Email/windows file share.

I am getting error

"The current action cannot be completed because the user data source credentials that are required to execute this report are not stored in the report server database. (rsInvalidDataSourceCredentialSetting)" 

i tried to change credentials in report Datasource page but am getting Error on Page.

Kindly help me guys.

Thanks in Advance,



Regards, Gayathri devi P.S. : Please click the 'Mark as Answer' button if a post solves your problem! :)

Shared Datasource in Windows integrated mode - Not able to use subscriptions -> is there an other op


Hi all,


We have a SharePoint 2007 and SSRS 2008 in intergrated mode. For cell security we use Windows authentication, which works well. Now we would like to use the create subscriptions option but it doesn't work since we use Windows authentication.

Is there an option to use Windows authentication for the ad hoc requesting of a report and the stored credentials for a subscription?




ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend