Reputation: 64333
I deleted the Net.Tcp Port Sharing Service with sc delete command, now when I try to install Application Server Role, it give me the following error:
Attempt to install TCP Port Sharing failed with error code 0x80070404. The specified service does not exist as an installed service.
How to solve this? Re-install Windows Server 2008 is not an option.
Thanks.
Upvotes: 1
Views: 17351
Reputation: 11
Upvotes: -1
Reputation: 1918
Microsoft .NET Framework 3.5.1 is included Windows Server 2008 R2, and .NET Framework 2.0 Service Pack 2 is a subcomponent foundation layer of .NET Framework 3.5.1.
To get Net.Tcp back on a machine with this framework release, run ServiceModelReg.exe. See somewhat detailed instructions here.
The crucial part is this:
"%WINDIR%\Microsoft.Net\Framework\v4.0.30319\aspnet_regiis" -i -enable "%WINDIR%\Microsoft.Net\Framework\v4.0.30319\ServiceModelReg.exe" -r
The "-r" option in ServiceModelReg reinstalls WCF scriptmaps and services on the machine. See "ServiceModelReg.exe /?" for all the options.
Hope this helps!
Upvotes: 7