How to host webservice in IIS7 ?

Posted by Nani.gdm under IIS on 2/18/2011 | Points: 10 | Views : 30327 | Status : [Member] | Replies : 10
hi Experts,
for last one week i am trying to host my webservice in IIS7 but i am not able to host my Webservice(Not WCF),
can any one give Solution for this,
i searched in google but i did not get correct one,
Help me,

Regards,
Nani




Responses

Posted by: Madhu.b.rokkam on: 2/18/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Please check this link
http://www.codeproject.com/KB/aspnet/IIS7ASPNet.aspx

This may give you some idea..

Thanks and Regards
Madhu

Nani.gdm, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nani.gdm on: 2/18/2011 [Member] Starter | Points: 25

Up
0
Down
hi thanks for reply
it is for hosting website .i want to hosting webservice(asmx).


Nani.gdm, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/18/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi

Check this link for hosting services in IIS7

http://krismanohar.com/blog/?p=34

Thanks
Karthik
www.f5Debug.net

Nani.gdm, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Terrysirianni on: 9/22/2012 [Member] Starter | Points: 25

Up
0
Down
Create a new folder for your application files called "IISHostedCalcService", ensure that ASP.NET has access to the contents of the folder, and use the IIS management tool to create a new IIS application that is physically located in this application directory. When creating an alias for the application directory use "IISHostedCalc".
http://www.ichoosehosting.in/


ervgggggggc

Nani.gdm, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vijay.Kumar on: 9/24/2012 [Member] Starter | Points: 25

Up
0
Down
hi u have to do same like the hosting website and in default document instead of Login.aspx
have to give starting page of webservice page with .asmx extension ok

Nani.gdm, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Muhsinathk on: 9/24/2012 [Member] Bronze | Points: 25

Up
0
Down
Follow the simple steps which are listed below and you will done

1)Start Control Panel and go to Add Remove Programs
2) Then click on add remove components
3)Click on Internet Information Services over there, enable that with World Wide Web lying inside select asp.net option and now click on enable
4) Now, Start Control Panel and Click On Administrative Tools
5) Then Click on Internet Information Services(IIS) Manager
6)Once the IIS Manager starts, simply right click and create a new website
7)It will ask for a virtual path where the service is currently lying, so go there and give that path
8) Select the port number on which you want to run (please don't select port 80)
9)Then turn it to appliication and do one simple thing edit its bindings and enter the domain name over there and on the domain control panel you need to setup the A records to redirecting it your ip. You could easily do it if u have static ip .... (ofcourse u need to purchase a domain)
10) Now simply edit the web.confing and make changes listed below
11) Switch off the firewall
12)Go to internet explorer and type the ip address and the port no and you will be done

Pease refer this link too
http://a1ashiish-csharp.blogspot.in/2012/01/cnet-how-to-host-wcf-web-service-in-iis.html
http://krismanohar.com/blog/?p=34


Nani.gdm, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Muhsinathk on: 9/24/2012 [Member] Bronze | Points: 25

Up
0
Down
Please Mark as answer if it helpful to you.. That helps others who search the same

Nani.gdm, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hariinakoti on: 9/24/2012 [Member] Starter | Points: 25

Up
0
Down
Nice Explanation

Thanks & Regards
Hari

Nani.gdm, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Muhsinathk on: 9/24/2012 [Member] Bronze | Points: 25

Up
0
Down
Thank you..Mr.Hari

Nani.gdm, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hariinakoti on: 9/24/2012 [Member] Starter | Points: 25

Up
0
Down
Welcome MS.Muhsinathk

Thanks & Regards
Hari

Nani.gdm, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response