473,756 Members | 7,560 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.Net.WebE xception: The request failed with HTTP status 404:

Our .Net application calls a web method of aplpication 2 that resides on
their Apache server. When I as a developer C#, Studios 2003, make the call to
their web method from my desktop, I receive no exceptions - completes fine.
Their web service url was added as a web reference to our project with no
problem. The following was generated as part of the proxy class:
/// <remarks/>
[System.Web.Serv ices.Protocols. SoapRpcMethodAt tribute("",
RequestNamespac e="http://server.webservi ce.vzot.verizon .com",
ResponseNamespa ce="http://vrfdvt03:8003/vzot/services/VZOTWebService" )]
[return:
System.Xml.Seri alization.SoapE lementAttribute ("getDueDateAva ilabilityReturn ")]
public DueDateAvailabi lityResponse
getDueDateAvail ability(DueDate AvailabilityReq uest reqObject)
{object[] results = this.Invoke( ("getDueDateAva ilability", new object[]
{reqObject});
return ((DueDateAvaila bilityResponse) (results[0]));
}

When I deploy my project to the development server and call (using the same
url) the same web method with the same data, I receive the following
exception:

System.Net.WebE xception: The request failed with HTTP status 404: Not Found.
at
System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.ReadRes ponse(SoapClien tMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall) at
System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( String
methodName, Object[] parameters) at
VOSE.ActivityMa nager.VzOT.VZOT WSSoapBindingIm plService.getDu eDateAvailabili ty(DueDateAvail abilityRequest reqObject)

Based on this stack trace, all I know is that it was executing the
this.invoke in the code snipet above but don't understand what is causing the
exception and why a different result is encountered on my machine versus dev
server. I am copying the .dll that contains this reference class directly
over.

Please help.

Thanks,
Tim Reynolds
Verizon

Jan 12 '06 #1
8 14101
"Tim Reynolds" <ti**********@o nline.nospam> wrote in message
news:C8******** *************** ***********@mic rosoft.com...
Our .Net application calls a web method of aplpication 2 that resides on
their Apache server. When I as a developer C#, Studios 2003, make the call
to
their web method from my desktop, I receive no exceptions - completes
fine. .... When I deploy my project to the development server and call (using the
same
url) the same web method with the same data, I receive the following
exception:

System.Net.WebE xception: The request failed with HTTP status 404: Not
Found.

....

Hi Tim,

may be your development server do not see the app2 server. Check if there is
connectivity between them.

Regards,

--
Martin Kulov
http://www.codeattest.com/blogs/martin

MCAD Charter Member
MCSD.NET Early Achiever
MCSD
Jan 12 '06 #2
Hi Tim,

I think Martin's suggestion is reasonable since the webservice used to work
correctly on dev box , so there should not contains problems in code logic.
And network environment should be the first thing we can check. Also, you
can check the IIS log on the server machine to see whether the request
actually arrive the server...

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
From: "Martin Kulov" <ku***@bezboklu k.abv.bg>
References: <C8************ *************** *******@microso ft.com>
Subject: Re: System.Net.WebE xception: The request failed with HTTP status
404:
Date: Fri, 13 Jan 2006 01:00:05 +0200
Lines: 33
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="Utf-8";
reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Message-ID: <#B************ **@TK2MSFTNGP14 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: vpn-pppoe-213-240-243-80.megalan.bg 213.240.243.80
Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
microsoft.publi c.dotnet.framew ork.webservices :13334
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices

"Tim Reynolds" <ti**********@o nline.nospam> wrote in message
news:C8******** *************** ***********@mic rosoft.com...
Our .Net application calls a web method of aplpication 2 that resides on
their Apache server. When I as a developer C#, Studios 2003, make the call to
their web method from my desktop, I receive no exceptions - completes
fine. ... When I deploy my project to the development server and call (using the
same
url) the same web method with the same data, I receive the following
exception:

System.Net.WebE xception: The request failed with HTTP status 404: Not
Found.

...

Hi Tim,

may be your development server do not see the app2 server. Check if there
is
connectivity between them.

Regards,

--
Martin Kulov
http://www.codeattest.com/blogs/martin

MCAD Charter Member
MCSD.NET Early Achiever
MCSD

Jan 13 '06 #3
Hello Steven,
On the DEV server I did ping the URL we connect to ok using Command prompt
ping command. As for the server itself, it can find it based on the ping.
The server I am calling, since it is an Apache server, would it have an IIS
log? I am unfamiliar with that type of server.

Tim

"Steven Cheng[MSFT]" wrote:
Hi Tim,

I think Martin's suggestion is reasonable since the webservice used to work
correctly on dev box , so there should not contains problems in code logic.
And network environment should be the first thing we can check. Also, you
can check the IIS log on the server machine to see whether the request
actually arrive the server...

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
From: "Martin Kulov" <ku***@bezboklu k.abv.bg>
References: <C8************ *************** *******@microso ft.com>
Subject: Re: System.Net.WebE xception: The request failed with HTTP status
404:
Date: Fri, 13 Jan 2006 01:00:05 +0200
Lines: 33
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="Utf-8";
reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Message-ID: <#B************ **@TK2MSFTNGP14 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: vpn-pppoe-213-240-243-80.megalan.bg 213.240.243.80
Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :13334
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices

"Tim Reynolds" <ti**********@o nline.nospam> wrote in message
news:C8******** *************** ***********@mic rosoft.com...
Our .Net application calls a web method of aplpication 2 that resides on
their Apache server. When I as a developer C#, Studios 2003, make the

call
to
their web method from my desktop, I receive no exceptions - completes
fine.

...
When I deploy my project to the development server and call (using the
same
url) the same web method with the same data, I receive the following
exception:

System.Net.WebE xception: The request failed with HTTP status 404: Not
Found.

...

Hi Tim,

may be your development server do not see the app2 server. Check if there
is
connectivity between them.

Regards,

--
Martin Kulov
http://www.codeattest.com/blogs/martin

MCAD Charter Member
MCSD.NET Early Achiever
MCSD

Jan 13 '06 #4
Ok - SOmeone told me about the following which I put in my windows exe.config
file and I guess this basicallyi said don't use the default proxy settings
and this resolved the problem.

<system.net>
<!-- don't use system default proxy -->
<defaultProxy >
<proxy usesystemdefaul t="false"/>
</defaultProxy>
</system.net>

I am not sure if it uses any proxy now, nor how I could tell it to use proxy
for one app connection but not another, but those are other new
questions/issues. This post can be closed....

"Steven Cheng[MSFT]" wrote:
Hi Tim,

I think Martin's suggestion is reasonable since the webservice used to work
correctly on dev box , so there should not contains problems in code logic.
And network environment should be the first thing we can check. Also, you
can check the IIS log on the server machine to see whether the request
actually arrive the server...

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
From: "Martin Kulov" <ku***@bezboklu k.abv.bg>
References: <C8************ *************** *******@microso ft.com>
Subject: Re: System.Net.WebE xception: The request failed with HTTP status
404:
Date: Fri, 13 Jan 2006 01:00:05 +0200
Lines: 33
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="Utf-8";
reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Message-ID: <#B************ **@TK2MSFTNGP14 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: vpn-pppoe-213-240-243-80.megalan.bg 213.240.243.80
Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :13334
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices

"Tim Reynolds" <ti**********@o nline.nospam> wrote in message
news:C8******** *************** ***********@mic rosoft.com...
Our .Net application calls a web method of aplpication 2 that resides on
their Apache server. When I as a developer C#, Studios 2003, make the

call
to
their web method from my desktop, I receive no exceptions - completes
fine.

...
When I deploy my project to the development server and call (using the
same
url) the same web method with the same data, I receive the following
exception:

System.Net.WebE xception: The request failed with HTTP status 404: Not
Found.

...

Hi Tim,

may be your development server do not see the app2 server. Check if there
is
connectivity between them.

Regards,

--
Martin Kulov
http://www.codeattest.com/blogs/martin

MCAD Charter Member
MCSD.NET Early Achiever
MCSD

Jan 13 '06 #5
Thanks for your response Tim,

Sorry that I've missed your point on using apache server. Anyway, Glad that
you've figured out the problem through configuring the .net application's
proxy setting. For the proxy, we can also programmaticall y configure it
for or webservice proxy( or HttpWebRequest component) through its Proxy
property. e.g:

MyMath.Math math = new MyMath.Math();

IWebProxy proxyObject = new WebProxy("http://proxyserver:80" , true);
math.Proxy = proxyObject;

int total = math.Add(8, 5);

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
Thread-Topic: System.Net.WebE xception: The request failed with HTTP status 4
thread-index: AcYYalbeGWccHlL wTLeMFtU+51ygvg ==
X-WBNR-Posting-Host: 192.76.82.90
From: =?Utf-8?B?VGltIFJleW5 vbGRz?= <ti**********@o nline.nospam>
References: <C8************ *************** *******@microso ft.com>
<#B************ **@TK2MSFTNGP14 .phx.gbl>
<gw************ **@TK2MSFTNGXA0 2.phx.gbl>
Subject: Re: System.Net.WebE xception: The request failed with HTTP status 4
Date: Fri, 13 Jan 2006 09:54:02 -0800
Lines: 98
Message-ID: <A3************ *************** *******@microso ft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: TK2MSFTNGXA03.p hx.gbl 10.40.2.250
Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GXA01.phx.gbl!T K2MSFTNGXA03.ph x.gbl
microsoft.publi c.dotnet.framew ork.webservices :13351
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices

Ok - SOmeone told me about the following which I put in my windows
exe.config
file and I guess this basicallyi said don't use the default proxy settings
and this resolved the problem.

<system.net>
<!-- don't use system default proxy -->
<defaultProxy >
<proxy usesystemdefaul t="false"/>
</defaultProxy>
</system.net>

I am not sure if it uses any proxy now, nor how I could tell it to use
proxy
for one app connection but not another, but those are other new
questions/issues. This post can be closed....

"Steven Cheng[MSFT]" wrote:
Hi Tim,

I think Martin's suggestion is reasonable since the webservice used to work correctly on dev box , so there should not contains problems in code logic. And network environment should be the first thing we can check. Also, you can check the IIS log on the server machine to see whether the request
actually arrive the server...

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
From: "Martin Kulov" <ku***@bezboklu k.abv.bg>
References: <C8************ *************** *******@microso ft.com>
Subject: Re: System.Net.WebE xception: The request failed with HTTP status
404:
Date: Fri, 13 Jan 2006 01:00:05 +0200
Lines: 33
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="Utf-8";
reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Message-ID: <#B************ **@TK2MSFTNGP14 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: vpn-pppoe-213-240-243-80.megalan.bg 213.240.243.80
Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :13334
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices

"Tim Reynolds" <ti**********@o nline.nospam> wrote in message
news:C8******** *************** ***********@mic rosoft.com...
Our .Net application calls a web method of aplpication 2 that resides on
their Apache server. When I as a developer C#, Studios 2003, make the

call
to
their web method from my desktop, I receive no exceptions - completes
fine.

...
When I deploy my project to the development server and call (using the
same
url) the same web method with the same data, I receive the following
exception:

System.Net.WebE xception: The request failed with HTTP status 404: Not
Found.

...

Hi Tim,

may be your development server do not see the app2 server. Check if there
is
connectivity between them.

Regards,

--
Martin Kulov
http://www.codeattest.com/blogs/martin

MCAD Charter Member
MCSD.NET Early Achiever
MCSD


Jan 16 '06 #6
I've been searching around the forums for answers to this but not finding
anything substantial. My env is XP Pro / .NET 2.0. The web service in
question is written in Java on a WebLogic box. I can open the wsdl in IE and
see/invoke the methods exposed to me on the box in question. But when I try
to run code that uses the same service I get the error above. I have
another box (Win2003/.NET 2) which runs the same code fine. I can't help but
think it is a configuration problem on my first XP machine.

I know this is kind of general but can anyone provide a quick checklist to
start? Any feedback appreciated.

Thanks in advance.

Sal

"Steven Cheng[MSFT]" wrote:
Thanks for your response Tim,

Sorry that I've missed your point on using apache server. Anyway, Glad that
you've figured out the problem through configuring the .net application's
proxy setting. For the proxy, we can also programmaticall y configure it
for or webservice proxy( or HttpWebRequest component) through its Proxy
property. e.g:

MyMath.Math math = new MyMath.Math();

IWebProxy proxyObject = new WebProxy("http://proxyserver:80" , true);
math.Proxy = proxyObject;

int total = math.Add(8, 5);

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
Thread-Topic: System.Net.WebE xception: The request failed with HTTP status 4
thread-index: AcYYalbeGWccHlL wTLeMFtU+51ygvg ==
X-WBNR-Posting-Host: 192.76.82.90
From: =?Utf-8?B?VGltIFJleW5 vbGRz?= <ti**********@o nline.nospam>
References: <C8************ *************** *******@microso ft.com>
<#B************ **@TK2MSFTNGP14 .phx.gbl>
<gw************ **@TK2MSFTNGXA0 2.phx.gbl>
Subject: Re: System.Net.WebE xception: The request failed with HTTP status 4
Date: Fri, 13 Jan 2006 09:54:02 -0800
Lines: 98
Message-ID: <A3************ *************** *******@microso ft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: TK2MSFTNGXA03.p hx.gbl 10.40.2.250
Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GXA01.phx.gbl!T K2MSFTNGXA03.ph x.gbl
Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :13351
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices

Ok - SOmeone told me about the following which I put in my windows
exe.config
file and I guess this basicallyi said don't use the default proxy settings
and this resolved the problem.

<system.net>
<!-- don't use system default proxy -->
<defaultProxy >
<proxy usesystemdefaul t="false"/>
</defaultProxy>
</system.net>

I am not sure if it uses any proxy now, nor how I could tell it to use
proxy
for one app connection but not another, but those are other new
questions/issues. This post can be closed....

"Steven Cheng[MSFT]" wrote:
Hi Tim,

I think Martin's suggestion is reasonable since the webservice used to
work
correctly on dev box , so there should not contains problems in code
logic.
And network environment should be the first thing we can check. Also,
you
can check the IIS log on the server machine to see whether the request
actually arrive the server...

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
From: "Martin Kulov" <ku***@bezboklu k.abv.bg>
References: <C8************ *************** *******@microso ft.com>
Subject: Re: System.Net.WebE xception: The request failed with HTTP status
404:
Date: Fri, 13 Jan 2006 01:00:05 +0200
Lines: 33
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="Utf-8";
reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Message-ID: <#B************ **@TK2MSFTNGP14 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: vpn-pppoe-213-240-243-80.megalan.bg 213.240.243.80
Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :13334
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices

"Tim Reynolds" <ti**********@o nline.nospamwro te in message
news:C8******** *************** ***********@mic rosoft.com...
Our .Net application calls a web method of aplpication 2 that resides on
their Apache server. When I as a developer C#, Studios 2003, make the
call
to
their web method from my desktop, I receive no exceptions - completes
fine.
...
When I deploy my project to the development server and call (using the
same
url) the same web method with the same data, I receive the following
exception:
>
System.Net.WebE xception: The request failed with HTTP status 404: Not
Found.
...

Hi Tim,

may be your development server do not see the app2 server. Check if there
is
connectivity between them.

Regards,

--
Martin Kulov
http://www.codeattest.com/blogs/martin

MCAD Charter Member
MCSD.NET Early Achiever
MCSD

Aug 28 '07 #7
"Sal" <Sa*@discussion s.microsoft.com wrote in message
news:22******** *************** ***********@mic rosoft.com...
I've been searching around the forums for answers to this but not finding
anything substantial. My env is XP Pro / .NET 2.0. The web service in
question is written in Java on a WebLogic box. I can open the wsdl in IE
and
see/invoke the methods exposed to me on the box in question. But when I
try
to run code that uses the same service I get the error above. I have
another box (Win2003/.NET 2) which runs the same code fine. I can't help
but
think it is a configuration problem on my first XP machine.

I know this is kind of general but can anyone provide a quick checklist to
start? Any feedback appreciated.
Sal, maybe you should start this discussion with a new post. Those of us
using a newsreader don't have access to the original thread from 2006.

Here are a few blind suggestions:

It's kind of obvious, but if you're getting a 404 status, it is coming from
a web server or other device running the HTTP protocol (a proxy server could
be a culprit). This means that the question becomes "what URL did I request,
and why does the server not know how to find it?" To answer this question,
you'll want to look at the network traffic with your favorite tool (for
instance, Microsoft Network Monitor, or ProxyTrace from
http://www.pocketsoap.com).

You're actually in a good position to solve this problem. Take a look at the
request from the server it works on, and compare it to the server where it
fails. Note that the only interesting part of the request at this point is
the request headers. The body of the request is probably not causing a
"resource not found" error.

You're in luck! This error is happening at the very beginning of the
conversation between client and server. It doesn't even have anything to do
with the code in the web service!

--
John Saunders [MVP]

Aug 28 '07 #8
I also had this problem in a .NET 1.1 windows application communicating with
a web service.

It turned out that the web service URL was fine and there were no proxy
issues either. In my case the problem was solved by simply deleting the web
service reference and recreating it from scratch.

"John Saunders [MVP]" wrote:
"Sal" <Sa*@discussion s.microsoft.com wrote in message
news:22******** *************** ***********@mic rosoft.com...
I've been searching around the forums for answers to this but not finding
anything substantial. My env is XP Pro / .NET 2.0. The web service in
question is written in Java on a WebLogic box. I can open the wsdl in IE
and
see/invoke the methods exposed to me on the box in question. But when I
try
to run code that uses the same service I get the error above. I have
another box (Win2003/.NET 2) which runs the same code fine. I can't help
but
think it is a configuration problem on my first XP machine.

I know this is kind of general but can anyone provide a quick checklist to
start? Any feedback appreciated.

Sal, maybe you should start this discussion with a new post. Those of us
using a newsreader don't have access to the original thread from 2006.

Here are a few blind suggestions:

It's kind of obvious, but if you're getting a 404 status, it is coming from
a web server or other device running the HTTP protocol (a proxy server could
be a culprit). This means that the question becomes "what URL did I request,
and why does the server not know how to find it?" To answer this question,
you'll want to look at the network traffic with your favorite tool (for
instance, Microsoft Network Monitor, or ProxyTrace from
http://www.pocketsoap.com).

You're actually in a good position to solve this problem. Take a look at the
request from the server it works on, and compare it to the server where it
fails. Note that the only interesting part of the request at this point is
the request headers. The body of the request is probably not causing a
"resource not found" error.

You're in luck! This error is happening at the very beginning of the
conversation between client and server. It doesn't even have anything to do
with the code in the web service!

--
John Saunders [MVP]

Sep 26 '07 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
16122
by: genc_ ymeri at hotmail dot com | last post by:
Hi, I'm trying to recieve the response status code rather than the message in the below code : try { responseArray = myWebClient.UploadValues(uriString,"POST",myNameValueCollection); } catch (System.Net.WebException ex)
0
4890
by: Luis Esteban Valencia | last post by:
Hello I have this error when I submit the page with the following code. I had never see this kind of errors. Thanks private void btnsubmit_Click(object sender, System.EventArgs e) { string requestLocation = "http://estacion15/HTTPSender/BTSHTTPReceive.dll";
1
2259
by: etantonio | last post by:
Good morning, I've a problem, in the past I translate my site from google or altavista with a code similar to this : <%@ Page Language="c#" Trace="true" Debug="true" %> <%@ import Namespace="System.Net" %> <%@ import Namespace="System.IO" %> <script runat="server"> void Page_Load(Object Src, EventArgs E ) { if (!Page.IsPostBack)
1
5257
by: Adrian | last post by:
hi I'm attempting to build an app then sends a request to a URL and reads the response it works fine on my test site but when I connect to a real system I get the text below, I guess its responding to a request from the remote end if so how do I either tell it to ignore the request and just send the url or set what its looking for?
4
20496
by: Sean Feldman | last post by:
Hi, I'm expiriencing something interesting with my web service & desktop client application. When running desktop client on Windows XP or Windows 2003 everything works just fine. But when doinf the same from Windows 2000 Server, it fails with "System.Net.WebException: The request failed with HTTP status 400: Bad Request." error. Does anybody has encountered a problem like this or something simular?
20
1487
by: djc | last post by:
I get this *intermittently* on a utility I am working on. I don't know whats going on but here are a few points about it: - using VS 2005, running on xp sp2 - program uses multiple threadpool threads - only happens when built with the 'release' configuration (no debug flag, compiler optimizations in effect) - no problems in debug config here is the error: Unhandled Exception: System.AccessViolationException: Attempted to read or write...
1
8739
by: roadie.girl | last post by:
Hey guys - I'm really new to this .NET programming so please bear with me ... (vb.NET) I'm trying to fill in the list contents of a combo box on the open event of a form. this list will list all of the report from the reporting server (sql server reporting services 2000). to do this i have done:
2
4535
by: =?Utf-8?B?U2Fs?= | last post by:
<I MOVED THIS POST TO ITS OWN THREAD. ORIGINAL POST FOUND HERE: http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.dotnet.framework.webservices&mid=22d09e8e-4390-46b2-b266-ff37405d68ba > I've been searching around the forums for answers to this but not finding anything substantial. My env is XP Pro / .NET 2.0. The web service in question is written in Java on a WebLogic box. I can open the wsdl in IE...
1
2241
by: =?Utf-8?B?U3VwcmVldA==?= | last post by:
I am using a web service on my Local machine & on Dev box it was working fine till 1 hour back suddenly it started failing at local as well as at Dev box & the imp thing is that I have not deployed the code in Dev since more than 12 hours. Its urgent and any solution will be valuable. Thank You
0
9456
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9873
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9846
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8713
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7248
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5142
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3359
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.