WebException status:ReceiveFailure when calling a webservice

G

Guest

Greetings,

I have an application that almost always works! :(

I am calling a webservice from c# on the cf... every once in a while I get a
WebException with the status ReceiveFailure. It appears that this exception
is caught on the client without my server code being called at all. (I log
all exceptions that occur in my server code by writing the exception info to
the database.)

My application runs on pocketpc devices... I have the same problem when
running on IPaqs, Symbol and Intermec devices. I am calling my webservice
over the wireless LAN. My LAN has a WEP code.

I get the following exception:
WebException:Unable to read data from the transport connection.
Status:ReceiveFailure


My webservice is nothing fancy... just sending in some strings, getting some
other strings back. This error is intermittent and seems to happen to all
methods in my webservice.

I am running SP2 of the cf. My webservice is written in c# and running on
Windows Server 2003.

What is the proper way to handle this exception??
Does this problem sound like a cf problem or an application problem?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top