| 3 | |
| 4 | Certificate and Authentication: |
| 5 | * Follow DevelopersHowtosDevelopServices |
| 6 | * Goto Windows Services > start `Distributed Transaction Coordinator` service (needed to use transactions over multiple databases) |
| 7 | |
| 8 | Enable net.tcp protocols: |
| 9 | * Control Panel > Programs & Features > Turn Windows features on or off |
| 10 | * Expand Microsoft .NET Framework 3.x.x |
| 11 | * Check the "Windows Communication Foundation Non-HTTP Activation" check box. |
| 12 | * Open Visual Studio command prompt as administrator and run this command: `%windir%\Microsoft.NET\Framework\v4.xxxx\ServiceModelReg.exe" -r` |
| 13 | |
| 14 | Setup IIS: |
| 15 | * Open IIS Manager |
| 16 | * Create an application pool (Hive-3.3, .net 4.x, integrated) |
| 17 | * Open advanced settings of the application pool and select `NetworkService` as identity (if you don't have your own identities for IIS AppPools) |
| 18 | * Create a new website (or use an existing one) |
| 19 | * Go to bindings of the website. |
| 20 | * Add a http-binding with port 9000. |
| 21 | * Add a net.tcp binding with `9001:*` in the binding information. |
| 22 | * Create a new application within the website and call it Hive-3.3 and use the already created appPool Hive-3.3 |
| 23 | * Open advanced settings of the application and enter `http, net.tcp` as enabled protocols |
| 24 | |
| 25 | |
| 26 | Problem: |
| 27 | * Exception `Could Not Load Type System.ServiceModel.Activation.HttpModule` |
| 28 | * run `aspnet_regiis.exe -iru` |