If I call the ListChildren() in ReportingService2005, and the network is
connected, it works great.
If I call the ListChildren() in ReportingService2005, and the network is not
connected, I get a really ugly exception.
I'd like to find an API in ReportingService2005 to detect if reporting
services is running and accessible on the SQL server before calling
ListChildren from the client. Any suggestions on what to call before calling
ListChildren?
Thanks
--
RandyHi Randy,
Thank you for posting.
As for the ListChildren method, it is one of the webservice function of the
ReportingService2005 service class, and so far there is no built-in
methods for check the service connection status or availability.
#ReportingService2005 Methods
http://msdn2.microsoft.com/en-us/library/microsoft.wssux.reportingserviceswe
bservice.rsmanagementservice2005.reportingservice2005_methods(SQL.90).aspx
Actually, since webservice method call is tranferred over underlying
transport protocol(normally it is http), so this should be done by our own
application's code to check the protocol connection wellness. For example,
in our application which call the webservice methods, we can use exception
block (try...catch...) to capture any exception when perform webservice
call to the SSRS service, if any underlying exception occurs( like http 500
service unavailable error), we can get that the service is currently not
available.
Regards,
Steven Cheng
Microsoft Online Community 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.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment