Last post Dec 14, 2013 08:49 PM by ZenAtWork
Apr 26, 2012 07:39 AM|jsiahaan|LINK
I have a message on my class, at the following code:
bool localDataOnly = Boolean.Parse(ConfigurationManager.AppSetting["LocalDataOnly"]);
I'll be very happy someone can help how can I solve this.
Apr 26, 2012 07:42 AM|ignatandrei|LINK
add reference to system.configuration.
and then put
Apr 26, 2012 07:44 AM|rkchaudary|LINK
include the above in your classs file
note: you may need to add a reference of the assembly System.Configuration.dll
Apr 26, 2012 07:47 AM|gopakumar.r|LINK
Try adding "using System.Configuration;" or use WebConfigurationManager
Apr 26, 2012 07:56 AM|jsiahaan|LINK
Thank so much you all for the very quick reply, now its happy.
Apr 26, 2012 08:30 AM|ignatandrei|LINK
now its happy.
I think you are happy now ;-)
Apr 26, 2012 10:02 AM|jsiahaan|LINK
It's a kind of small things I spend a whole night to solve it my self.
Again thanks a lot
Oct 03, 2012 05:02 PM|wsyeager36|LINK
I know you're amazing at answering questions and I have an issue with a problem that I can't even read a simple connectionstring from my .net 4.5 project.
Could you please take a look at this link and tell me what I'm missing????
Oct 03, 2012 05:34 PM|wsyeager36|LINK
The reference was in my client, but not in my dal class. I was looking at the referenced dlls from my client app. As soon as i added it to my dal class, it was fine.. what an idiot!
Dec 14, 2013 08:49 PM|ZenAtWork|LINK
The same story with me. I learned from your case.