A console application for testing connection to a MongoDB instance.
This repository contains Sitecore console app, which tests databases' connections in MongoDB using MongoDB .NET\C# Driver.
To run the app, perform the following steps on both Content Managment (CM) and Content Delivery (CD) servers:
-
In the
\bin\TestMongoDBConnection.exe.config
file, modify the following connecting strings:analytics
tracking.live
tracking.history
tracking.contact
-
Run the
\bin\TestMongoDBConnection.exe
file.
The log is saved into the
\bin\Sitecore.Log.{Data.Time}.txt
file.
Sitecore Diagnostics app includes the following files:
\bin\MongoDB.Bson.dll
\bin\MongoDB.Driver.dll
\bin\TestMongoDBConnection.exe
\bin\TestMongoDBConnection.exe.config
This tool is licensed under the Sitecore Corporation A/S License.
Downloads are available via GitHub Releases.