Home > Archive > MS SQL Server Reporting Services > October 2005 > Web service render method error









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Web service render method error
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



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com