Culster initialize

Can someone help on this issue i’m getting, when i try to initialize using .net 2.0 sdk
Exception:Thrown: “The type initializer for ‘Couchbase.Configuration.Client.ClientConfiguration’ threw an exception.” (System.TypeInitializationException)

ClusterHelper.Initialize(“couchbaseClients/couchbase”);
var cluster = ClusterHelper.Get();
return cluster.OpenBucket();

@game99 -

I pasted that code into a new project and added the Couchbase .NET 2.0 package from NuGet and it worked for me.

If you can post the stacktrace, it might help to diagnose the issue you are running into.

-Jeff

@jmorris that worked for me too thank you