Client/Server STARTDIR bug
Posted: Wed Mar 02, 2016 9:53 am
I found a Client/Server STARTDIR bug:
If your STARTDIR path contains spaces, you will get a 10054 error described here:
http://brwiki2.brulescorp.com/index.php?title=10054
Putting quotes around the STARTDIR path does not remedy the problem.
Here are some examples:
logfile=C:\MyCorp\BR\brlistener_log.txt
loglevel=0
[
Label=myproject
StartDir=C:\MyCorp\App b <-----BAD
Executable=c:\mycorp\br\brserver.exe
Config=c:\mycorp\br\brconfig.sys
Multisession
]
[
Label=myproject2
StartDir="C:\MyCorp\App b" <-----BAD
Executable=c:\mycorp\br\brserver.exe
Config=c:\mycorp\br\brconfig.sys
Multisession
]
[
Label=myproject3
StartDir=C:\MyCorp\Appb <-----GOOD
Executable=c:\mycorp\br\brserver.exe
Config=c:\mycorp\br\brconfig.sys
Multisession
]
If you still need the directory with spaces and cannot change its name, then as a workaround, you can use another STARTDIR without spaces and then in your BR program switch to the folder you really want (the one that causes problems because of spaces).
The problem was found in BR 4.3, but I have not tested BR 4.2 and below
If your STARTDIR path contains spaces, you will get a 10054 error described here:
http://brwiki2.brulescorp.com/index.php?title=10054
Putting quotes around the STARTDIR path does not remedy the problem.
Here are some examples:
logfile=C:\MyCorp\BR\brlistener_log.txt
loglevel=0
[
Label=myproject
StartDir=C:\MyCorp\App b <-----BAD
Executable=c:\mycorp\br\brserver.exe
Config=c:\mycorp\br\brconfig.sys
Multisession
]
[
Label=myproject2
StartDir="C:\MyCorp\App b" <-----BAD
Executable=c:\mycorp\br\brserver.exe
Config=c:\mycorp\br\brconfig.sys
Multisession
]
[
Label=myproject3
StartDir=C:\MyCorp\Appb <-----GOOD
Executable=c:\mycorp\br\brserver.exe
Config=c:\mycorp\br\brconfig.sys
Multisession
]
If you still need the directory with spaces and cannot change its name, then as a workaround, you can use another STARTDIR without spaces and then in your BR program switch to the folder you really want (the one that causes problems because of spaces).
The problem was found in BR 4.3, but I have not tested BR 4.2 and below