Click here to Skip to main content
15,893,923 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionUnderstanding using statement Pin
Vipul Mehta9-Sep-09 0:56
Vipul Mehta9-Sep-09 0:56 
AnswerRe: Understanding using statement Pin
Eddy Vluggen9-Sep-09 1:24
professionalEddy Vluggen9-Sep-09 1:24 
AnswerRe: Understanding using statement Pin
Jaime Olivares9-Sep-09 3:13
Jaime Olivares9-Sep-09 3:13 
AnswerRe: Understanding using statement Pin
DaveyM699-Sep-09 3:49
professionalDaveyM699-Sep-09 3:49 
AnswerRe: Understanding using statement Pin
supercat911-Sep-09 8:02
supercat911-Sep-09 8:02 
AnswerRe: Understanding using statement Pin
muktaa15-Sep-09 1:12
muktaa15-Sep-09 1:12 
AnswerRe: Understanding using statement Pin
Shameel22-Oct-09 5:37
professionalShameel22-Oct-09 5:37 
QuestionConfigurationManager: ConfigurationErrorsException after removing config attribute? [RESOLVED] Pin
Homncruse8-Sep-09 13:17
Homncruse8-Sep-09 13:17 
Exception message:
"Unrecognized attribute 'valid'. Note that attribute names are case-sensitive.

I used to have a field called "valid" in one of my configuration elements, but through the course of development it's now obsolete, so I'd like to remove it. I removed it from the ConfigurationElement subclass, and now when I try to read the config section (via config.GetSection), I get the above exception, which then makes my config section variable null, blah blah blah, no saved config = program effectively unusable from session to session.

Google fails me. MSDN fails me. Internet fails me.

I'm new to the ConfigurationManager, having only ever done equivalent functionality through .ini files before, so I'm sure there's probably just some "cleanup" command I can do that I'm just not aware of.

modified on Friday, October 23, 2009 2:41 PM

AnswerRe: ConfigurationManager: ConfigurationErrorsException after removing config attribute? Pin
Shameel22-Oct-09 5:41
professionalShameel22-Oct-09 5:41 
GeneralRe: ConfigurationManager: ConfigurationErrorsException after removing config attribute? Pin
Homncruse22-Oct-09 6:36
Homncruse22-Oct-09 6:36 
GeneralRe: ConfigurationManager: ConfigurationErrorsException after removing config attribute? Pin
Shameel22-Oct-09 8:56
professionalShameel22-Oct-09 8:56 
GeneralRe: ConfigurationManager: ConfigurationErrorsException after removing config attribute? Pin
Homncruse22-Oct-09 9:34
Homncruse22-Oct-09 9:34 
GeneralRe: ConfigurationManager: ConfigurationErrorsException after removing config attribute? Pin
Shameel23-Oct-09 8:23
professionalShameel23-Oct-09 8:23 
GeneralRe: ConfigurationManager: ConfigurationErrorsException after removing config attribute? Pin
Shameel23-Oct-09 8:25
professionalShameel23-Oct-09 8:25 
GeneralRe: ConfigurationManager: ConfigurationErrorsException after removing config attribute? Pin
Homncruse23-Oct-09 8:41
Homncruse23-Oct-09 8:41 
QuestionPartial loading of .net assemblies Pin
Jaime Olivares7-Sep-09 20:53
Jaime Olivares7-Sep-09 20:53 
AnswerRe: Partial loading of .net assemblies [modified] Pin
Eddy Vluggen7-Sep-09 21:12
professionalEddy Vluggen7-Sep-09 21:12 
GeneralRe: Partial loading of .net assemblies Pin
Jaime Olivares7-Sep-09 21:21
Jaime Olivares7-Sep-09 21:21 
GeneralRe: Partial loading of .net assemblies Pin
Eddy Vluggen7-Sep-09 21:45
professionalEddy Vluggen7-Sep-09 21:45 
GeneralRe: Partial loading of .net assemblies Pin
Jaime Olivares8-Sep-09 3:03
Jaime Olivares8-Sep-09 3:03 
GeneralRe: Partial loading of .net assemblies Pin
Not Active8-Sep-09 3:15
mentorNot Active8-Sep-09 3:15 
GeneralRe: Partial loading of .net assemblies Pin
Jaime Olivares9-Sep-09 3:03
Jaime Olivares9-Sep-09 3:03 
GeneralRe: Partial loading of .net assemblies Pin
Not Active9-Sep-09 3:39
mentorNot Active9-Sep-09 3:39 
AnswerRe: Partial loading of .net assemblies Pin
Not Active8-Sep-09 2:13
mentorNot Active8-Sep-09 2:13 
GeneralRe: Partial loading of .net assemblies Pin
Jaime Olivares8-Sep-09 3:00
Jaime Olivares8-Sep-09 3:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.