Windows Azure cannot start locally

I have been developing windows azure for a while and it worked fine until this morning.

Today I uninstalled the preview of .NET 4.5 and the beta version of asp.net mvc 4. After that, I installed the beta version of asp.net mvc 4 again. Then suddenly all my windows cannot start from the project.

I have "403 - Forbidden: Access Denied." if my web role was an asp.net mvc project.

"500 - Internal Server Error." If the web role was an asp.net web project.

I tried to debug the project, but I have "there was a bug related to the debugger for the IIS workflow for the URL" ... "for the role instance ....

It works correctly if the project is just one asp.net mvc project or asp.net web project.

What's wrong?

+4
source share
2 answers

I came across this today after uninstalling .net 4.5 ... you need to re-register ASP.NET 4.0 using IIS 7.x. aspnet_regiis -i

+3
source

Thanks, Bart, but that did not work for me. After I ran aspnet_regiis -i, I got the error message "Failure Changing IIS ApplicationHost.config". I also tried the solution in this post , no luck. Therefore, in the end, I had to reinstall iis 7, now it works as usual.

0
source

Source: https://habr.com/ru/post/1398694/


All Articles