I'm using GrapheneDB to host my Neo4j instance, and am using Readify's Neo4jClient nuget library to connect to it from my locally-running MVC application, like so:
var uri = new Uri(HttpContext.Current.Server.MapPath("~/App_Data/Data.csv"));
client.Connect();
client.Cypher
.LoadCsv(uri, "user")
.Create("(u:User { Id: user[1], Name: user[2] })")
.ExecuteWithoutResults();
This is throwing a LoadExternalResourceException:
Cannot load from URL 'file:///C:/source/blah/src/App_Data/Data.csv': configuration property 'dbms.security.allow_csv_import_from_file_urls' is false
Where and how am I to configure this parameter?
Secondly, is it necessary for the csv import file to be accessible from the Graphene DB instance, or is this a client concern?