无法从VS2017,.NET Core连接到Couchbase DB [英] Unable to connect to Couchbase DB from VS2017 , .NET Core
本文介绍了无法从VS2017,.NET Core连接到Couchbase DB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
无法从VS2017,.NET Core连接到Couchbase数据库。
仅在我的机器上获得以下异常: -
解析值时遇到意外的字符:<。路径'',第0行,第0位。
追加追踪: -
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader,JsonContract contract,Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader,Type objectType,Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader,Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize [T](JsonReader reader)
at Couchbase.Core.Serialization.DefaultSerializer.Deserialize [T](Stream stream)
在Couchbase.N1QL.QueryClient。< ExecuteQueryAsync> d__20`1.MoveNext()
解决方案
Hi Sroutups,
Couchbase 支持可在此处获得:
https://www.couchbase.com/support
此致,
IoTGirl
Unable to connect to Couchbase DB from VS2017 , .NET Core.
Getting below exception on my machine only :-
Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
Additional trace:-
at Newtonsoft.Json.JsonTextReader.ParseValue()at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)
at Couchbase.Core.Serialization.DefaultSerializer.Deserialize[T](Stream stream)
at Couchbase.N1QL.QueryClient.<ExecuteQueryAsync>d__20`1.MoveNext()
解决方案
Hi Sroutups,
Couchbase support is available here: https://www.couchbase.com/support
Sincerely,
IoTGirl
这篇关于无法从VS2017,.NET Core连接到Couchbase DB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文