Sometimes your IIS is not shrink with your ASP.NET framework. As a result your publish application’s browsing url will not work. To resolve this go to your installed framework folder C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe
Work smarter, not harder.