Alina Anjum
Alina Anjum

Reputation: 1230

Integrated managed pipeline mode Error in VS15

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?

Upvotes: 3

Views: 4969

Answers (2)

Alina Anjum
Alina Anjum

Reputation: 1230

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

 <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
  </system.webServer>

Upvotes: 2

Sam
Sam

Reputation: 2917

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.

Upvotes: 2

Related Questions