Click here to Skip to main content
16,005,162 members
Home / Discussions / C#
   

C#

 
GeneralRe: Insert statement throws an exception Pin
Pete O'Hanlon29-Nov-06 1:31
mvePete O'Hanlon29-Nov-06 1:31 
GeneralRe: Insert statement throws an exception Pin
V.29-Nov-06 1:59
professionalV.29-Nov-06 1:59 
GeneralRe: Insert statement throws an exception Pin
Robert Rohde29-Nov-06 1:13
Robert Rohde29-Nov-06 1:13 
GeneralRe: Insert statement throws an exception Pin
V.29-Nov-06 1:38
professionalV.29-Nov-06 1:38 
AnswerRe: Insert statement throws an exception Pin
Guffa29-Nov-06 1:48
Guffa29-Nov-06 1:48 
GeneralRe: Insert statement throws an exception Pin
V.29-Nov-06 2:01
professionalV.29-Nov-06 2:01 
GeneralRe: Insert statement throws an exception Pin
ednrgc29-Nov-06 2:50
ednrgc29-Nov-06 2:50 
QuestionConfigurationManager raises an exception Pin
manustone29-Nov-06 0:46
manustone29-Nov-06 0:46 
Hi all
I'm not able to use the ConfigurationManager class.
Each time I try to access to Application Settings I receive an exception.

In my App.config file I have
<!--General Settings--><br />
  <appsettings><br />
    <add key  =  "Author"   value = "manustone"  /><br />
  </appsettings><br />


inside <configuration></configuration>.


I added a reference to System.Configuration.dll

When in my code i use
<br />
string strAuthor = ConfigurationManager.AppSettings["Author"];<br />


I've got an exception.
Do you know where is the problem?

Regards
Manu Stone
AnswerRe: ConfigurationManager raises an exception Pin
Eduard Keilholz29-Nov-06 1:15
Eduard Keilholz29-Nov-06 1:15 
GeneralRe: ConfigurationManager raises an exception Pin
manustone29-Nov-06 2:42
manustone29-Nov-06 2:42 
GeneralRe: ConfigurationManager raises an exception Pin
manustone29-Nov-06 5:14
manustone29-Nov-06 5:14 
AnswerRe: ConfigurationManager raises an exception Pin
Bassam Saoud29-Nov-06 1:21
Bassam Saoud29-Nov-06 1:21 
GeneralRe: ConfigurationManager raises an exception Pin
manustone29-Nov-06 2:40
manustone29-Nov-06 2:40 
GeneralRe: ConfigurationManager raises an exception Pin
manustone29-Nov-06 5:15
manustone29-Nov-06 5:15 
AnswerRe: ConfigurationManager raises an exception Pin
ednrgc29-Nov-06 3:04
ednrgc29-Nov-06 3:04 
GeneralRe: ConfigurationManager raises an exception Pin
manustone29-Nov-06 5:01
manustone29-Nov-06 5:01 
GeneralRe: ConfigurationManager raises an exception Pin
manustone29-Nov-06 5:15
manustone29-Nov-06 5:15 
QuestionHow to Pass Paramaters to CrystalReports ? Pin
hdv21229-Nov-06 0:41
hdv21229-Nov-06 0:41 
QuestionForm.Activeform shows Undefined value Pin
ASGuru29-Nov-06 0:29
ASGuru29-Nov-06 0:29 
AnswerRe: Form.Activeform shows Undefined value Pin
Martin#29-Nov-06 1:03
Martin#29-Nov-06 1:03 
QuestionDiable /enable Top Down button in printpreviewDialog when reached end page or first page Pin
GauravRahi29-Nov-06 0:14
GauravRahi29-Nov-06 0:14 
QuestionSerializedExceptionExtension Pin
Rohit Pandhi28-Nov-06 23:44
Rohit Pandhi28-Nov-06 23:44 
QuestionAn invalid VARIANT was detected Pin
MANOJ BATRA28-Nov-06 23:20
MANOJ BATRA28-Nov-06 23:20 
AnswerRe: An invalid VARIANT was detected Pin
ednrgc29-Nov-06 3:12
ednrgc29-Nov-06 3:12 
QuestionSeeking: Panel Opacity & Border Pin
adrianna_r28-Nov-06 22:42
adrianna_r28-Nov-06 22:42 

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.