473,387 Members | 1,455 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,387 software developers and data experts.

WebException

Hello,

I'm developing a ppc-application that consumes a webservice on my local
machine. For testing the service is the HelloWorld service and the app is
just a form with a button that calls the webmethod. The problem is that when
I call the method I instantly get a WebException with no further information.
The method can be called from IE and from a Windows.Forms app. How can I find
out the reason for the exception?

Regards
Stephen
Nov 21 '05 #1
1 2621
Hi,

thanks for your answers. The IP Address is not the problem, it worked many
times before. The exception wouldn't just be a WebException without further
comments. I found a 'solution' to the problem myself: I changed on the ppc
Settings/Connections/My network card connects to:/work to .../The Internet.
The old setting worked before, now the new one works. If you can explain
this, feel free to do so.

Regards
S.

"Rama.NET" wrote:
My bad, I missed the link, it is on GotDotNET, at
http://www.gotdotnet.com/Community/U...4-45e13b37cc0c
"Rama.NET" wrote:
Hi Stephen
One more thing, you could try my sample on PocketMap.NET, which uses the
.NET CF, Winforms, webservices + MapPoint.NET, in that I actually mentioned
about this issue.
HTH
"Stephen H." wrote:
Hello,

I'm developing a ppc-application that consumes a webservice on my local
machine. For testing the service is the HelloWorld service and the app is
just a form with a button that calls the webmethod. The problem is that when
I call the method I instantly get a WebException with no further information.
The method can be called from IE and from a Windows.Forms app. How can I find
out the reason for the exception?

Regards
Stephen

Nov 21 '05 #2

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

Similar topics

0
by: Joe Bloggs | last post by:
I have a C# MRS application that uses the ReportingService's Render method to retrieve a byte array containing a report. The following error message occurs An unhandled exception of type...
2
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); }...
2
by: G Joseph | last post by:
Hello, I am getting a WebException.TrustFailure when I call HttpwebRequest.GetResponse. Anybody has an idea how to resolve this issue? The code works correctly in other sites. I noticed that,...
0
by: Joey Guerra | last post by:
Hi. I've been researching how to resolve this issue, but haven't found a solution. I saw a post referring to the SecureChannelFailure WebException status, but no resolution. Any help/direction is...
1
by: Marcos Martínez | last post by:
I am trying to generate and to consume a file RSS dinamicamente. I generate it correctly, if I call from the explorer (http://localhost/Prueba/rss.aspx) or an application client RSS Bandit, for...
1
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...
2
by: tlan | last post by:
Hi, I got this error when I move my web service to Windows2003 server. I spent hours scouting on the internet and could find any answer. Please help!!! I the webservice is timeout between 1...
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...
4
by: =?Utf-8?B?UGhpbGlwIEs=?= | last post by:
Simplifying the code a bit its like this: try { myRemotingObj.Myfunction(string, string,string,string,timeSpan) } catch(WebException) { commsUp = false; }
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
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,...

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.