web service access issue

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default web service access issue

    Hello,


    I have developed some webservices, that I tested with
    localhost through a client in C#. It worked fine, but I
    move the services to a different server, I get this
    response randomly:

    Client found response content type of 'text/html', but
    expected 'text/xml'.
    The request failed with the error message:
    --
    <html>
    <head>
    <title>Server Unavailable
    </title>
    </head>
    <body>
    <h1><font face=Verdana color=#ff3300>Server
    Application Unavailable
    </font></h1>
    <p>
    <font face=Verdana>
    The web application you are attempting to access
    on this web server is c
    urrently unavailable.&nbsp; Please hit the "Refresh"
    button in your web browser
    to retry your request.
    </p>
    <p>
    <b>Administrator Note:
    </b> An error message detailing the cause of this specific
    request failure can b
    e found in the application event log of the web server.
    Please review this log
    entry to discover what caused this error to occur.
    </p>
    </body>
    </html>


    I don't know if there are some settings that I missed
    somewhere. either I get that error, or this one:

    "The underlying connection was closed: An unexpected error
    occurred on a receive"

    Any help is greatly appreciated!
    androger Guest

  2. Similar Questions and Discussions

    1. Web Service / SSL Issue
      Did you ever get a solution to this problem? I'm just creating some webservices which work perfectly on their own, perfectly under HTTP directory...
    2. Web Service + Anon Access, but getting 401 Access Denied Error
      I have a simple webservice that just returns a string. The security for this is set to windows authentication in IIS (XP Professional) and anonymous...
    3. Access Denied - Network Service vs Local Service
      I have been struggling with my ASP.NET (V1.1 sp1) websites getting an 'Access Denied' message. I have track down the problem (I think) to the IIS...
    4. TerraServer Web Service: access issue.
      I am trying to run the terraDemo software from MS that shows how to access the MS TerraServer from a Web Services API within a c# program. When I...
    5. Web Service and a Timeout issue???
      Hi Can you control a web service's lifetime? Is there a timeout property that can be set I would like to abort the web service consumer if the...
  3. #2

    Default web service access issue

    did you ever find a solution to this problem? i'm seeing
    the same basic thing except it's only one certain PC that
    demonstrates the problem. all other boxes i've tried it
    on work fine.

    >-----Original Message-----
    >Hello,
    >
    >
    >I have developed some webservices, that I tested with
    >localhost through a client in C#. It worked fine, but I
    >move the services to a different server, I get this
    >response randomly:
    >
    >Client found response content type of 'text/html', but
    >expected 'text/xml'.
    >The request failed with the error message:
    >--
    ><html>
    > <head>
    > <title>Server Unavailable
    ></title>
    > </head>
    > <body>
    > <h1><font face=Verdana color=#ff3300>Server
    >Application Unavailable
    ></font></h1>
    > <p>
    > <font face=Verdana>
    > The web application you are attempting to access
    >on this web server is c
    >urrently unavailable. Please hit the "Refresh"
    >button in your web browser
    >to retry your request.
    ></p>
    > <p>
    > <b>Administrator Note:
    ></b> An error message detailing the cause of this
    specific
    >request failure can b
    >e found in the application event log of the web server.
    >Please review this log
    >entry to discover what caused this error to occur.
    > </p>
    > </body>
    ></html>
    >
    >
    >I don't know if there are some settings that I missed
    >somewhere. either I get that error, or this one:
    >
    >"The underlying connection was closed: An unexpected
    error
    >occurred on a receive"
    >
    >Any help is greatly appreciated!
    >.
    >
    jhill Guest

  4. #3

    Default web service access issue

    Hi,

    my web service is config to use windows authentication. My client is able to
    access the web service as long as I put them in the local administrators
    group of the IIS box. If I remove them out of administrators group, then they
    get 401 access denied error. Has anyone seen this before ? How do I grant
    them access to the web service without granting them administrators' access ?

    Thanks,

    TK
    TK2828 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139