orientechnologies / OrientDB-NET.binary

C#/.NET binary driver for OrientDB
MIT License
93 stars 59 forks source link

OrientDB CreateDatabasePool error... #80

Open sudaraD opened 8 years ago

sudaraD commented 8 years ago

@GoorMoon

OClient.CreateDatabasePool("127.0.0.1", 2480, "GreatfulDeadConcerts", ODatabaseType.Graph, "root", "hello", 5, "myTestDatabaseAlias");

after execute got an exception--

stack trace

[IndexOutOfRangeException: Index was outside the bounds of the array.] Orient.Client.Protocol.Serializers.BinarySerializer.ToByte(Byte[] data) +34 Orient.Client.Protocol.Connection.ExecuteOperation(T operation) +1152 Orient.Client.Protocol.Connection.InitializeDatabaseConnection(String databaseName, ODatabaseType databaseType, String userName, String userPassword) +541 Orient.Client.Protocol.Connection..ctor(String hostname, Int32 port, String databaseName, ODatabaseType databaseType, String userName, String userPassword, String alias, Boolean isReusable) +140 Orient.Client.Protocol.DatabasePool..ctor(String hostname, Int32 port, String databaseName, ODatabaseType databaseType, String userName, String userPassword, Int32 poolSize, String alias) +265 Orient.Client.OClient.CreateDatabasePool(String hostname, Int32 port, String databaseName, ODatabaseType databaseType, String userName, String userPassword, Int32 poolSize, String alias) +123 _Default.Page_Load(Object sender, EventArgs e) in c:\Users\Sudara\Documents\Visual Studio 2013\WebSites\WebSite9\Default.aspx.cs:20 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51 System.Web.UI.Control.OnLoad(EventArgs e) +92 System.Web.UI.Control.LoadRecursive() +54 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772

user33 commented 5 years ago

please share me the code for oreintdb 2.2.33 database connection through c#.net