Post to Webservice returns error

U

Ursli

When I try to test a (even supersimple) WebService on my developer PC
with the vs.net buildin tools,
(and they use POST for submiting), I get the following error:

Path 'POST' is forbidden.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Path 'POST' is forbidden.

Well, I did change my maschine.conf to allow
<webServices>
<protocols>
<add name="HttpSoap1.2"/>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add name="HttpGet"/>
<add name="HttpPostLocalhost"/>
<add name="Documentation"/>
</protocols>

but no luck. On any other maschine the same Webservice accept POST, so
anybody any idea what to do (expect from format my c:)?
 
C

Chad Z. Hower aka Kudzu

Ursli said:
When I try to test a (even supersimple) WebService on my developer PC
with the vs.net buildin tools,
(and they use POST for submiting), I get the following error:

Check your IIS settings on that application.
 

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top