How to fix the error “ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode” in widows shared hosting?

In this article we are going to see about how to fix the asp.net application error “ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode”. Plesk Web server that is IIS has two types of mode.One is classic mode and another one is Integrated mode.If you are developed your application in classic mode,and in your web.config file you have added the line validateIntegratedModeConfiguration=”True”.Hence your are getting the above mentioned error.

Classic mode is limited to an ASP.NET pipeline that cannot interact with the IIS pipeline.Integrated mode is recommended because ASP.NET handlers and modules can interact directly with the IIS pipeline.In order to resolve that error,kindly add the below mentioned lines in your web.config file.

Kindly try it to add in your web.config file and fix the issue.