connection to executable failed
by Duncan Perham · in Torsion · 10/22/2010 (11:08 pm) · 27 replies
I am a noob at torque, I have tgb, and am trying to use torsion to debug scripts, but I just get connection to exe failed. I noticed a little connect window pop up and disaper first, its trying to connect to 127.0.0.1, port 6060. my local ips are in the 192.168.0.X range, so it has no chance of connecting to anything???. What is it trying to do...
I just downloaded the latest versions of torque and torsion (demo at moment). Remember I am a noob, so any, "grab this file put it here" etc, please be noob friendly :). (ps I dont have the pro version)
Ok, after a bit more messing arround and reading and loss of hair, im still none the wiser.
So here it is in a nut shell.
I open tgb, choose new project.
Select adventurekit as my template, and call it adventure1.
it then creates a folder in C:/adventure1 (I have put it in other places with the same effect, I just put it into C: as its easier to explain the paths)
amoungst other things i now have
C:/Adventure1/adventure1/project.t2dProj
C:/Adventure1/adventure1/adventure1.exe
C:/Adventure1/adventure1/Game.torsion
I double click Game.torsion and torsion loads, sets up somthing then gives me a list of files and folders.
common (folder)
game (folder)
consol.log
main.cs
project.t2dProj
At this point I hit F5. and it comes back with an error screen,
"connection to executable failed".
Please reply for a total noob.
also how can I add a picture to this post, (says a thousand words, so they say)
I just downloaded the latest versions of torque and torsion (demo at moment). Remember I am a noob, so any, "grab this file put it here" etc, please be noob friendly :). (ps I dont have the pro version)
Ok, after a bit more messing arround and reading and loss of hair, im still none the wiser.
So here it is in a nut shell.
I open tgb, choose new project.
Select adventurekit as my template, and call it adventure1.
it then creates a folder in C:/adventure1 (I have put it in other places with the same effect, I just put it into C: as its easier to explain the paths)
amoungst other things i now have
C:/Adventure1/adventure1/project.t2dProj
C:/Adventure1/adventure1/adventure1.exe
C:/Adventure1/adventure1/Game.torsion
I double click Game.torsion and torsion loads, sets up somthing then gives me a list of files and folders.
common (folder)
game (folder)
consol.log
main.cs
project.t2dProj
At this point I hit F5. and it comes back with an error screen,
"connection to executable failed".
Please reply for a total noob.
also how can I add a picture to this post, (says a thousand words, so they say)
#22
11/04/2010 (11:58 pm)
do you support torqedev, because it does the same thing, just dosent report that there is no connection to exe.
#23
11/05/2010 (12:03 am)
torquedev does come up with an error, EOF expected in project.t2dproj, I remove the file then it runs like torsion but does not stop with a carret in debug
#24
I am running Windows 7 and Torque Game Builder 1.7.5 Pro.
It seems like I used to be able to do the debug thing but now I just keep getting the same error.
01/09/2011 (12:20 am)
Has anyone found a solution to this problem? I am having the same trouble ("Connection to executable failed!") when running Torison in debug mode.I am running Windows 7 and Torque Game Builder 1.7.5 Pro.
It seems like I used to be able to do the debug thing but now I just keep getting the same error.
#25
08/30/2011 (8:42 am)
nah, I gave up with this. Total wate of money. However they were very good with coms, although the problem was never fixed.
#26
enableOutputDebug (true);
dbgSetParameters (6060, "password", false);
12/14/2011 (3:01 am)
you can put main.cs the beginning of the following:enableOutputDebug (true);
dbgSetParameters (6060, "password", false);
#27
Hope this helps!
07/17/2012 (12:07 pm)
I'm almost certain that this has something to do with trying to run a project out of Torsion with debugging while pointing at a release executable. I was having this issue earlier but now that I've set up both a Release and a Debug profile in Torsion and pointed them at their respective executable from \tgb\gameData\T2DProject I'm not longer experiencing the "connection to executable failed" problem.Hope this helps!
Torque Owner Duncan Perham