.net 4.5 Asp Mvc -> Error 403.14- IIS 7 - Windows Server 2008 R2

Posted by Boas Enkler on Stack Overflow See other posts from Stack Overflow or by Boas Enkler
Published on 2012-11-24T10:41:47Z Indexed on 2012/11/24 11:06 UTC
Read the original article Hit count: 324

When I want to deploy an MVC 4 (.net 4.5) application to my iis i got the 403.14 calling me that the content ist not browseable.

This also occurs when i deploy the unchanged mvc 4 template.

when using the mvc 4 template with .net 4.0 everything works. I checked the other posts but can't figure out the solution.

ist set

i ran aspnet_regiss -i which completed without any errors.

the only strange thing is that .net 4.5 is installed in the .net 4.0 directory %windows%/microsoft.net/Framework64/4.0.30319 From this folder i also ran aspnet_regiis.

to ensure that 4.5 is installed i restarted the .net 4.5 setup and it tells me taht it is installes

Also the apppools show me 4.0.30319 as version.

There is an other application targeting mvc with 4.5 which runs. but i don't know wether it was created with a 4.0 templated and retargeted to 4.5 Any hints?

The app.config is the unchanged default from the mvc 4 template.

I just tested to create a subfolder which i convert to an application. placing the site there makes it working.

But why not on root folder?

© Stack Overflow or respective owner

Related posts about iis7

Related posts about asp.net-mvc-4