Details
-
Bug
-
Resolution: Duplicate
-
Blocker
-
None
-
3.0.0-beta.2
-
None
-
.NET Core 3.0.1
Description
Using the following sample code against Couchbase Server 6.5 beta 2 docker image:
var connString = "couchbase://127.0.0.1"; |
var options = new ClusterOptions(); options.WithBucket("bugtest") .WithCredentials("Administrator", "danger") .WithServers(connString); |
var cluster = new Cluster(connString, options); |
var bucketResult = cluster.BucketAsync("bugtest"); |
bucketResult.Wait();
|
var collection = bucketResult.Result.DefaultCollection();
|
I get the error in the subject:
An unhandled exception of type 'Couchbase.KeyValue.CollectionOutdatedException' occurred in Couchbase.NetClient.dll: 'Cannot find collection {name}'
|
The bucket "bugtest" exists on my cluster. This worked in 3.0.0-beta1.
Attachments
Issue Links
- relates to
-
NCBC-2190 Error returned on bucket.DefaultCollection()
- Closed