473,513 Members | 2,533 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.Net.WebException: 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.Services.Protocols.SoapRpcMethodAttribu te("",
RequestNamespace="http://server.webservice.vzot.verizon.com",
ResponseNamespace="http://vrfdvt03:8003/vzot/services/VZOTWebService")]
[return:
System.Xml.Serialization.SoapElementAttribute("get DueDateAvailabilityReturn")]
public DueDateAvailabilityResponse
getDueDateAvailability(DueDateAvailabilityRequest reqObject)
{object[] results = this.Invoke( ("getDueDateAvailability", new object[]
{reqObject});
return ((DueDateAvailabilityResponse)(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.WebException: The request failed with HTTP status 404: Not Found.
at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall) at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters) at
VOSE.ActivityManager.VzOT.VZOTWSSoapBindingImplSer vice.getDueDateAvailability(DueDateAvailabilityReq uest 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 14045
"Tim Reynolds" <ti**********@online.nospam> wrote in message
news:C8**********************************@microsof t.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.WebException: 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***@bezbokluk.abv.bg>
References: <C8**********************************@microsoft.co m>
Subject: Re: System.Net.WebException: 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.public.dotnet.framework.webservices
NNTP-Posting-Host: vpn-pppoe-213-240-243-80.megalan.bg 213.240.243.80
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
microsoft.public.dotnet.framework.webservices:1333 4
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

"Tim Reynolds" <ti**********@online.nospam> wrote in message
news:C8**********************************@microsof t.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.WebException: 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***@bezbokluk.abv.bg>
References: <C8**********************************@microsoft.co m>
Subject: Re: System.Net.WebException: 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.public.dotnet.framework.webservices
NNTP-Posting-Host: vpn-pppoe-213-240-243-80.megalan.bg 213.240.243.80
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.webservices:1333 4
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

"Tim Reynolds" <ti**********@online.nospam> wrote in message
news:C8**********************************@microsof t.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.WebException: 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 usesystemdefault="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***@bezbokluk.abv.bg>
References: <C8**********************************@microsoft.co m>
Subject: Re: System.Net.WebException: 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.public.dotnet.framework.webservices
NNTP-Posting-Host: vpn-pppoe-213-240-243-80.megalan.bg 213.240.243.80
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.webservices:1333 4
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

"Tim Reynolds" <ti**********@online.nospam> wrote in message
news:C8**********************************@microsof t.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.WebException: 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 programmatically 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.WebException: The request failed with HTTP status 4
thread-index: AcYYalbeGWccHlLwTLeMFtU+51ygvg==
X-WBNR-Posting-Host: 192.76.82.90
From: =?Utf-8?B?VGltIFJleW5vbGRz?= <ti**********@online.nospam>
References: <C8**********************************@microsoft.co m>
<#B**************@TK2MSFTNGP14.phx.gbl>
<gw**************@TK2MSFTNGXA02.phx.gbl>
Subject: Re: System.Net.WebException: The request failed with HTTP status 4
Date: Fri, 13 Jan 2006 09:54:02 -0800
Lines: 98
Message-ID: <A3**********************************@microsoft.co m>
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.public.dotnet.framework.webservices
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TNGXA03.phx.gbl
microsoft.public.dotnet.framework.webservices:1335 1
X-Tomcat-NG: microsoft.public.dotnet.framework.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 usesystemdefault="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***@bezbokluk.abv.bg>
References: <C8**********************************@microsoft.co m>
Subject: Re: System.Net.WebException: 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.public.dotnet.framework.webservices
NNTP-Posting-Host: vpn-pppoe-213-240-243-80.megalan.bg 213.240.243.80
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.webservices:1333 4
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

"Tim Reynolds" <ti**********@online.nospam> wrote in message
news:C8**********************************@microsof t.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.WebException: 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 programmatically 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.WebException: The request failed with HTTP status 4
thread-index: AcYYalbeGWccHlLwTLeMFtU+51ygvg==
X-WBNR-Posting-Host: 192.76.82.90
From: =?Utf-8?B?VGltIFJleW5vbGRz?= <ti**********@online.nospam>
References: <C8**********************************@microsoft.co m>
<#B**************@TK2MSFTNGP14.phx.gbl>
<gw**************@TK2MSFTNGXA02.phx.gbl>
Subject: Re: System.Net.WebException: The request failed with HTTP status 4
Date: Fri, 13 Jan 2006 09:54:02 -0800
Lines: 98
Message-ID: <A3**********************************@microsoft.co m>
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.public.dotnet.framework.webservices
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TNGXA03.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.webservices:1335 1
X-Tomcat-NG: microsoft.public.dotnet.framework.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 usesystemdefault="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***@bezbokluk.abv.bg>
References: <C8**********************************@microsoft.co m>
Subject: Re: System.Net.WebException: 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.public.dotnet.framework.webservices
NNTP-Posting-Host: vpn-pppoe-213-240-243-80.megalan.bg 213.240.243.80
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.webservices:1333 4
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

"Tim Reynolds" <ti**********@online.nospamwrote in message
news:C8**********************************@microsof t.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.WebException: 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*@discussions.microsoft.comwrote in message
news:22**********************************@microsof t.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*@discussions.microsoft.comwrote in message
news:22**********************************@microsof t.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
16100
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
4866
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
2217
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
5213
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
20480
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...
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 ...
1
8717
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
4497
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...
1
2218
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
7270
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...
0
7178
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...
0
7397
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7543
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5704
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...
0
4759
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3255
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...
0
3242
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.