C# MVC - Error after Publish on VS015. 404 Not Found

Asked

Viewed 1,150 times

2

I did a "Publish" by VS2015 of the Web MVC type, but in the "Publish Method" I put "File System". The problem is that I published it on IIS and run the views, but when I click on the buttons it doesn’t find the methods. As if I don’t have Controller. What I do?

When I call (http://localhost/Products/Toviewcriar), give it:

HTTP 404.0 Error - Not Found The resource you are looking for has been removed, changed its name or is temporarily unavailable.

PS: I did Publish on another machine, but IIS did on its own

  • When you call on the machine itself before the Publish works?

  • The project is in MVC5? What version of IIS?

  • @Peace works, yes, very well when I use VS2015

  • @Ciganomorrisonmendez, I used VS2015, which is the latest version of MVC. And the IIS is the 10.0

  • Your VS is up to date (Tools / Extensions and Updates)?

1 answer

1

Well, actually I solved the problem. I just didn’t know how to run the ASP.NET program with a "Publish" on the "File System".

I used the program "Webmatrix" to be able to run it and it worked very well.

Grateful to all.

Browser other questions tagged

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