IIS 7 - Error 403 Prohibited: access denied

Asked

Viewed 3,973 times

2

I have a webservice restfull and when Pure on my machine with my Visual Studio it works normally, but when I publish on my production server with IIS 7 it gives a denied access error. My project is in mvc, but if I place a test page at the root of my project on the server, the test page opens normally.

Simply put an HTML page in the folder where I am publishing the project, it opens the page showing that it is not authentication problem on the server, but when I publish my restfull mvc it gives the error:

403 - Prohibited: access denied.

I’m using anonymous authentication, framework 4.5, I’m going up the project by ftp in the Publish Visual Studio and my iis is on a machine win 8.

  • I forgot to mention, I’m using anonymous authentication!

  • You set up IIS to accept anonymous hits?

  • Is it your own server? Or do you use a provider?

  • Own server!

  • The error shown is 403.14 ?

  • not only 403 even!

Show 1 more comment

1 answer

1


I found the error was in windows 8 configuration.

The server did not interpret the project because the Asp.net module of IIS was not enabled, according to the microsoft documentation itself in windows 8 is disabled by default, so having to enable in the following path:

windows 8, turn on the "IIS-ASPNET45" in enabling/disabling windows features, and inside the option "internet information service -> world wide web service ->application development features -> ASP.NET 4.5"

or Windows 8 client Computers, turn on "IIS-ASPNET45" in "Turn Windows Features On/Off" under "Internet Information Services-> World Wide Web Services -> Application Development Features -> ASP.NET 4.5".

reference https://support.microsoft.com/en-us/kb/2736284

Browser other questions tagged

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