| Anthony Wang 2005-10-27, 5:28 pm |
| Hi,
When I call rs.render method, I got a error said "The requested
functionality is currently not supported "
Here is my code:
Dim _rs As New ReportingService
Dim para() As String
Dim _path As String
Dim _format As String
Dim name() As String
_rs.Credentials = New System.Net.NetworkCredential("user",
"password", "domain")
para = Request.QueryString("param").Split(",")
name = Request.QueryString("name").Split(",")
_path = Request.QueryString("path")
_format = Request.QueryString("format")
Dim parameters(para.Length - 1) As ParameterValue
Dim paramValue As New ParameterValue
Dim n As Integer
For n = 0 To para.Length - 1
paramValue.Name = name(n)
paramValue.Value = para(n)
parameters(n) = paramValue
Next
Dim encoding As String
Dim mimeType As String
Dim parametersUsed() As ParameterValue
Dim warnings() As Warning
Dim streamIds() As String
Dim sh As New SessionHeader
_rs.SessionHeaderValue = sh
Dim report As Byte()
report = _rs.Render(_path, _format, Nothing, Nothing, parameters,
Nothing, Nothing, encoding, mimeType, parametersUsed, warnings, streamIds)
thank you
|