How to publish App in Visual Studio 2017 with ASP.MVC 5

0

Good afternoon, I'm testing ASP.MVC 5 and I made a test app, I published it in visual studio exporting to a directory and tried to upload it in IIS in Windows 10.

I did all the procedure described on the site ASP and trying to open appears HTTP Error 403.14 - Forbidden. I went into IIS, gave the permission and when trying to open again, it lists the content and does not open the APP. What could be wrong?

    
asked by anonymous 25.05.2017 / 22:06

2 answers

0

Ronaldo, try to do this procedure, I had the same problem and managed to solve it like this: link
Hope it helps.

    
25.05.2017 / 22:25
0

In my case the problem was the version of Asp.NET installed next to IIS. See the image below if you have the installed components

Then,gotoIISandchangethepoolofyourapplicationtothecorrectversionofthe.NETFrameworkinmycase,IcreatedanAsp.NETMVC5.NETframework4.5application

    
03.10.2018 / 23:48