Showing posts with label folder. Show all posts
Showing posts with label folder. Show all posts

Wednesday, March 28, 2012

How to validate report server URL?

Hi,
My application is using reporting services reports. This application has
got some settings where service URL and report folder names are stored. My
requirement is to validate report server URL.
E.g. rptURL = http://REPORTBOX/REPORTSERVER.
where REPORTBOX is the machine name.
Here I want to validate whether rptURL is valid or not.
How do I do that from c# code?
thanks,
DeeeYou can just create an instance of the webservice object, authenticate by
setting the Credentials property, and call a method. Wrap everything in a
try/catch.
--
Adrian M.
MCP
"Deee" <Deee@.discussions.microsoft.com> wrote in message
news:691D0A2C-A3A8-4961-B5DB-4A903FD6FA14@.microsoft.com...
> Hi,
> My application is using reporting services reports. This application has
> got some settings where service URL and report folder names are stored.
> My
> requirement is to validate report server URL.
> E.g. rptURL = http://REPORTBOX/REPORTSERVER.
> where REPORTBOX is the machine name.
> Here I want to validate whether rptURL is valid or not.
> How do I do that from c# code?
> thanks,
> Deeesql

Sunday, February 19, 2012

How to use a script to break or continue a For Each loop task?

Okay, I have a For each loop container that has an enumeration of folder locations. I run a script to filter the files in those folders and prepare them to the next task to be copy. I want the script to "continue" the loop if none of the files meet the criteria. Can someone point me into the right direction? I need some way to advance through the loop when this happens.

Thanks!

Not quite understanding your requirement but I think conditional precedence constraints will help you here: http://www.sqlis.com/default.aspx?306

-Jamie