Few Days back when I was running and build, it started throwing an exception as:
Solution
To enabled, run the following command in console windows as mention in the error log
sc.exe config NetTcpPortSharing start= demand
The TransportManager failed to listen on the supplied URI using the NetTcpPortSharing service: failed to start the service because it is disabled. An administrator can enable it by running 'sc.exe config NetTcpPortSharing start= demand'.. ---> System.InvalidOperationException: Cannot start service NetTcpPortSharing on computer '.'. ---> System.ComponentModel.Win32Exception: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. |
To enabled, run the following command in console windows as mention in the error log
sc.exe config NetTcpPortSharing start= demand
To disable it, run the following command in a console window.
sc.exe config NetTcpPortSharing start= disabled
And after that run you build once again. I'm sure it would not throw any error next time.
Thanks,
Md. Jawed
No comments:
Post a Comment