After developping my Website using ASP.NET, C# and the MVC pattern, i'm now to the point of deploying my site to a 'real' server (not IIS express from visual studio anymore).
So, i tried to use Web deploy, configured everything and it seem to have been properly done because i now see all my files from the server side.
But sadly, when i try to access the website, i run into error 403 (from both the client and the server), the server gives me a little more information :
"Error 403.14 - Forbidden - The server isn't configured to show the files of this directory"
If i try to use the url as i did with Visual Studio (like, url/Views/Home/) and it returns this :
Error 500.19
28: <system.webServer>
29: <handlers>
30: <remove name="BlockViewHandler"/>
Here's the web.config files concerned : (a bit)
<system.webServer>
<handlers>
<remove name="BlockViewHandler"/>
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
</handlers>
I don't see where's the problem, as this website was running fine from Visual Studio.
The deploy is done in release mode.
EDIT: I enabled directory browsing, and it returns the same error 500 when i get in the 'Views' folder