Reputation: 1230
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
Reputation: 1230
I just Added the following lines in web.config file under configuration TAG :
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
</system.webServer>
Upvotes: 2
Reputation: 2917
Follow the answer in this SO thread
There are three options to solve this.
Change the Application Pool mode to one that has Classic pipeline enabled.
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.
Add the following to your web.config.
Upvotes: 2