Error when configuring application in IIS Local (Integrated pool)

Asked

Viewed 1,257 times

3

Personal hail,

I am new with . net and am in error when creating an application in iis local. Below print of the exception and my pool.

My iis resources and project are the same as a friend’s and on his machine it works.

Someone knows what I’m doing wrong ?

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

  • 1

    You installed Framework 4.5 and registered the Framework on IIS?

  • I installed yes. Registering on IIS is on enable or disable windows features ? I don’t have the option there.

2 answers

1


I was able to solve the problem by adding the following code to the web.config:

<configuration>
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
    </system.webServer>
</configuration>
  • the problem with this is that if you use integrated mode features, they may not work and you will not know the pq

1

If you don’t use impersonate on your website, go to Authentication on IIS and disable. Or try changing the pipeline mode of the app pool to classic if your site is being migrated from iis 6.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.