reporting Service2010 CreateFolder
Hi, I am Using Reporting Service 2010 Class. I am developing a VB Script using Reporting Service 2010 Soap Endpoint. I created a folder on the report server using reporting Service2010.CreateFolder method. I just want to check that the new folder with specified name is already exists on the report server or not.
February 12th, 2011 12:59am

Hi, As you tried, a SOAP exception is thrown with the error code rsItemAlreadyExists if you attempt to create a folder which name already exists. In order to avoid this scenario, one possible workaround is to use the ListChildren method to get a list of children of the folder. And then, check if there exists a folder with the same name. For more information about ReportingService2010.ListChildren Method, please refer to: http://msdn.microsoft.com/en-us/library/reportservice2010.reportingservice2010.listchildren.aspx Thanks, Tony ChainTony Chain [MSFT] MSDN Community Support | Feedback to us Get or Request Code Sample from Microsoft Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Free Windows Admin Tool Kit Click here and download it now
February 18th, 2011 9:04pm

Hi, As you tried, a SOAP exception is thrown with the error code rsItemAlreadyExists if you attempt to create a folder which name already exists. In order to avoid this scenario, one possible workaround is to use the ListChildren method to get a list of children of the folder. And then, check if there exists a folder with the same name. For more information about ReportingService2010.ListChildren Method, please refer to: http://msdn.microsoft.com/en-us/library/reportservice2010.reportingservice2010.listchildren.aspx Thanks, Tony ChainTony Chain [MSFT] MSDN Community Support | Feedback to us Get or Request Code Sample from Microsoft Please remember to mark the replies as answers if they help and unmark them if they provide no help.
February 18th, 2011 9:04pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics