We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am having some errors when executing INSERT INTO several times (10 rounds of 10000):
1.1. InnerException of NuoDbSqlException:
IOException: Unable to read data from the transport connection: An established connection was aborted by the software in your host machine.
IOException
1.1.1. InnerException of IOException:
SocketException: An established connection was aborted by the software in your host machine
SocketException
Code:
using(var connection = new NuoDbConnection("Server=localhost;Database=MyDatabase;User=sa;Password=mypass;Schema=HOCKEY")) { connection.Open(); foreach(var item in dictionary) { new NuoDbCommand($ "INSERT INTO Employee (Id, Name, ProjectId) VALUES ({item.Key}, '{item.Value.Name}', {item.Value.ProjectId})", connection).ExecuteNonQuery(); } connection.Close(); //made no difference }
The text was updated successfully, but these errors were encountered:
Thanks for reporting this; we will investigate the issue
Sorry, something went wrong.
albymassari
No branches or pull requests
I am having some errors when executing INSERT INTO several times (10 rounds of 10000):
1.1. InnerException of NuoDbSqlException:
IOException
: Unable to read data from the transport connection: An established connection was aborted by the software in your host machine.1.1.1. InnerException of IOException:
SocketException
: An established connection was aborted by the software in your host machineCode:
The text was updated successfully, but these errors were encountered: