While working with Visual Studio if you face this issue then makes sure that you have below setting in your web.config file: