Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have 2 mongodb database environments in my application and am able to switch from one to the other when testing. In one of the databases am not able to insert data, when I call db.Save(...) mongodb generates an object Id, but when I go back to retrieve using the object Id the data is not there. (I don't get any error).
When I switch to the second database everything works fine. am able to insert and retrieve the data. The first database used to work and am not sure what has changed to cause this problem. any ideas?

The databases are on 2 different servers.
We using C# driver, and quite a bit of GridFs.

Thanks.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900