2

I was a user of visual studio 2012 but now i get switched to visual studio 2015.

Newly developed applications are working and running fine on development server but when I open old .Net applications and runs them it's generating error given below:

An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.

How can I resolve this ? Can anyone help me please?

Pedram
  • 6,256
  • 10
  • 65
  • 87
Alina Anjum
  • 1,178
  • 6
  • 30
  • 53

2 Answers2

2

I just Added the following lines in web.config file under configuration TAG :

 <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
  </system.webServer>
Alina Anjum
  • 1,178
  • 6
  • 30
  • 53
1

Follow the answer in this SO thread

There are three options to solve this.

  1. Change the Application Pool mode to one that has Classic pipeline enabled.

  2. In web.config / web app will need to be altered to support Integrated pipelines. Normally this is as simple as removing parts of your web.config.

  3. Add the following to your web.config.

Community
  • 1
  • 1
Sam
  • 2,917
  • 1
  • 15
  • 28