I am new to Neo4j and ran into a problem executing the C# sample code from https://neo4j.com/developer/#cs-1. I am using VS2019 and the server runs at localhost:7474. (the last line from the neo4j console command is 2020-02-05 18:41:05.789+0000 INFO Remote interface available at http://localhost:7474/.
The error message is
Message=Received an unexpected HTTP status when executing the request.
The response status was: 404 Not Found
I checked the following:
List item password is correct. If I use wrong password, it returns a clear message indicating my password is wrong
List item tried .net core and .net framework 4.8.
List item change the URI in the following code from lcoalhost:7474/db/data to localhost:7474/neo4j/data or localhost:7474/db/neo4j. All of them return the same erorr message.
_graphClient = new GraphClient(new Uri("http://localhost:7474/db/data"), "neo4j", "mypassword");