Profile Picture

NGraphDataSourceImporter error log?

Posted By Michael Hachen 10 Years Ago
Author
Message
Michael Hachen
sad Posted 10 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 10 Years Ago
Posts: 2, Visits: 1
Hi there

I try to get the NGraphDataSourceImporter working with no luck. Is there any error log or can I get any error message why the Import fails?

I have created two sqldataadapters (Pages and Links), the SQL Connection is valid, the select Statements are valid... however I can't get it working. So I need some information about what is going wrong during the import process.

Thanks for your help!
Mike Hachen

Nevron Support
Posted 10 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)

Group: Forum Members
Last Active: 2 days ago @ 1:50 AM
Posts: 3,043, Visits: 3,777

Hi,

Check out the Visual Studio Output window for any error messages or exceptions that have occured during the import process. Also make sure that you have properly creates the Pages and Links tables and all rows have data for the columns used by the importer. You can take a look at the "Graph Data Import" example for a sample implementation.



Best Regards,
Nevron Support Team



Michael Hachen
Posted 10 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 10 Years Ago
Posts: 2, Visits: 1
Hi,

Thank you for your reply.

The only message I get in the Output window is the following:

Graph datasource import failed. Exception was: The connection was not closed. The connection's current state is open.

Sorry, I don't get it... Is the Problem that the Connection is open? I set a breakpoint right befor graphImporter.Import(); --> the connection is closed. I get the same error when I manually open the connection right bevor the Import() call.

Do you have a sample Project where you use a SqlCommand as VertexDataSource and EdgeDataSource?

Thank you for your help!
Mike Hachen

Nevron Support
Posted 10 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)

Group: Forum Members
Last Active: 2 days ago @ 1:50 AM
Posts: 3,043, Visits: 3,777

Hi,

Please, debug your database connection, make sure you don't leave an open connection to the database somewhere in your code, etc. You can also try reading the data tables you want to import to a .NET data set and use that data set for the import process to see if that solves your database problem.



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic