MongoDB
 sql >> Database >  >> NoSQL >> MongoDB

Impossibile connettersi a MongoDB 3.0.0 utilizzando C# Driver 1.10

L'ho risolto modificando questa riga:

var credentials = MongoCredential.CreateMongoCRCredential("admin", "skMongo", "(my password)");

a questo:

var credentials = MongoCredential.CreateScramSha1Credential("admin", "skMongo", ("my password"));