[CSHARP-1469] GridFSBucket not working Created: 06/Nov/15  Updated: 05/Apr/19  Resolved: 06/Nov/15

Status: Closed
Project: C# Driver
Component/s: GridFS
Affects Version/s: 2.1
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Alpesh Assignee: Unassigned
Resolution: Done Votes: 0
Labels: question
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: JPEG File error.JPG    

 Description   

Getting runtime error "Method not found: 'MongoDB.Driver.Core.Clusters.ICluster MongoDB.Driver.IMongoClient.get_Cluster()'." while trying to create a new GridFSBucket();

My MongoDB.Driver version is 2.1.0.145.



 Comments   
Comment by Alpesh [ 06/Nov/15 ]

Hi Craig,

Spot on. My UI project was referencing to 2.0 version.
Thanks a lot for saving my day.

Alpesh

Comment by Craig Wilson [ 06/Nov/15 ]

Hi Alpesh,

Since we release all our assemblies in together with the same versions, chances are that you have another project referencing a different version of the driver. Could you please check all your projects and ensure they are all upgraded to the latest 2.1.0 release.

Craig

Generated at Wed Feb 07 21:39:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.