Click here to Skip to main content
15,901,035 members
Home / Discussions / Web Development
   

Web Development

 
Questiondeployment using "FTP Passive" Pin
Super Lloyd4-Feb-21 1:56
Super Lloyd4-Feb-21 1:56 
QuestionPHP 7.4, best practice to establish a database connection Pin
jkirkerx2-Feb-21 8:10
professionaljkirkerx2-Feb-21 8:10 
QuestionWhich will be the best web development course for kids? Pin
Annet Rose13-Jan-21 23:35
Annet Rose13-Jan-21 23:35 
AnswerRe: Which will be the best web development course for kids? Pin
Richard MacCutchan14-Jan-21 0:37
mveRichard MacCutchan14-Jan-21 0:37 
RantHTML Emails - Printing Pin
Gripper 1070963823-Dec-20 6:08
Gripper 1070963823-Dec-20 6:08 
QuestionPHP 4.7, JSON and HTTP response header payload, json_encode Pin
jkirkerx19-Dec-20 11:31
professionaljkirkerx19-Dec-20 11:31 
AnswerRe: PHP 4.7, JSON and HTTP response header payload, json_encode Pin
Peter_in_278019-Dec-20 15:02
professionalPeter_in_278019-Dec-20 15:02 
GeneralRe: PHP 4.7, JSON and HTTP response header payload, json_encode Pin
jkirkerx20-Dec-20 8:01
professionaljkirkerx20-Dec-20 8:01 
AnswerRe: PHP 4.7, JSON and HTTP response header payload, json_encode Pin
Graham Breach20-Dec-20 5:02
Graham Breach20-Dec-20 5:02 
GeneralRe: PHP 4.7, JSON and HTTP response header payload, json_encode Pin
jkirkerx20-Dec-20 8:04
professionaljkirkerx20-Dec-20 8:04 
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
professional#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
professional#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
professional#realJSOP19-Dec-20 2:10 
GeneralRe: MVC control libraries Pin
#realJSOP20-Dec-20 3:51
professional#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 

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.