I’m trying to connect Rhinoceros 3d, a modeling software, with a local instance of MongoDB, via IronPython.
Ive the references to the latest drive rand that imports fine. However when trying to simply connect I get the following error:
“The type initializer for ‘MongoDB.Driver.Core.Misc.DnsClientWrapper’ threw an exception.”
here is the code snippet:
client = MongoClient("mongodb://192.168.10.182:27017")
server = client.GetServer()
database = server.GetDatabase("rhino")
Its fairly straight forward, Im able to connect in csharp and also nodejs an dregular python. Just no luck here in this instance. Any ideas?