After finishing the web application and publishing it online no matter I try I keep getting the following error, keep in mind that it runs locally as it should...
If you are facing this error after Hosting your Website on server make sure that you create the directory And/Or go to Hosting server -> Site Manager -> Application Starting Point ,select the proper path or folder of your uploaded Published Folder.
It resolve my same problem , I hope it will help you also.