0

I have a problem with debugging on local host, I cannot resolve it neither by restarts or reconnecting to networks etc.

I cannot solve it with solutions from here: Waiting for localhost, forever!

(The project used to work, then I left it for two weeks and 'something' must have changed).

The symptoms are following - in Firefox, it says waiting for localhost forever, in Internet Explorer it waits a while and then shows an InternalServerError 500.

In VS 2015 it says that it's loading various assemblies (Owin etc) and it takes a VERY long time, but regardless, when the loading finishes and VS says it's Ready, it still does not work.

I am not hitting a breakpoint nor an endless loop.

I have two applications that I test, one uses port 62331, other one uses 44300. The one that uses 62331 works OK, the other one does not. PortQry says both ports are listetning: enter image description here enter image description here

I have noticed that I have 4 IIS processes active in 'Processes' tab, not sure if that's right or not...

Please let me know what can I check or how can I try to fix it.

6
  • Have you checked your IIS logs? Is this possibly some sort of IIS level redirect loop going on.? Commented Sep 6, 2016 at 10:28
  • 1
    Not debug your app, just run it using "start without debugging", how about the result? Debug -> Windows -> Exception Settings, enable the exception thrown option, do you get any detailed exception messages? As you said that the symbols loaded take long time, you could disable it under TOOLS->Options->Debugging->Symbols. Commented Sep 7, 2016 at 2:49
  • @JackZhai - without debugging it starts OK... Commented Sep 7, 2016 at 7:35
  • 1
    @Bartosz,do you debug it in other VS machine? Put a watch on “this.Context.AllErrors” which allow you to debug each request until you get the error in the AllErrors property: gavindraper.com/2013/06/22/…. Maybe you could get more detailed error. Please also make sure that it is not the Browser issue or the settings under project properties->Web, you could troubleshoot or compare it using a simple MVC app. Commented Sep 7, 2016 at 11:34
  • @Bartosz, what about this issue? Any updates? Commented Sep 11, 2016 at 3:39

1 Answer 1

1

>>I ended up redownloading the project from TFS and it somehow started working

Maybe the previous project was not the latest version from the server or others, anyway, since this question has been resolved, I just help you post the comment as the answer here.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.