Results 1 to 3 of 3

Thread: [RESOLVED] Totally confused (EXE -- copy)

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2007
    Posts
    751

    Resolved [RESOLVED] Totally confused (EXE -- copy)

    I'm having problems that I have never had before and really haven't touched a thing.

    I'm able to run my program (the EXE file) from either the BIN>RELEASE folder or the DEBUG>RELEASE FOLDER.

    I just double click and it runs fine.

    If I copy and paste the EXE file to the desktop, I get an unhandled exception and a "configuration system failed to initialize" error -- I click continue and even the form looks weird, like it's an older version or something. Any copy I make does this.

    I've always been able to simply copy me EXE file and run the program from a copy -- no problem -- in fact, that's how I've distributed it. The program is about 150K.

    Thanks for any help. Anyone know what's going on?

    I'm going to try using a setup disc tomorrow and see if I have the problem.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Totally confused (EXE -- copy)

    Is there a ".config" file in your bin\Release and bin\Debug folders? It sounds like you've done something that requires data to be stored in the config file, in which case you must always deploy that config file with the EXE.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2007
    Posts
    751

    Re: Totally confused (EXE -- copy)

    Thanks JML -- I'll mark this resolved as I have 2 posts basically about the same thing -- but yeah, that seems to be the thing I need to address.

    After I get some coffee in me.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width