Error Reading Configuration Settings

  • Thread starter Thread starter Guogang
  • Start date Start date
G

Guogang

Hi,

I am deploying a project to a laptop. It works fine on my development
computer, and I have tested once a few weeks ago.

However, this time, the program can not start at all. After some digging, I
find that it stops right at the following line (this line is part of the
function called by my program's initialization code):

--------------------------------------------------------------
//location is a string
location = ConfigurationSettings.AppSettings.Get("Location");
--------------------------------------------------------------

Before this line, everything is normal, but program just exit at this line.
I can not catch any exceptions at all, and the process just disappears in
"Windows Task Manager".

Any ideas?

Thanks a lot,
Guogang
 
Back
Top