WebException protocol error calling web service
- From: "rh" <rwhughes@xxxxxxxxx>
- Date: 23 Aug 2005 12:15:57 -0700
I am getting a WebException (protocol error) when trying to call a web
service from the compact framework (1.0.4292). The web service is
running on IIS 5.1 on my development machine (local) and the PocketPC
is docked in the cradle. I know the web service is working because I
can call it up in the browser on my machine and I can also call it up
in the browser on the PocketPC. I'm curious if anyone knows what would
be causing this behavior from the compact framework?
Also, I've been able to work around the problem for now by adding
<httpModules><clear /></httpModules> to my web.config. I have no idea
why this "fixes" things (that would be nice to know also). I figured
this out because I dropped the dll/asmx into an another virtual
directory on my machine and the web service started working from the
PocketPC. The only difference was that the web.config in the one
virtual directory had the httpModules section and the other didn't.
.
- Follow-Ups:
- Prev by Date: RE: clearcommerror native exception?
- Next by Date: Re: Trivial serial communication problem?
- Previous by thread: Form as MessageBox, without Taskbar-Button?
- Next by thread: Re: WebException protocol error calling web service
- Index(es):