Why do I get a NULL reference exception?
Options
var _athenaProviderConnectionString =
ConfigurationManager.ConnectionStrings["CPPAthenaProviderConnectionString"].ConnectionString;
_athenaProviderConnectionString.Dump();
I edited LinqPad.exe.config to contain
When I try to run this as a set of statements or wrapped in a program I get a blue squiggly line under var with a message that a null reference exception was thrown. Ideas on what I am doing wrong?
Kevin
ConfigurationManager.ConnectionStrings["CPPAthenaProviderConnectionString"].ConnectionString;
_athenaProviderConnectionString.Dump();
I edited LinqPad.exe.config to contain
When I try to run this as a set of statements or wrapped in a program I get a blue squiggly line under var with a message that a null reference exception was thrown. Ideas on what I am doing wrong?
Kevin
Comments
-
Solved. Thank you!!
-
rkb, it would be considerate if you would indicate how it was solved rather than giving a very unhelpful response.