Error Reading Configuration Settings

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Guogang

    #1

    Error Reading Configuration Settings

    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 = ConfigurationSe ttings.AppSetti ngs.Get("Locati on");
    --------------------------------------------------------------

    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


  • Guogang

    #2
    Re: Error Reading Configuration Settings

    Never mind, I have some error in config file.
    "Guogang" <nospam@no_such _domain.com> wrote in message
    news:%23$v13yuV DHA.1984@TK2MSF TNGP11.phx.gbl. ..[color=blue]
    > 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,[/color]
    I[color=blue]
    > 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 = ConfigurationSe ttings.AppSetti ngs.Get("Locati on");
    > --------------------------------------------------------------
    >
    > Before this line, everything is normal, but program just exit at this[/color]
    line.[color=blue]
    > I can not catch any exceptions at all, and the process just disappears in
    > "Windows Task Manager".
    >
    > Any ideas?
    >
    > Thanks a lot,
    > Guogang
    >
    >[/color]


    Comment

    Working...