Deploy web app into IIS and troubleshoot
Public project to install:
- Run Visual Studio as Admin role
- Right click on Project -> Public ->
1. create profile
2. Connection: Publish method: File System
Target Location: Select a folder in the computer
3. Settings: Configuration: Release
-> publish
- Open IIS management
- right click on Sites -> add Website with Physical Path is Target Location
- Restart the web site
Troubleshoot:
1. Features have to be enabled in IIS:
Goto Control Panal -> Programs and Features -> Turn Windows features on or off
in session Internet Information Services -> World Wide web Services -> Application Development Features: turn on all features under Application Development Features
HTTP Error 500.22 - Internal Server Error (An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.):
Open IIS Management, Click on Application Pools, on the right panel, select managed Pipel for your web site is integrated and .NET CLR Version is v4.0
3 403 Forbidden on window server 2008R2
- Add Application Server in Roles
- Add All IIS features
- Download .NET 4.7 then install
- In IIS : Application Pool: select the pool as the same name as the website , select Integrate, .NET framework v4.0
Pictures for references:
- Run Visual Studio as Admin role
- Right click on Project -> Public ->
1. create profile
2. Connection: Publish method: File System
Target Location: Select a folder in the computer
3. Settings: Configuration: Release
-> publish
- Open IIS management
- right click on Sites -> add Website with Physical Path is Target Location
- Restart the web site
Troubleshoot:
1. Features have to be enabled in IIS:
Goto Control Panal -> Programs and Features -> Turn Windows features on or off
in session Internet Information Services -> World Wide web Services -> Application Development Features: turn on all features under Application Development Features
HTTP Error 500.22 - Internal Server Error (An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.):
Open IIS Management, Click on Application Pools, on the right panel, select managed Pipel for your web site is integrated and .NET CLR Version is v4.0
3 403 Forbidden on window server 2008R2
- Add Application Server in Roles
- Add All IIS features
- Download .NET 4.7 then install
- In IIS : Application Pool: select the pool as the same name as the website , select Integrate, .NET framework v4.0
Pictures for references:
Comments
Post a Comment