Link to home
Start Free TrialLog in
Avatar of Larry Brister
Larry BristerFlag for United States of America

asked on

Null Reference Exception

Hey folks,
 How do I handle this?

Screen print of code attached.

User generated image
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,
check for Nothing on the SelectSingleNode.
Can you post the content of the text variable?
If you know that there should be the result node inside please check if you have any namespaces included in your XML string, Namespaces / Namespace manager have to be created/added beforehand.
HTH
Rainer
Avatar of Larry Brister

ASKER

Well...duh on me.

Ever notice how you can stare at something for an hour and not pick up the problem?

But someone else can in a minute flat?

I'm killing me