Re: webexception 404

From: warlord (smuffnstuff_at_hotmail.com)
Date: 04/20/04


Date: Tue, 20 Apr 2004 14:18:36 +0800

I've had an almost identical problem to this and after a couple of weeks of
scrounging around and help from others I found the answers (well most of
them).

Firstly, has the IIS Lockdown tool been run on the server. If it has then
chances are WebDAV has been disabled. You will almost certainly have to
enable WebDAV to achieve what you want. Secondly, is the UrlScan utulity
running. If it is then you will need to make some configuration changes to
it.

In my case the UrlScan utility was preventing the request from being
processed by the server - hence the 404 Not Found error. As soon as I
turned off UrlScan my requests got through. I haven't figured out the
configuration changes required to have UrlScan running and still let my
requests though, but when I figure it out I'll post it here.

Cheers,

Cameron

"David" <dboaz@bgumail.bgu.ac.il> wrote in message
news:e13zWbUJEHA.208@tk2msftngp13.phx.gbl...
> hello all,
>
> I have a windows application that runs a webservice, namelly A, which uses
> sessions (i dont know if this is important). some times the requests of
the
> client (winform) are passed from the webservice A to another Webservice,
B,
> which is stateless. In the begining, When A tried to apply the webmethod
of
> B throgh BProxy, I received a webException 401. So I added to Bproxy
> credentials:
> BProxy.Credentials =System.Net.CredentialCache.DefaultCredentials;
> Now, I receive another webException: 404 not found.
>
> The url of B.asmx is ok. Im using IIS 5.1. in the authentication tab in
the
> IIS, the directory of B has checked only the "integrated windows
> authentication".
>
> Thanks, David
>
>



Relevant Pages

  • Re: The page is not found (replying only?!)
    ... Please look in the IIS Log files, and locate one of these requests. ... URLScan is rejecting them, there should be a type ... Otherwise, IIS itself is rejecting the request, and should be logging 404 ...
    (microsoft.public.inetserver.iis)
  • Re: URLScan Tool 2.5 and IIS performance?
    ... The performance hit from using URLScan is hardly noticable at all. ... rejected requests are not logged by the IIS services ... > Thomas Rattelmueller ...
    (microsoft.public.inetserver.iis.security)
  • Re: Semi OT: Lockdown tool kills VBA??
    ... I did post in the office group. ... and you mention it is not working after urlscan ... >> I think maybe everyone is focusing on IIS too much. ... >>> It will tell you what requests are rejected and why. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Semi OT: Lockdown tool kills VBA??
    ... and you mention it is not working after urlscan ... > I think maybe everyone is focusing on IIS too much. ... > anyone had heard of that side-effect from running the lockdown tool ... >> It will tell you what requests are rejected and why. ...
    (microsoft.public.inetserver.iis.security)
  • Re: ASP.NET 2.0 maximum URL length?
    ... explicitly installed on my IIS7/Vista system? ... URLScan - an add-on tool I have not installed. ... It's a recommended install for IIS 4.0 and 5.0, ...
    (microsoft.public.dotnet.framework.aspnet)

Loading