Click here to Skip to main content
15,877,567 members
Home / Discussions / Web Development
   

Web Development

 
QuestionI might be wrong about Firefox BOOKMARK behavior ... but Pin
RedDk19-Dec-20 8:36
RedDk19-Dec-20 8:36 
QuestionMVC control libraries Pin
#realJSOP18-Dec-20 2:28
mve#realJSOP18-Dec-20 2:28 
AnswerRe: MVC control libraries Pin
Richard Deeming18-Dec-20 3:04
mveRichard Deeming18-Dec-20 3:04 
GeneralRe: MVC control libraries Pin
#realJSOP18-Dec-20 3:46
mve#realJSOP18-Dec-20 3:46 
GeneralRe: MVC control libraries Pin
Richard Deeming18-Dec-20 3:49
mveRichard Deeming18-Dec-20 3:49 
GeneralRe: MVC control libraries Pin
#realJSOP19-Dec-20 2:10
mve#realJSOP19-Dec-20 2:10 
GeneralRe: MVC control libraries Pin
#realJSOP20-Dec-20 3:51
mve#realJSOP20-Dec-20 3:51 
QuestionDebugging two ASP.NET projects with Chrome - Failed to launch debug adapter Pin
glen20516-Dec-20 21:55
glen20516-Dec-20 21:55 
Hi there:

I have to debug two branches of the same codebase side-by-side (a development branch vs a release branch), as we're seeing unexplained differences in behaviour between them. I've opened two copies of VS 2019 (latest patch v18.6.3 at 16th Dec 2020), and when launching them, one will succeed, and the other will throw up an error message:
C#
One or more errors occurred.
Failed to launch the debug adapter. Additional information be be available in the output window.
Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ECONNREFUSED 127.0.0.1:4318).

What I've tried:

- Making sure that each web project is set to start on a unique port number, I've selected 53199 for one branch and 53200 for another.

- Delete the applicationhost.config inside .vs, restart VS and let it recreate.

What I've noticed:

- The two Visual Studios try to launch as tabs in the SAME Chrome instance. I loaded a random different project from another codebase and that project launched its own new Chrome instance.

- Inside each applicationhost.config, in the <sites> section, BOTH projects have:
XML
<site name="foo.Web" id="2">

- Their site "id" is the same, but each config file does have the correct virtualdirectorypath for its project location.

- this is new behaviour (maybe a new bug?) and I've been able to run this configuration plenty of times in the past.

- the output window contains only this:
Verbose logs are written to:
C:\Users\Bar\AppData\Local\Temp\visualstudio-js-debugger.txt
The program '' has exited with code -1 (0xffffffff).
The program '[21072] iisexpress.exe' has exited with code 0 (0x0).

- as each site starts up, the visual studio debugger log shows a --remote-debugging-port which is unique for each site, so no conflict there...

Since we're using TFS version control, "two branches" in this context means two completely different folders on disk, each with a full copy of the project source inside. I cannot see why these projects interfere with each other. Each one launches into debug successfully on its own and then the other won't launch.

Can I "fool" VS / IIS Express by manually changing the site "id" or "name" in applicationhost.config?

Any help gratefully appreciated!

-- edit: there are workarounds, e.g. using two different browsers, but still would like to clarify whether it's me or VS or IIS express causing this, and whether it can be fixed!
AnswerRe: Debugging two ASP.NET projects with Chrome - Failed to launch debug adapter Pin
F-ES Sitecore17-Dec-20 22:51
professionalF-ES Sitecore17-Dec-20 22:51 
QuestionPHP4.3 Mod, coloring table rows Pin
jkirkerx1-Dec-20 9:29
professionaljkirkerx1-Dec-20 9:29 
AnswerRe: PHP4.3 Mod, coloring table rows [solved] Pin
jkirkerx1-Dec-20 9:34
professionaljkirkerx1-Dec-20 9:34 
AnswerRe: PHP4.3 Mod, coloring table rows Pin
Richard Deeming1-Dec-20 21:55
mveRichard Deeming1-Dec-20 21:55 
GeneralRe: PHP4.3 Mod, coloring table rows Pin
jkirkerx2-Dec-20 8:30
professionaljkirkerx2-Dec-20 8:30 
QuestionHow to insert roles in php and mysql? Pin
Nicolas Veloso16-Nov-20 6:04
Nicolas Veloso16-Nov-20 6:04 
SuggestionRe: How to insert roles in php and mysql? Pin
Richard Deeming16-Nov-20 21:51
mveRichard Deeming16-Nov-20 21:51 
QuestionBlazor SPA Pin
Super Lloyd16-Nov-20 1:26
Super Lloyd16-Nov-20 1:26 
QuestionDesign questions about asp.net core website and asp.net core webapi Pin
instantmaker13-Nov-20 9:04
instantmaker13-Nov-20 9:04 
AnswerRe: Design questions about asp.net core website and asp.net core webapi Pin
Afzaal Ahmad Zeeshan14-Nov-20 1:50
professionalAfzaal Ahmad Zeeshan14-Nov-20 1:50 
GeneralRe: Design questions about asp.net core website and asp.net core webapi Pin
instantmaker14-Nov-20 2:49
instantmaker14-Nov-20 2:49 
GeneralRe: Design questions about asp.net core website and asp.net core webapi Pin
Afzaal Ahmad Zeeshan14-Nov-20 3:17
professionalAfzaal Ahmad Zeeshan14-Nov-20 3:17 
GeneralRe: Design questions about asp.net core website and asp.net core webapi Pin
instantmaker16-Nov-20 13:03
instantmaker16-Nov-20 13:03 
AnswerRe: Design questions about asp.net core website and asp.net core webapi Pin
Leif Simon Goodwin22-Dec-20 7:17
Leif Simon Goodwin22-Dec-20 7:17 
GeneralRe: Design questions about asp.net core website and asp.net core webapi Pin
instantmaker22-Dec-20 7:34
instantmaker22-Dec-20 7:34 
GeneralRe: Design questions about asp.net core website and asp.net core webapi Pin
Leif Simon Goodwin22-Dec-20 9:07
Leif Simon Goodwin22-Dec-20 9:07 
GeneralRe: Design questions about asp.net core website and asp.net core webapi Pin
instantmaker22-Dec-20 10:39
instantmaker22-Dec-20 10:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.