IIS 7 - Error 403 Forbidden: access is denied

2

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

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

  

403 - Forbidden: access is denied.

I'm using anonymous authentication, framework 4.5 , I'm uploading the project by ftp in publish of Visual Studio and my iis is on a win 8 machine.

    
asked by anonymous 29.09.2015 / 13:34

1 answer

1

I discovered the error was in the configuration of windows 8.

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

windows 8, turn on "IIS-ASPNET45" in the enable / disable features of windows, and within the option "internet information service -> world wide web service - > ; 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 link

    
30.09.2015 / 15:20