c# - Cannot access child value on Newtonsoft.Json.Linq.JValue during Neo4jConnection -


i've set neo4j connection not working rather throwing error:

cannot access child value on newtonsoft.json.linq.jvalue.

this neo4j ninject module file:

public class neo4jmodule : ninjectmodule {     /// <summary>loads module kernel.</summary>     public override void load()     {         bind<igraphclient>().tomethod(initneo4jclient).insingletonscope();     }      private static igraphclient initneo4jclient(icontext context)     {         var neo4juri = new uri("http://www.example.com");         var graphclient = new graphclient(neo4juri, "username", "password");         graphclient.connect();          return graphclient;     } } 

this registerservices method ninject.web.common file:

private static void registerservices(ikernel kernel)     {         kernel.load<neo4jmodule>();     }   

i don't understand why getting error. exception caught at:

graphclient.connect(); 

i debugged application , realised graphclient object upon creation comes many errors. can me?

the whole wasn't faulty. error came uri graphclient object. example http://localhost:7474/ wrong url.the correct , accepted url http://localhost:7474/db/data.

var neo4juri = new uri("http://www.example.com/db/data"); 

that's there connection working.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -