Error: When starting the MongoDB service in the prompt (c:mongodbbinmongod.exe), I get the following error:
exception in initAndListen:13082 getnameinfo error errno:10106
The requested service provider could not be loaded or initialized.. terminating
Cause: This is a WinSock error as in the mongod.log
WSAEPROVIDERFAILEDINIT [10106]: Service provider failed to initialize. This error is returned if either a service provider’s DLL could not be loaded (LoadLibrary failed) or the provider’s WSPStartup or NSPStartup function failed.
Solution: open cmd as admin, type the following and hit Enter to repair winsock.
netsh winsock reset