Am 11.11.2013 11:52, schrieb Drasha:

Hi,

I am trying to use the MongoDB driver, but I am having some issues. I have the following piece of code:

...

Do you have any idea, why this is happening?

Thanks

It seems like the MongoDB server doesn't send one of the expected fields
for the getLastError query. If you could enable verbose logging in
your MongoDB server and see what exactly it sends in response to the
last getLastError request, that would be great. I can then adjust the
code appropriately.