Asp.net MVC
- Download and install appropriate .Net framework SDK/ developer pack/ runtime
- depend on .net framework version. Register IIS using below command
- %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -u
- %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -i
- Reset IIS
- Download URL redirect module (if there are redirect rules defined in web.config)
- if you are getting something related to server not reachable or could not able to reach
- check for web site bindings
- if same port has been assigned to some other site then this could cause unexpected behavior
- Try stopping all other site even the default one and only keep the one started which you are trying to deploy
- 404 (check developer tools network tab) - if you are getting 404 that means server is reachable the route is incorrect or is not defined in your web app
- 500 (check developer tools network tab) - if you are getting 500 that means some error from application. Check application log for more details
- Check website physical path security settings. It should have appropriate rights such as
- IIS_IUSRS
- Download appropriate .net core sdk/ runtime from
- Reset IIS
- check IIS binding
- physical path security
No comments:
Post a Comment