(this one is for 2003 server
http://www.singingeels.com/Articles/Duplex_WCF_Services_Hosted_in_IIS_Using_NetTcp.aspx
)
Below content from unknown source:
step 1
make sure the window services related
to was is running 24/7. Please ensure that svc - integrated handler is
working properly in IIS 7.0. This step is very important. Make sure the
IIS 7.0 is working perfectly. You should also have administrative
prevliages on you machine.
step 2
In the
adminstravtive command make sure the website is enable to accept the
net.tcp protocol or the UI interface in the IIS 7.0 will help you to
do it. The command is given below. This command should be at the
adminstrative command in window server 2008. This process is one time
activity.
%windir%\system32\inetsrv\appcmd.exe set site "Default Web Site" -+bindings.[protocol='net.tcp',bindingInformation='8000:*']
step 3
After
your web application is created , mapping to your phsyical directory in
your machine. You must enable the web application to accept net.tcp
protocol. The sample dos command is given below and this command should
be run in the administrative command in window server 2008
%windir%\system32\inetsrv\appcmd.exe set app "Default Web Site/ Application Name” /enabledProtocols:http;net.tcp
step 4
In the Microsoft.NET Framework 3.0, enable the Window Communication
Foundation Non-HTTP activation. Kindly ensure that the two features
like Window communication foundation HTTP Activation, XPS Viewer in
Microsoft.NET Framework 3.0 should also be enabled.
- From the Start menu, choose Control Panel.
- Select Programs and Features.
- Click Turn Windows Components on or Off.
- Expand the Microsoft .NET Framework 3.0 node and check the Windows Communication Foundation Non-HTTP Activation feature
step 5
In the Window Features , enable
all the features of window process activation service. The features to
be enabled are .Net environment, Configuration API ,Process Model.
- From the Start menu, choose Control Panel.
- Select Programs and Features.
- Click Turn Windows Components on or Off.
- Expand Window Process Activation Process Activation.
step 6
The Turn User Account Control
should be turned off , in the case if you are trying to host WAS
service in a new machine. If the user account is turned on then it is
not possible to host the WCF Service in IIS 7.0.
- Click start
- Go to Setting and click the control panel
- Select the User Control
- Click on the Turn User Account Control on or off
step 7
In the Internet Information
Service , enable the features which are given below. the IIS Metabase
and IIS 6 configuration compatibility which comes under web management
tools.
From the Start menu, choose Control Panel.
Select Programs and Features.
Click Turn Windows Components on or Off.
Expand Internet Information Service.
step 8
Microsoft Front Page Server Exemptions Extensions
If Microsoft Front Page Server Exemptions extension is not installed in the machine,
Install using the following URL
http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1577
step 9 - ServiceModel Registration Tool (ServiceModelReg.exe)
For information on ServiceModelReg , visit the url which is given below. It is very important
http://msdn.microsoft.com/en-us/library/ms732012.aspxSample application for WAS Hosting you can you use from the URL which are given below
http://msdn.microsoft.com/en-us/library/ms752218.aspx