T
Techsatish
Hi,
while iam generating a crystal report which makes a webservice call for
the data from a
OLAP MDX queries creates a Message "Server was unable to process
request. --> The
underlying connection was closed: An unexpected error occurred on a
receive." Error.
i tried out creating a wrapper class for setting the webrequest
connection live settings
to false.
Class MyTestService
Inherits ReportsDataServices.ReportData
Protected Overrides Function GetWebRequest(ByVal uri As Uri) As
System.Net.WebRequest
Dim webRequest As System.Net.HttpWebRequest
webRequest = CType(MyBase.GetWebRequest(uri),
System.Net.HttpWebRequest)
'Setting KeepAlive to false
webRequest.KeepAlive = False
GetWebRequest = webRequest
End Function
End Class
and called them the new wrapper class.
Still the problem is not solved.Can somebody throw a idea on what went
wrong and how this
can be fixed?
note:
Here i run a start client making calls to a webservice for data and
binding to a crystal
report.data comes from a sql server anaylsis service mdx queries.
thanks
-satish
while iam generating a crystal report which makes a webservice call for
the data from a
OLAP MDX queries creates a Message "Server was unable to process
request. --> The
underlying connection was closed: An unexpected error occurred on a
receive." Error.
i tried out creating a wrapper class for setting the webrequest
connection live settings
to false.
Class MyTestService
Inherits ReportsDataServices.ReportData
Protected Overrides Function GetWebRequest(ByVal uri As Uri) As
System.Net.WebRequest
Dim webRequest As System.Net.HttpWebRequest
webRequest = CType(MyBase.GetWebRequest(uri),
System.Net.HttpWebRequest)
'Setting KeepAlive to false
webRequest.KeepAlive = False
GetWebRequest = webRequest
End Function
End Class
and called them the new wrapper class.
Still the problem is not solved.Can somebody throw a idea on what went
wrong and how this
can be fixed?
note:
Here i run a start client making calls to a webservice for data and
binding to a crystal
report.data comes from a sql server anaylsis service mdx queries.
thanks
-satish