ASP.NET 5 MVC: unable to connect to web server ‘IIS Express’

What I’m doing: Opening Visual Studio Community 2015 File -> New -> Project Under Visual C#: Web -> ASP.NET Web Application Web Application And press f5 for the popup error “unable to connect to web server ‘IIS Express’.“ Deleting applicationhost.config, located in Documents\IISExpress\config, doesn’t change the error message. (There’s also an IISExpress folder in program files and program files (x86).) Something I … Read more

failed to load resource: the server response with a status 500 (internal server error)

If your _service.getCardList() returns null then the foreach will throw an exception which you have not handled. Maybe that is the reason you are getting (500) internal server error and not the jquery url, as 500 error code suggests that something went wrong in the server code. As a suggestion, You should use implement try – catch and log the exceptions somewhere to be able to … Read more

How to fix No connection could be made because the target machine actively refused it 127.0.0.1:64527

This error is a network-related error occurred while establishing a connection to the Server. It means that the error is occurring because there is no server listening at the hostname and port you assigned. It literally means that the machine exists but that it has no services listening on the specified port .