Re: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'

Discussion in 'ASP .Net' started by Damon Payne, Mar 8, 2005.

  1. Damon Payne

    Damon Payne Guest

    This looks like an error response returned by IIS when you are making a Web
    Service call that causes a 500 internal server error. Unfortunately if
    there is a server error IIS returns HTML explaining the 500 code instead of
    a soap fault.

    --
    ------------------------------------------
    Damon Payne
    http://www.damonpayne.com
    "puneet gupta via .NET 247" <> wrote in message
    news:%...
    > (Type your message here)
    > if have an asp.net application some time i get this error;
    > Client found response content type of 'text/html; charset=utf-8', but

    expected 'text/xml'.
    > The request failed with the error message:
    > --
    > <html>
    > <head>
    > <title>Request timed out.</title>
    > <style>
    > body {font-family:"Verdana";font-weight:normal;font-size:

    ..7em;color:black;}
    > p

    {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
    > b

    {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
    > H1 {

    font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
    > H2 {

    font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
    > pre {font-family:"Lucida Console";font-size: .9em}
    > .marker {font-weight: bold; color: black;text-decoration: none;}
    > .version {color: gray;}
    > .error {margin-bottom: 10px;}
    > .expandable { text-decoration:underline; font-weight:bold;

    color:navy; cursor:hand; }
    > </style>
    > </head>
    > <body bgcolor="white">
    > <span><H1>Server Error in '/' Application.<hr width=100%

    size=1 color=silver></H1>
    > <h2> <i>Request timed out.</i> </h2></span>
    > <font face="Arial, Helvetica, Geneva, SunSans-Regular,

    sans-serif ">
    > <b> Description: </b>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.
    > <br><br>
    > <b> Exception Details: </b>System.Web.HttpException: Request

    timed out.<br><br>
    > <b>Source Error:</b> <br><br>
    > <table width=100% bgcolor="#ffffcc">
    > <tr>
    > <td>
    > <code>
    > An unhandled exception was generated during the execution of the current

    web request. Information regarding the origin and location of the exception
    can be identified using the exception stack trace below.</code>
    > </td>
    > </tr>
    > </table>
    > <br>
    > <b>Stack Trace:</b> <br><br>
    > <table width=100% bgcolor="#ffffcc">
    > <tr>
    > <td>
    > <code><pre>
    > [HttpException (0x80004005): Request timed out.]
    > </pre></code>
    > </td>
    > </tr>
    > </table>
    > <br>
    > <hr width=100% size=1 color=silver>
    > <b>Version Information:</b>&nbsp;Microsoft .NET Framework

    Version:1.0.3705.0; ASP.NET Version:1.0.3705.0
    > </font>
    > </body>
    > </html>
    > <!--
    > [HttpException]: Request timed out.
    >
    > any one can help--------------------------------
    > From: puneet gupta
    >
    > -----------------------
    > Posted by a user from .NET 247 (http://www.dotnet247.com/)
    >
    > <Id>ERb4/Gred02hWZm6XfvcaA==</Id>
     
    Damon Payne, Mar 8, 2005
    #1
    1. Advertising

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. Guest
    Replies:
    0
    Views:
    569
    Guest
    Feb 20, 2004
  2. Robert Rotstein
    Replies:
    0
    Views:
    2,811
    Robert Rotstein
    Dec 21, 2005
  3. Jesús Bosch
    Replies:
    1
    Views:
    13,085
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Jul 3, 2006
  4. Søren M. Olesen
    Replies:
    4
    Views:
    546
    Dan Rogers
    Feb 15, 2005
  5. tony
    Replies:
    0
    Views:
    236
Loading...

Share This Page