473,398 Members | 2,427 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

System.web.exception The request failed with HTTP status 404

<I MOVED THIS POST TO ITS OWN THREAD. ORIGINAL POST FOUND HERE:
http://www.microsoft.com/communities...6-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 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
------------------
<THIS IS THE FIRST REPLY>

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 #1
2 4493


"Sal" wrote:
<I MOVED THIS POST TO ITS OWN THREAD. ORIGINAL POST FOUND HERE:
http://www.microsoft.com/communities...6-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 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
------------------
<THIS IS THE FIRST REPLY>

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]
Ok that helps. So since I'm in corporate America my IE browser was setup to
talk to a proxy server. I simply disabled the auto config script usage and
the usage of the proxy server through the checkboxes in Tool | Internet
Options | Lan Settings | Connections . Then I cleared cache retried and it
worked. I'll continue to monitor it but seems like I'm in good shape.
Thanks John.

Sal

Aug 28 '07 #2
"Sal" <Sa*@discussions.microsoft.comwrote in message
news:83**********************************@microsof t.com...
>

"Sal" wrote:
><I MOVED THIS POST TO ITS OWN THREAD. ORIGINAL POST FOUND HERE:
http://www.microsoft.com/communities...6-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
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
------------------
<THIS IS THE FIRST REPLY>

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]

Ok that helps. So since I'm in corporate America my IE browser was setup
to
talk to a proxy server. I simply disabled the auto config script usage and
the usage of the proxy server through the checkboxes in Tool | Internet
Options | Lan Settings | Connections . Then I cleared cache retried and
it
worked. I'll continue to monitor it but seems like I'm in good shape.
I'm glad that worked.

Keep in mind that you can set up your client to use the necessary proxy
server. Take a look at the Proxy property and the other properties of the
HttpWebClientProtocol class that your proxy classes derive from
(http://msdn2.microsoft.com/en-us/lib...operties.aspx).
--
John Saunders [MVP]

Aug 28 '07 #3

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

Similar topics

0
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) { ...
1
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...
8
by: Tim Reynolds | last post by:
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...
0
by: nicomp | last post by:
I created a Web Service: I imported System.Data.SqlClient so I could access SQL server tables programmatically. The web service builds and deploys with no problems. When I try to add the...
2
by: AnalogKid17 | last post by:
Keywords: ASP.NET app with VS2005 running on Win2003 with IIS6, and SQL2000 on a WinXP Box I've betting the following for days... it's driving me insane: Server Error in '/' Application. ...
20
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...
3
by: Mike | last post by:
Hi I have problem as folow: Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type...
2
by: pedrito | last post by:
I've got an app that downloads from several concurrent threads. Occasionally, I get an expcetion trying to read the HttpWebResponse stream... Sorry, the code isn't short, but I figured best to...
5
by: Henry Stock | last post by:
I am trying to understand the following error: Any thing you can tell me about this is appreciated. Security Exception Description: The application attempted to perform an operation not allowed...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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...

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.