Why not use Reporting Services UI ?
There you can create the folder and then identify WHO can do WHAT with it.
On Wed, May 4, 2016 at 4:19 AM, Paul Newton Paul.Newton@pegasus.co.uk wrote:
Hi all
I am trying (initially) to create a new folder in SQL Server Reporting Services. This is what I have tried so far:
LOCAL loReportingService2010Soap AS "XML Web Service" LOCAL loWSHandler loWSHandler = NEWOBJECT("WSHandler",IIF(VERSION(2)=0,"",HOME()+"FFC")+"_ws3client.vcx") loReportingService2010Soap = loWSHandler.SetupClient("C:\Deploy\ReportService2010.wsdl", "ReportingService2010", "ReportingService2010Soap") loReportingService2010Soap.CreateFolder("Test","/",null)
I am getting the following error message
Error: 1429 - OLE IDispatch exception code 0 from Client:Client:Type conversion failure for element Properties HRESULT = 0x80020005: Type mismatch. - Client:Unspecified client error. HRESULT = 0x80020005: Type mismatch.
The syntax for calling CreateFolder is
Public Sub CreateFolder( _ ByVal Folder As String, _ ByVal Parent As String, _ ByVal Properties() As [Namespace].Property _ )
In VB or, in C#
public void CreateFolder( string Folder, string Parent, [Namespace].Property[] Properties )
But I cannot work out what to send as the Properties parameter from VFP. Any suggestions would be much appreciated
Paul Newton
[excessive quoting removed by server]