Tuesday, March 20, 2012
Report subscriptions failing when VPN goes down
buildings goes down the RS subscription reports always fail. The firewall
that handles the VPN also handles sending data out over the net.
Now whenever the firewall fails any subscribed reports fail. The email
addresses being used are all in the company domain and none are external
addresses. As far as we understand it, the RS mail sends the mail to our mail
server, which then handles where to send it. Now if the firewall has failed,
this shouldnt have any effect on the subscribed reports as they are all being
sent to an internal address.
Would anyone have any ideas why this would happen?The real question is whether the report server is communicating to an SMTP
server on the local network or on the other side of the VPN. If it's the
other side of the VPN, then you have your answer.
Of course (and I can't imagine you've deployed this way) if your SMTP server
is on the firewall machine and that machine fails, you will not be able to
access it.
-Lukasz
This posting is provided "AS IS" with no warranties, and confers no rights.
"Shaun Longhurst" <ShaunLonghurst@.discussions.microsoft.com> wrote in
message news:D1025156-63F2-4DC8-A2A6-BF59D4B9B117@.microsoft.com...
> We have two sites and whenever the firewall that handles our VPN between
> buildings goes down the RS subscription reports always fail. The firewall
> that handles the VPN also handles sending data out over the net.
> Now whenever the firewall fails any subscribed reports fail. The email
> addresses being used are all in the company domain and none are external
> addresses. As far as we understand it, the RS mail sends the mail to our
> server, which then handles where to send it. Now if the firewall has
> failed,
> this shouldnt have any effect on the subscribed reports as they are all
> being
> sent to an internal address.
> Would anyone have any ideas why this would happen?|||No the report server is communicating with the smtp server on the local
network in the same building and is on a different machine to the mail
server.
"Lukasz Pawlowski [MSFT]" wrote:
> The real question is whether the report server is communicating to an SMTP
> server on the local network or on the other side of the VPN. If it's the
> other side of the VPN, then you have your answer.
> Of course (and I can't imagine you've deployed this way) if your SMTP server
> is on the firewall machine and that machine fails, you will not be able to
> access it.
> -Lukasz
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Shaun Longhurst" <ShaunLonghurst@.discussions.microsoft.com> wrote in
> message news:D1025156-63F2-4DC8-A2A6-BF59D4B9B117@.microsoft.com...
> > We have two sites and whenever the firewall that handles our VPN between
> > buildings goes down the RS subscription reports always fail. The firewall
> > that handles the VPN also handles sending data out over the net.
> >
> > Now whenever the firewall fails any subscribed reports fail. The email
> > addresses being used are all in the company domain and none are external
> > addresses. As far as we understand it, the RS mail sends the mail to our
> > server, which then handles where to send it. Now if the firewall has
> > failed,
> > this shouldnt have any effect on the subscribed reports as they are all
> > being
> > sent to an internal address.
> >
> > Would anyone have any ideas why this would happen?
>
>|||Is your SMTP server configured to synchronously send mail to it's
destination? If this is the case, it makes sense you'd get an error. Most
(I've never seen one that doesn't) mail servers accept the message and queue
it for delivery. When they later try to deliver, they don't return a
message to the client that called them only to the mailbox of the user
specified in the from address of the message.
What is the error in the Status column of the subscription list page?
-Lukasz
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Shaun Longhurst" <ShaunLonghurst@.discussions.microsoft.com> wrote in
message news:5BD0FC36-74EC-4549-ABD2-2EA513DF7736@.microsoft.com...
> No the report server is communicating with the smtp server on the local
> network in the same building and is on a different machine to the mail
> server.
> "Lukasz Pawlowski [MSFT]" wrote:
>> The real question is whether the report server is communicating to an
>> SMTP
>> server on the local network or on the other side of the VPN. If it's the
>> other side of the VPN, then you have your answer.
>> Of course (and I can't imagine you've deployed this way) if your SMTP
>> server
>> is on the firewall machine and that machine fails, you will not be able
>> to
>> access it.
>> -Lukasz
>>
>> --
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>> "Shaun Longhurst" <ShaunLonghurst@.discussions.microsoft.com> wrote in
>> message news:D1025156-63F2-4DC8-A2A6-BF59D4B9B117@.microsoft.com...
>> > We have two sites and whenever the firewall that handles our VPN
>> > between
>> > buildings goes down the RS subscription reports always fail. The
>> > firewall
>> > that handles the VPN also handles sending data out over the net.
>> >
>> > Now whenever the firewall fails any subscribed reports fail. The email
>> > addresses being used are all in the company domain and none are
>> > external
>> > addresses. As far as we understand it, the RS mail sends the mail to
>> > our
>> > server, which then handles where to send it. Now if the firewall has
>> > failed,
>> > this shouldnt have any effect on the subscribed reports as they are all
>> > being
>> > sent to an internal address.
>> >
>> > Would anyone have any ideas why this would happen?
>>|||Thanks. I will look into this. The error we get i think is this:-
"Failure sending mail: The Report Server has encountered a configuration
error; more details in the log files"
"Lukasz Pawlowski [MSFT]" wrote:
> Is your SMTP server configured to synchronously send mail to it's
> destination? If this is the case, it makes sense you'd get an error. Most
> (I've never seen one that doesn't) mail servers accept the message and queue
> it for delivery. When they later try to deliver, they don't return a
> message to the client that called them only to the mailbox of the user
> specified in the from address of the message.
> What is the error in the Status column of the subscription list page?
> -Lukasz
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Shaun Longhurst" <ShaunLonghurst@.discussions.microsoft.com> wrote in
> message news:5BD0FC36-74EC-4549-ABD2-2EA513DF7736@.microsoft.com...
> > No the report server is communicating with the smtp server on the local
> > network in the same building and is on a different machine to the mail
> > server.
> >
> > "Lukasz Pawlowski [MSFT]" wrote:
> >
> >> The real question is whether the report server is communicating to an
> >> SMTP
> >> server on the local network or on the other side of the VPN. If it's the
> >> other side of the VPN, then you have your answer.
> >>
> >> Of course (and I can't imagine you've deployed this way) if your SMTP
> >> server
> >> is on the firewall machine and that machine fails, you will not be able
> >> to
> >> access it.
> >>
> >> -Lukasz
> >>
> >>
> >> --
> >> This posting is provided "AS IS" with no warranties, and confers no
> >> rights.
> >>
> >>
> >>
> >> "Shaun Longhurst" <ShaunLonghurst@.discussions.microsoft.com> wrote in
> >> message news:D1025156-63F2-4DC8-A2A6-BF59D4B9B117@.microsoft.com...
> >> > We have two sites and whenever the firewall that handles our VPN
> >> > between
> >> > buildings goes down the RS subscription reports always fail. The
> >> > firewall
> >> > that handles the VPN also handles sending data out over the net.
> >> >
> >> > Now whenever the firewall fails any subscribed reports fail. The email
> >> > addresses being used are all in the company domain and none are
> >> > external
> >> > addresses. As far as we understand it, the RS mail sends the mail to
> >> > our
> >> > server, which then handles where to send it. Now if the firewall has
> >> > failed,
> >> > this shouldnt have any effect on the subscribed reports as they are all
> >> > being
> >> > sent to an internal address.
> >> >
> >> > Would anyone have any ideas why this would happen?
> >>
> >>
> >>
>
>|||Can you post the part of the rsreportserver.config file that configures the
e-mail delivery extension?
-Lukasz
This posting is provided "AS IS" with no warranties, and confers no rights.
"Shaun Longhurst" <ShaunLonghurst@.discussions.microsoft.com> wrote in
message news:87FAEE8E-74B5-4055-80CE-0928BBB07FBB@.microsoft.com...
> Thanks. I will look into this. The error we get i think is this:-
> "Failure sending mail: The Report Server has encountered a configuration
> error; more details in the log files"
>
>
> "Lukasz Pawlowski [MSFT]" wrote:
>> Is your SMTP server configured to synchronously send mail to it's
>> destination? If this is the case, it makes sense you'd get an error.
>> Most
>> (I've never seen one that doesn't) mail servers accept the message and
>> queue
>> it for delivery. When they later try to deliver, they don't return a
>> message to the client that called them only to the mailbox of the user
>> specified in the from address of the message.
>> What is the error in the Status column of the subscription list page?
>> -Lukasz
>> --
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>> "Shaun Longhurst" <ShaunLonghurst@.discussions.microsoft.com> wrote in
>> message news:5BD0FC36-74EC-4549-ABD2-2EA513DF7736@.microsoft.com...
>> > No the report server is communicating with the smtp server on the local
>> > network in the same building and is on a different machine to the mail
>> > server.
>> >
>> > "Lukasz Pawlowski [MSFT]" wrote:
>> >
>> >> The real question is whether the report server is communicating to an
>> >> SMTP
>> >> server on the local network or on the other side of the VPN. If it's
>> >> the
>> >> other side of the VPN, then you have your answer.
>> >>
>> >> Of course (and I can't imagine you've deployed this way) if your SMTP
>> >> server
>> >> is on the firewall machine and that machine fails, you will not be
>> >> able
>> >> to
>> >> access it.
>> >>
>> >> -Lukasz
>> >>
>> >>
>> >> --
>> >> This posting is provided "AS IS" with no warranties, and confers no
>> >> rights.
>> >>
>> >>
>> >>
>> >> "Shaun Longhurst" <ShaunLonghurst@.discussions.microsoft.com> wrote in
>> >> message news:D1025156-63F2-4DC8-A2A6-BF59D4B9B117@.microsoft.com...
>> >> > We have two sites and whenever the firewall that handles our VPN
>> >> > between
>> >> > buildings goes down the RS subscription reports always fail. The
>> >> > firewall
>> >> > that handles the VPN also handles sending data out over the net.
>> >> >
>> >> > Now whenever the firewall fails any subscribed reports fail. The
>> >> > addresses being used are all in the company domain and none are
>> >> > external
>> >> > addresses. As far as we understand it, the RS mail sends the mail to
>> >> > our
>> >> > server, which then handles where to send it. Now if the firewall has
>> >> > failed,
>> >> > this shouldnt have any effect on the subscribed reports as they are
>> >> > all
>> >> > being
>> >> > sent to an internal address.
>> >> >
>> >> > Would anyone have any ideas why this would happen?
>> >>
>> >>
>> >>
>>|||Sorry for the delay here is the text requested. Thanks
<Extension Name="Report Server Email"
Type="Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider,ReportingServicesEmailDeliveryProvider">
<MaxRetries>5</MaxRetries>
<SecondsBeforeRetry>3600</SecondsBeforeRetry>
<Configuration>
<RSEmailDPConfiguration>
<SMTPServer>Mailserver.domain.com</SMTPServer>
<SMTPServerPort></SMTPServerPort>
<SMTPAccountName></SMTPAccountName>
<SMTPConnectionTimeout></SMTPConnectionTimeout>
<SMTPServerPickupDirectory></SMTPServerPickupDirectory>
<SMTPUseSSL></SMTPUseSSL>
<SendUsing></SendUsing>
<SMTPAuthenticate></SMTPAuthenticate>
<From>reports@.domainaccount.co.uk</From>
<EmbeddedRenderFormats>
<RenderingExtension>MHTML</RenderingExtension>
</EmbeddedRenderFormats>
<PrivilegedUserRenderFormats></PrivilegedUserRenderFormats>
<ExcludedRenderFormats>
<RenderingExtension>HTMLOWC</RenderingExtension>
<RenderingExtension>NULL</RenderingExtension>
</ExcludedRenderFormats>
<SendEmailToUserAlias>True</SendEmailToUserAlias>
<DefaultHostName></DefaultHostName>
<PermittedHosts></PermittedHosts>
</RSEmailDPConfiguration>
</Configuration>
</Extension>
"Lukasz Pawlowski [MSFT]" wrote:
> Can you post the part of the rsreportserver.config file that configures the
> e-mail delivery extension?
> -Lukasz
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Shaun Longhurst" <ShaunLonghurst@.discussions.microsoft.com> wrote in
> message news:87FAEE8E-74B5-4055-80CE-0928BBB07FBB@.microsoft.com...
> > Thanks. I will look into this. The error we get i think is this:-
> >
> > "Failure sending mail: The Report Server has encountered a configuration
> > error; more details in the log files"
> >
> >
> >
> >
> > "Lukasz Pawlowski [MSFT]" wrote:
> >
> >> Is your SMTP server configured to synchronously send mail to it's
> >> destination? If this is the case, it makes sense you'd get an error.
> >> Most
> >> (I've never seen one that doesn't) mail servers accept the message and
> >> queue
> >> it for delivery. When they later try to deliver, they don't return a
> >> message to the client that called them only to the mailbox of the user
> >> specified in the from address of the message.
> >>
> >> What is the error in the Status column of the subscription list page?
> >>
> >> -Lukasz
> >> --
> >> This posting is provided "AS IS" with no warranties, and confers no
> >> rights.
> >>
> >>
> >>
> >> "Shaun Longhurst" <ShaunLonghurst@.discussions.microsoft.com> wrote in
> >> message news:5BD0FC36-74EC-4549-ABD2-2EA513DF7736@.microsoft.com...
> >> > No the report server is communicating with the smtp server on the local
> >> > network in the same building and is on a different machine to the mail
> >> > server.
> >> >
> >> > "Lukasz Pawlowski [MSFT]" wrote:
> >> >
> >> >> The real question is whether the report server is communicating to an
> >> >> SMTP
> >> >> server on the local network or on the other side of the VPN. If it's
> >> >> the
> >> >> other side of the VPN, then you have your answer.
> >> >>
> >> >> Of course (and I can't imagine you've deployed this way) if your SMTP
> >> >> server
> >> >> is on the firewall machine and that machine fails, you will not be
> >> >> able
> >> >> to
> >> >> access it.
> >> >>
> >> >> -Lukasz
> >> >>
> >> >>
> >> >> --
> >> >> This posting is provided "AS IS" with no warranties, and confers no
> >> >> rights.
> >> >>
> >> >>
> >> >>
> >> >> "Shaun Longhurst" <ShaunLonghurst@.discussions.microsoft.com> wrote in
> >> >> message news:D1025156-63F2-4DC8-A2A6-BF59D4B9B117@.microsoft.com...
> >> >> > We have two sites and whenever the firewall that handles our VPN
> >> >> > between
> >> >> > buildings goes down the RS subscription reports always fail. The
> >> >> > firewall
> >> >> > that handles the VPN also handles sending data out over the net.
> >> >> >
> >> >> > Now whenever the firewall fails any subscribed reports fail. The
> >> >> > addresses being used are all in the company domain and none are
> >> >> > external
> >> >> > addresses. As far as we understand it, the RS mail sends the mail to
> >> >> > our
> >> >> > server, which then handles where to send it. Now if the firewall has
> >> >> > failed,
> >> >> > this shouldnt have any effect on the subscribed reports as they are
> >> >> > all
> >> >> > being
> >> >> > sent to an internal address.
> >> >> >
> >> >> > Would anyone have any ideas why this would happen?
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>
Report Subscriptions <-> Scheduled Reports
This question is in regards to using the ReportingServices2005 WebService classes with C# .net 2.0. What I am having trouble with is how to relate a schedule to a subscription.
The piece of functionality that I am trying to duplicate is adding a report's subscription to a schedule (on the Subscription:{report_name} page's subscription processing options under the asp.net "Reports" app).
How can I programmatically set a report's subscription's "subscription processing options" to use one of my existing Schedules?
Some things I have tried:
- use ListSchedules to get a list of reports, use ListScheduledReport(scheduleId) to get a list of reports related to a schedule (this is great, it gets me the reports, but I can only add them via the asp.net Report app)
- use ListSubscriptions(Report.Path, null) to get a list of Subscriptions for a given report (this is great, too, but I do not see how to relate a subscription to a schedule).
The Reports app's database has a Schedule_Subscription_Report table, but I do not see any of the Web Services that can access it.
Please help!
Regards,
-Ben Waidhofer
Use CreateSubscription SOAP API and existing shared schedule.
If the schedule definition for a TimedSubscription is a shared schedule, you must pass the schedule ID of the shared schedule as the MatchData parameter. The schedule ID is passed as a String, for example, "4608ac1b-fc75-4149-9e15-5a8b5781b843". The schedule ID can be obtained by calling the ListSchedules method.
See http://msdn2.microsoft.com/en-us/library/microsoft.wssux.reportingserviceswebservice.rsmanagementservice2005.reportingservice2005.createsubscription.aspx
-Igor
|||Igor,
Much thanks, that does answer my question.
I read that if the schedule is ad-hoc, that is it is not a shared schedule that the MatchData parameter an xml-string representing a serialized ScheduleDefinition. Is that correct? If so, how does one serialize a ScheduleDefinition object to an xml-string?
Regards,
-Ben
|||Link from my previous reply contains a short version of XML for ScheduleDefinition. But generally you need to use XmlSerializer to convert ScheduleDefinition object into xml. This one looks like a good sample: http://www.odetocode.com/Articles/114.aspx
-Igor
Report subscriptions
Is there a way to either query the ReportServer database or view a report within Reporting Services to show all the subscriptions and their next run time? The "My Subscriptions" area only shows when a report was last run for subscriptions I created. Since we'll end up moving dozens of reports from Crystal to SSRS and multiple people will be creating schedules, it'd be handy to have a nice list displaying exactly what's scheduled and when they'll run next.
Any ideas are greatly appreciated.
Thanks
You would have to create an user interface to pull the data from the SQL Server Agent for this.HTH, Jens Suessmyer.
http://www.sqlserver2005.de|||
For subscriptions, you can also pull the data from the Subscriptions table in the ReportServer DB.
HTH, Jens Suessmeyer.
http://www.sqlserver2005.de
Report Subscriptions
yes you can do this but it need to develope some custome code to do so read this article to know how it contains how to email report in PDF formate so you just check in case no data
http://www.gotreportviewer.com/
|||Hello Tamer,
This link doesn't help me to get any solution, if you have any other solution please let me know.
Report subscriptions
Is there a way to either query the ReportServer database or view a report within Reporting Services to show all the subscriptions and their next run time? The "My Subscriptions" area only shows when a report was last run for subscriptions I created. Since we'll end up moving dozens of reports from Crystal to SSRS and multiple people will be creating schedules, it'd be handy to have a nice list displaying exactly what's scheduled and when they'll run next.
Any ideas are greatly appreciated.
Thanks
You would have to create an user interface to pull the data from the SQL Server Agent for this.HTH, Jens Suessmyer.
http://www.sqlserver2005.de
|||
For subscriptions, you can also pull the data from the Subscriptions table in the ReportServer DB.
HTH, Jens Suessmeyer.
http://www.sqlserver2005.de
Report Subscriptions
Hello,
I have a dril lthrough report which takes a long time (5-7 minutes) to fetch the results. The reason is that the data it returns is huge as it fetches sales data till the lowest level.
when the users later on trz to export it to excel it takes again a lot of time and eventuallz the szstem freezes. I think the volume of export might be in the range of 14/15 MB.
Is there a way to reduce first the execution speed of the report and then secondly reduce the time to export the report?
Or a way where the report is executed once a day and everyone shares the already published report?
regards
Josh
Hello Josh,
Yes, you can cache your report once a day and have everyone share it.
Open Report Manager (http://ServerName/Reports) and drill down to your report. Click on the Properties tab across the top, then click Data Sources from the left pane. Check the box for 'Credentials stored securely in the report server' and enter a valid user/password to run the report. If your account is a domain account, check the box for 'Use as Windows credentials when connecting to the data source', then hit Apply. Now, click on the Execution link from the left pane. Select 'Render this report from a report execution snapshot', configure your schedule to run once daily at whatever time you wish, then hit Apply.
By doing this, whenever a user goes to view this report, they will see the cached version of the report and they won't have to wait for the report to be generated.
Hope this helps.
Jarret
|||Hi Jarret,
Thanks!
regards
Josh
Report Subscription with Attachement
I have the following issue with all report subscriptions that I setup from
the Report manager that have attached the report files, regardless the format.
The e-mail is properly sent with a file of the proper name but of zero file
size.
It seems to work when I set the render format to Web Archive.( I saw this
tip from this newsgroup).
Any ideas on how to make the attachments work properly?
Thanks
MPIf you are using a Lotus email server this is a known issue and there is a
fix for it here:
http://support.microsoft.com/default.aspx?scid=kb;[LN];872774
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"Minas Papageorgiou" <MinasPapageorgiou@.discussions.microsoft.com> wrote in
message news:734CF1A0-9302-4B94-A80E-D4EF5427C9CA@.microsoft.com...
> Hi there.
> I have the following issue with all report subscriptions that I setup from
> the Report manager that have attached the report files, regardless the
format.
> The e-mail is properly sent with a file of the proper name but of zero
file
> size.
> It seems to work when I set the render format to Web Archive.( I saw this
> tip from this newsgroup).
> Any ideas on how to make the attachments work properly?
> Thanks
> MP
>
Friday, March 9, 2012
Report Server Subscriptions - Job Owner
I am trying to setup a subscription but I keep running into problems.
I setup the subscription fine, I see that it creates a job in SQL
Server. It shows a specific domain account as the owner and I can't
figure out why. The problem is that this account is in a different
domain and it's having problems authenticating when it runs. I did use
this account for the services and whatnot when I originally set it up,
but I've changed the account that SQL Server and SQL Server Agent run
under, but it still uses this account as the owner. The only other
thing I can think of is that the database owner of
SystemCenterReporting is still this account. Is this why it's listing
this account as the owner of the job? Where else could it be?
Thanks,
Bill"zinck74" <zinck74@.hotmail.com> wrote in message
news:1105995617.343495.223770@.f14g2000cwb.googlegr oups.com...
> Hi,
> I am trying to setup a subscription but I keep running into problems.
> I setup the subscription fine, I see that it creates a job in SQL
> Server. It shows a specific domain account as the owner and I can't
> figure out why. The problem is that this account is in a different
> domain and it's having problems authenticating when it runs. I did use
> this account for the services and whatnot when I originally set it up,
> but I've changed the account that SQL Server and SQL Server Agent run
> under, but it still uses this account as the owner. The only other
> thing I can think of is that the database owner of
> SystemCenterReporting is still this account. Is this why it's listing
> this account as the owner of the job? Where else could it be?
> Thanks,
> Bill
I have no idea about Reporting Services, but the SQL job owner is the SQL
login which creates the job. If RS is running under a certain domain account
to access MSSQL, then I guess that would be the account which owns the
subscription job.
The MS RS Deployment Guide is a bit vague - it seems to recommend a domain
account for the RS service, but doesn't say exactly what permissions it
needs:
http://www.microsoft.com/technet/pr...oy/rsdepgd.mspx
You might get a better response in microsoft.public.sqlserver.reportingsvcs.
Simon|||Thanks. The answer ended up being running the rsconfig.exe utility.
Didn't know this existed, but the account used with this is who the
owner is of the job.
Wednesday, March 7, 2012
Report Server refuse to send attachments
We recently encountered a problem with RS subscriptions: it suddenly stopped
sending attachmetns. Reports without attachments are sent without problems.
The RSReportServer.Config is defined properly (including the <SMTPServer>
and <From> properties.
This is part of the error file:
ReportingServicesService!library!3b2c!03/28/2005-12:01:20:: i INFO: Call to
RenderFirst( '/TNDReports/TicketCurrent' )
ReportingServicesService!library!3b2c!03/28/2005-12:01:20:: e ERROR:
Throwing
Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The Report Server has encountered a configuration error; more details in the
log files, AuthzInitializeContextFromSid: Win32 error: 1355;
Info:
Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The Report Server has encountered a configuration error; more details in the
log files
I noticed there is something with a HotFix (number KB834859) but I could not
get to it.
Server: Windows 2003 (Web server is seperated from database server)
RS Service Pack 1 installed.
SQL Server 2000 SP3a
Thanks in advance,
AvishayHi Avishay,
I believe the KB-article 834859 applies to the issue you are encountering.
As mentioined in the KB 834859, there is a known issue that
AuthzInitializeContextFromSid function passes a non-null-terminated string
to the DsGetDcName function. Apparently this issue potentially cause
problems when Windows report service tries to use this function. I've ever
seen some customers have resolved the similar issues by installing the
hotfix.
To obtain the hotfix, please contact Microsoft Product Support Services.
For a complete list of Microsoft Product Support Services phone numbers and
information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/default.aspx?scid=fh;[LN];CNTACTMS
Note In special cases, charges that are ordinarily incurred for support
calls may be canceled if a Microsoft Support Professional determines that a
specific update will resolve your problem. The usual support costs will
apply to additional support questions and issues that do not qualify for
the specific update in question.
If the issue persists, I suggest that you refer to the following article to
troubleshoot the issue:
842423 A call to the AuthzInitializeContextFromSid API function may fail
during
http://support.microsoft.com/?id=842423
If anything is unclear, feel free to let us know.
Sincerely,
William Wang
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
This posting is provided "AS IS" with no warranties, and confers no rights.
--
>Thread-Topic: Report Server refuse to send attachments
>thread-index: AcU55EU7XhajZL6GRdOem5RG403t2w==>X-WBNR-Posting-Host: 193.27.93.1
>From: =?Utf-8?B?QXZpc2hheSBCZW4tWnZp?= <Avishay@.community.nospam>
>Subject: Report Server refuse to send attachments
>Date: Tue, 5 Apr 2005 06:35:02 -0700
>Lines: 28
>Message-ID: <B9E0730C-23D5-411F-BFE9-B7846AF2DE57@.microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.sqlserver.reportingsvcs
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:40070
>X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
>Hi,
>We recently encountered a problem with RS subscriptions: it suddenly
stopped
>sending attachmetns. Reports without attachments are sent without problems.
>The RSReportServer.Config is defined properly (including the <SMTPServer>
>and <From> properties.
>This is part of the error file:
>ReportingServicesService!library!3b2c!03/28/2005-12:01:20:: i INFO: Call
to
>RenderFirst( '/TNDReports/TicketCurrent' )
>ReportingServicesService!library!3b2c!03/28/2005-12:01:20:: e ERROR:
>Throwing
Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorEx
ception:
>The Report Server has encountered a configuration error; more details in
the
>log files, AuthzInitializeContextFromSid: Win32 error: 1355;
> Info:
Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorEx
ception:
>The Report Server has encountered a configuration error; more details in
the
>log files
>I noticed there is something with a HotFix (number KB834859) but I could
not
>get to it.
>Server: Windows 2003 (Web server is seperated from database server)
>RS Service Pack 1 installed.
>SQL Server 2000 SP3a
>Thanks in advance,
>Avishay
>|||Hi,
We have exactly the same problem
First I switched the report server windows account to a domain user account
(as detailed in solution 2 below (found this while searching the net)
PROBLEM #1::
ReportingServicesService!libraÂry!878!04/19/2004-11:42:01:: e ERROR: Throwing
Microsoft.ReportingServices.DiÂagnostics.Utilities.ServerConfÂigurationErrorEx
ception: The Report Server has encountered a configuration error; more
details in the log files, AuthzInitializeContextFromSid: Win32 error: 1355;
Info:
Microsoft.ReportingServices.DiÂagnostics.Utilities.ServerConfÂigurationErrorEx
ception: The Report Server has encountered a configuration error; more
details in the log files
The key is the Win32 error 1355. This is a rights issue.
SOLUTION #1: The fix is to obtain from Microsoft hotfix #834859. This may
require opening a Support Call. Afte this was installed, that error went
away.
Still no reports being generated. Now we get a
different error when the email attachment is being processed for delivery.
PROBLEM #2:
ReportingServicesService!libraÂry!c10!02/25/2004-15:31:04:: e ERROR: Throwing
Microsoft.ReportingServices.DiÂagnostics.Utilities.ServerConfÂigurationErrorEx
ception: The Report Server has encountered a configuration error; more
details in the log files, AuthzInitializeContextFromSid: Win32 error: 5;
possible reason - service account doesn't have rights to check domain user
SIDs.; Info:
Microsoft.ReportingServices.DiÂagnostics.Utilities.ServerConfÂigurationErrorEx
ception: The Report Server has encountered a configuration error; more
details in the log files.
SOLUTION #2.
This second error was due to security issues. The Report Server NT Service
was running under the NT Authority\Network Service account. This account is
being seen by the domain controller when it makes the Authz call as an
anonymous user. So we need to change the account to a domain user account so
it will have sufficient privileges to make the Authz call this works since
their domain was a Windows 2000 domain and running in Mixed mode. To change
the Report Server NT Service account, we went through these steps.
1. Delete the references to the old key: rskeymgmt -r <installation id> (the
installation ID can be found in the rsreportserver.config file
2. Stop IIS and the Report Server windows service
3. Change the account service runs under
4. start IIS and the Report Server windows service
5. Reapply the encryption key: rskeymgmt -a -f <filename from step 1> -p
<password from step 1>
This didn't work so we installed Service Pack 1 for Windows2003 and it all
started working!
"William Wang[MSFT]" wrote:
> Hi Avishay,
> I believe the KB-article 834859 applies to the issue you are encountering.
> As mentioined in the KB 834859, there is a known issue that
> AuthzInitializeContextFromSid function passes a non-null-terminated string
> to the DsGetDcName function. Apparently this issue potentially cause
> problems when Windows report service tries to use this function. I've ever
> seen some customers have resolved the similar issues by installing the
> hotfix.
> To obtain the hotfix, please contact Microsoft Product Support Services.
> For a complete list of Microsoft Product Support Services phone numbers and
> information about support costs, visit the following Microsoft Web site:
> http://support.microsoft.com/default.aspx?scid=fh;[LN];CNTACTMS
> Note In special cases, charges that are ordinarily incurred for support
> calls may be canceled if a Microsoft Support Professional determines that a
> specific update will resolve your problem. The usual support costs will
> apply to additional support questions and issues that do not qualify for
> the specific update in question.
> If the issue persists, I suggest that you refer to the following article to
> troubleshoot the issue:
> 842423 A call to the AuthzInitializeContextFromSid API function may fail
> during
> http://support.microsoft.com/?id=842423
> If anything is unclear, feel free to let us know.
> Sincerely,
> William Wang
> Microsoft Online Partner Support
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> This posting is provided "AS IS" with no warranties, and confers no rights.
> --
> >Thread-Topic: Report Server refuse to send attachments
> >thread-index: AcU55EU7XhajZL6GRdOem5RG403t2w==> >X-WBNR-Posting-Host: 193.27.93.1
> >From: =?Utf-8?B?QXZpc2hheSBCZW4tWnZp?= <Avishay@.community.nospam>
> >Subject: Report Server refuse to send attachments
> >Date: Tue, 5 Apr 2005 06:35:02 -0700
> >Lines: 28
> >Message-ID: <B9E0730C-23D5-411F-BFE9-B7846AF2DE57@.microsoft.com>
> >MIME-Version: 1.0
> >Content-Type: text/plain;
> > charset="Utf-8"
> >Content-Transfer-Encoding: 7bit
> >X-Newsreader: Microsoft CDO for Windows 2000
> >Content-Class: urn:content-classes:message
> >Importance: normal
> >Priority: normal
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> >Newsgroups: microsoft.public.sqlserver.reportingsvcs
> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> >Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
> >Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:40070
> >X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
> >
> >Hi,
> >We recently encountered a problem with RS subscriptions: it suddenly
> stopped
> >sending attachmetns. Reports without attachments are sent without problems.
> >The RSReportServer.Config is defined properly (including the <SMTPServer>
> >and <From> properties.
> >This is part of the error file:
> >ReportingServicesService!library!3b2c!03/28/2005-12:01:20:: i INFO: Call
> to
> >RenderFirst( '/TNDReports/TicketCurrent' )
> >ReportingServicesService!library!3b2c!03/28/2005-12:01:20:: e ERROR:
> >Throwing
> Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorEx
> ception:
> >The Report Server has encountered a configuration error; more details in
> the
> >log files, AuthzInitializeContextFromSid: Win32 error: 1355;
> > Info:
> Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorEx
> ception:
> >The Report Server has encountered a configuration error; more details in
> the
> >log files
> >
> >I noticed there is something with a HotFix (number KB834859) but I could
> not
> >get to it.
> >Server: Windows 2003 (Web server is seperated from database server)
> >RS Service Pack 1 installed.
> >SQL Server 2000 SP3a
> >
> >Thanks in advance,
> >
> >Avishay
> >
> >
>
Saturday, February 25, 2012
Report Server - email
page..It says in the help you have to have email delivery setup ?
does that mean install Outlook ?Just open your reportserver config file (hope you know here it is) and just
search for SMTP and give the server name and username etc... you should get
that option as well.
Amarnath
"Charlie" wrote:
> How do I get the Report Server email option popping up in the subscriptions
> page..It says in the help you have to have email delivery setup ?
> does that mean install Outlook ?