I have issues to deploy a simple application on IIS over a remote desktop. The application is a simple "Hello World" website using ASP.Net (not .core) with an MVC pattern, developed with Visual Studio 2017.
I use the "File System" way to publish my app and upload it to the server (Windows Server 2016) with IIS 10.
This is the parameters I used to publish my app on IIS :
I had an HTTP ERROR 403.14 but following this topic (HTTP Error 403.14 - Forbidden - The Web server is configured to not list the contents of this directory) and adding the following code in my web.config
<system.webServer>
<directoryBrowse enabled="true" />
</system.webServer>
I can see an improvement: I can see the directory, but the application won't start.
If I use the following code in my web.config, I got an error 403.14 - Forbidden
<system.webServer>
<defaultDocument>
<files>
<add value="insertion.aspx" />
</files>
</defaultDocument>
<directoryBrowse enabled="false" />
</system.webServer>
What am I doing wrong ? I'm out of the idea. Thanks