This is a vb.net managed code. I am getting an error ''Object Reference not Set'' at Line 14 where I compare if cNode is Nothing.
What this Sub does is it takes the query parameter RCTID and does a thisXDocument.Query(), after which I want to see (compare) if a node was returned or not. If a valid node was returned then alls ok (do not prompt), ...