1
Vote

Getting NullReferenceException from ExecuteSingleNonQuery

description

I am running the ShardSample UI from the Enzo 2.0 Beta,
I Add connections. I can see my 2 shards. I do the Create Test Schema OK. Add to Shard works OK.

But if I try to Add User or Mass Update, I get the NullReferenceException from mthe line like the one below, probably because _shard is Null.

How can I fix this?

long rowsAffected = _shard.ExecuteSingleNonQuery(command, c.ConnectionString, exceptions);

See attached.

file attachments

comments