tags:

views:

133

answers:

2

Hi guys,

I have a website and also connected in SQL Server.

How do I deploy my Web Service in my Web Site? Do I have to create a Virtual Directory?

am using HELM

Regards,

+1  A: 

Have you developed the web service or going to develop one?

Generally, you do not need the web service files to be in a dedicated virtual directory, it's an asmx file just like an aspx file with code behind.

o.k.w
thanks.I tried uploading it on my web server and it returned"The test form is only available for requests from the local machine."what should I change?
Nullstr1ng
Are you using framework 1.1? You might want to check this: http://support.microsoft.com/kb/819267
o.k.w
no. actually, the Web Service I was going to create is for BlogEngine.NET | Am starting to make some test to return the categories through Web Service. | and how do I insert new line in this comment box??
Nullstr1ng
A: 

ok. I have done it.

I just added this nodes in my Web.Config

<webServices><protocols><add name="HttpGet"/><add name="HttpPost"/></protocols></webServices>

and it worked.

Now I can make a Windows Forms and add Web Reference pointing on .asmx file.

Nullstr1ng