Web service error : Client found response content type of '', but expected 'text/xml'

Discussion in 'ASP .Net Web Services' started by acssi, Jan 16, 2007.

  1. acssi

    acssi Guest

    I got the following error on the client machine
    when my windows service was trying to connect to Database via Web
    service (.Net 2.0).

    Client found response content type of '', but expected 'text/xml'.
    The request failed with the error message:

    <HTML><HEAD><META HTTP-EQUIV=""REFRESH"" CONTENT=""0""
    URL=""http://<WebServerIP>/<WebServiceFolder>/Service1.asmx?wsdl""></HEAD><BODY>
    </BODY></HTML>

    This error will be generated only for the first time when the service
    starts and disappears when the service is restarted.It's sad that error
    appears only on client machine and it was never produced on my machine.
    I've gone through some sites and tried with some solutions like using
    WSDL reference, keeping .asmx files and .cs files in App_Code
    folder,etc., but nothing works.
    NOTE : I'm not using any custom SOAP extensions.

    Any help on this would be appreciated. Thanks in advance...
     
    acssi, Jan 16, 2007
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Damon Payne
    Replies:
    0
    Views:
    9,592
    Damon Payne
    Mar 8, 2005
  2. Robert Rotstein
    Replies:
    0
    Views:
    2,924
    Robert Rotstein
    Dec 21, 2005
  3. Jesús Bosch
    Replies:
    1
    Views:
    13,336
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Jul 3, 2006
  4. Vish Ramachandran

    Client found response content type of '', but expected 'text/xml'

    Vish Ramachandran, May 9, 2004, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    334
    Martin Boehm
    May 26, 2004
  5. powerranger
    Replies:
    0
    Views:
    346
    powerranger
    Jul 26, 2004
  6. Søren M. Olesen
    Replies:
    4
    Views:
    758
    Dan Rogers
    Feb 15, 2005
  7. Replies:
    0
    Views:
    439
  8. j.edwards
    Replies:
    1
    Views:
    628
    Kenny M.
    Feb 13, 2006
Loading...