Fixed by replacing App.config