-
Type: Task
-
Resolution: Won't Fix
-
Priority: Critical - P2
-
None
-
Affects Version/s: 2.0
-
Component/s: BSON
-
Environment:Windows Server 2008 R2
I am writing a small application.
I am querying data from SQL server using SqlDataReader object. I am using "ToBsonDocument" extension method on this object to create BsonDocument. While using this extension method i am getting above mentioned exception.
Could you please help me to solve this issue. Or let me know if i am doing anything wrong. Let me know what would be the best way to export data from SQL server to mongoDB so that i can be able to execute some queries in mongoDB similar to SqlServer.
Thanks in advance.