I installed 4.0.0-2213
(couchbase-server-enterprise-4.0.0-beta-centos6.x86_64.rpm) and start the
cbq-engine. The queries on console model was well. Then I got a test on
c#(couchbaseNetClient 2.1.3).
var result = _bucket.Insert(document);
was done, But the following was error.
var query = string.Format("SELECT * FROM {0} WHERE className='{1}'",
_bucket.Name, typeof(T).Name);
var result = _bucket.Query<CouchbaseObject<T>>(query);
The following was monitor of result.
[Couchbase.N1QL.QueryResult<vCoach.Model.Couchbase.CouchbaseObject<vCoach.Model.ExerciseHistory>>]
N1QL bucket.Query result : Exception = {"無法連接至遠端伺服器"}
InnerException = {"內容中所要求的位址不正確。 xxx.xxx.xxx.xxx:0"}
PS : Wordings translation.
Exception = {"無法連接至遠端伺服器"} "Unable to connect to a remote server" ref.
google
內容中所要求的位址不正確 "Content desired address is incorrect" ref. google
Something I want to figure out is port 0 from InnerException message. I
remember the cbq-engine uses port 8093. But I don't know how to set this
port for ClientConfiguration Config ?
--
You received this message because you are subscribed to the Google Groups
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.