Error localhost Visual Studio

Asked

Viewed 5,090 times

3

My VS was working perfectly, today I bought and installed the antivirus Kaspersky, when I went to run a site ASP.NET (MVC) the following error appeared:

UNABLE TO START PROGRAM 'An operation is not validates in the current state.

inserir a descrição da imagem aqui How do I solve the problem?

  • Switch from browser to run and put the Oko. rs It is not something very right to do but in need and lack of time works well. When I do this he ends up sort of Designing the first browser.

2 answers

6


Check your Firewall and try to change port, probably an ISS problem. To configure follow the example here:

CTRL+R

gerir foncionalidades do windows

escolher os programas

aplicar modificacoes

resultado do locahost

1

An even simpler option is to stop the IIS service and run the project again in Visual Studio that when running (F5) again your project (by default) the visual studio will move up a new instance of IIS.

See how to stop the service simply and easily: inserir a descrição da imagem aqui

I had the same problem and I quickly solved it.

Browser other questions tagged

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