We, .Net Devs , deploy our Web Applications inside IIS (Internet Information Services) . So we all should know how to deploy our Web Apps to IIS .
Deploying Web Apps to IIS is not a big matter but sometimes we get few issues at Production which can take a hell lot of time sometimes .
So now I am gonna share few things I faced while deploying ASP.Net Web App in Windows Server 2008 R2 IIS 7.5 .
There are few issues you can get like below (sometimes may be more/less at your production environment) :::
Issue-1 ::: Login failed for user ‘IIS APPPOOL-MyAppPool’.
Here MyAppPool is your Application Pool Name at IIS .
If you get error something like this please try the below thing to solve –
Go to IIS -> Application Pools -> Advanced Settings
Issue-2 ::: An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.
If you get any error like this , you can try using the below node at your Web.Config .
Issue-3 ::: Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list.
This is because ASP.Net was not completely installed with IIS even though I checked that box in the “Add Feature” dialog. To fix this, I simply ran the following command at the command prompt
If you are using 32 bit system (Old version of Server and IIS), it would have looked like the following:
You can check out the below link also if you get more –
Hope , It will help you a lot .