R
RdS
Hello,
I use sourcesafe and vb 2003 for my dev environment. on the sourcesafe
server I also have sql2005 and reporting services installed. The web app
references this sql server for db. When I compile the app on my local
machine which is used for development I am able to lauch application with no
problem. When I run my web app on my local machine which uses my IIS 5
(WinXP Pro) the application runs fine. But if I connect to server where
code is actually stored and run from that machine I receive the following
error. The error is with the reportingservice.asmx proxy I have in my code.
what is the problem and how do I correct? thanks.
Client found response content type of '', but expected 'text/xml'.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Client found response
content type of '', but expected 'text/xml'.
Source Error:
Line 554: "",
RequestNamespace:="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices",
ResponseNamespace:="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices",
Use:=System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Line 555: Public Function Render(ByVal Report As String, ByVal Format
As String, ByVal HistoryID As String, ByVal DeviceInfo As String, ByVal
Parameters() As ParameterValue, ByVal Credentials() As
DataSourceCredentials, ByVal ShowHideToggle As String, ByRef Encoding As
String, ByRef MimeType As String, ByRef ParametersUsed() As ParameterValue,
ByRef Warnings() As Warning, ByRef StreamIds() As String) As
<System.Xml.Serialization.XmlElementAttribute("Result",
DataType:="base64Binary")> Byte()
Line 556: Dim results() As Object = Me.Invoke("Render", New
Object() {Report, Format, HistoryID, DeviceInfo, Parameters, Credentials,
ShowHideToggle})
Line 557: Encoding = CType(results(1), String)
Line 558: MimeType = CType(results(2), String)
Source File: C:\Inetpub\wwwroot\AIL_2003\Framework\ReportingService.vb
Line: 556
I use sourcesafe and vb 2003 for my dev environment. on the sourcesafe
server I also have sql2005 and reporting services installed. The web app
references this sql server for db. When I compile the app on my local
machine which is used for development I am able to lauch application with no
problem. When I run my web app on my local machine which uses my IIS 5
(WinXP Pro) the application runs fine. But if I connect to server where
code is actually stored and run from that machine I receive the following
error. The error is with the reportingservice.asmx proxy I have in my code.
what is the problem and how do I correct? thanks.
Client found response content type of '', but expected 'text/xml'.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Client found response
content type of '', but expected 'text/xml'.
Source Error:
Line 554: "",
RequestNamespace:="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices",
ResponseNamespace:="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices",
Use:=System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Line 555: Public Function Render(ByVal Report As String, ByVal Format
As String, ByVal HistoryID As String, ByVal DeviceInfo As String, ByVal
Parameters() As ParameterValue, ByVal Credentials() As
DataSourceCredentials, ByVal ShowHideToggle As String, ByRef Encoding As
String, ByRef MimeType As String, ByRef ParametersUsed() As ParameterValue,
ByRef Warnings() As Warning, ByRef StreamIds() As String) As
<System.Xml.Serialization.XmlElementAttribute("Result",
DataType:="base64Binary")> Byte()
Line 556: Dim results() As Object = Me.Invoke("Render", New
Object() {Report, Format, HistoryID, DeviceInfo, Parameters, Credentials,
ShowHideToggle})
Line 557: Encoding = CType(results(1), String)
Line 558: MimeType = CType(results(2), String)
Source File: C:\Inetpub\wwwroot\AIL_2003\Framework\ReportingService.vb
Line: 556