ASP.NET Webservice wants to see local machine

M

Me

I copied a Webservice from 1 server to another, both Hosting Sites. Site 1
works ok, when I tried to run the Webservice on Site2 after copying the
project with VS.NET I get the the message that "The test form is only
available for requests from the local machine. "

Is there a setting on the Server that would prevent this?

Thanks
 
J

Jan Tielens

Sure, check out:
http://tinyurl.com/25lf9

The following example enables all four currently supported protocols.

<configuration>
<system.web>
<webServices>
<protocols>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add name="HttpGet"/>
<add name="Documentation"/>
</protocols>
</webServices>
</system.web>
</configuration>
 
M

Me

Thanks Jan, that did it. You're the best.


Jan Tielens said:
Sure, check out:
http://tinyurl.com/25lf9

The following example enables all four currently supported protocols.

<configuration>
<system.web>
<webServices>
<protocols>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add name="HttpGet"/>
<add name="Documentation"/>
</protocols>
</webServices>
</system.web>
</configuration>

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
 

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

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top