Instead of deleting, try correcting error in the file.

Tech-Archive recommends: Fix windows errors by optimizing your registry



I too had the same error. Instead of deleting App.Config file, I looked into it. There was an error in the App.Config file. Upon correcting this error it worked fine.
.