WebException protocol error calling web service

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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.

.


Quantcast