I know it's bad form to reply to my own message, but I've moved along.

I found that if I delete the remote.cmd in the directory I expect the user 
to hit, I can login and get a "dos" command prompt.

However, if I run any jBASE command I get :

jBASE: Error 13 while creating a user object

I suspect an enviroment variable is causing me grief..   but I can't see 
what.    I've compared the obvious (PATH/LIB etc) with the environment 
variables shown when logged into a jsh shell on the console (which runs 
fine) but can't see anything obvious.

My environment variables are set :-


ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Windows\system32\config\systemprofile\AppData\Roaming
CLIENT_TNID=2500007f010030
CommonProgramFiles=C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=JBASE52TEST
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOME=D:\DMS\JBASE\DMS
HOMEDRIVE=D:
HOMEPATH=\DMS\JBASE\DMS
INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include
JBCGLOBALDIR=c:\jBASE5\5.2
JBCRELEASEDIR=c:\jBASE5\5.2
JBC_CLIENT_IP=127.0.0.1
JBC_CLIENT_PORT=19136
JBC_TELNET_FLAG=1
LIB=C:\Program Files (x86)\Microsoft Visual Studio 
9.0\VC\Lib\amd64;C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib\x64
LOCALAPPDATA=C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Path=c:\jBASE5\5.2\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
 
Files (x86)\Microsoft Visual Studio 9.0\VC\Bin\amd64;C:\Program 
Files\Microsoft SDKs\Windows\v6.1\Bin\x64;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_ARCHITEW6432=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 26 Stepping 5, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=1a05
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files (x86)
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Windows\TEMP
TERM=vt100
TMP=C:\Windows\TEMP
USERDOMAIN=JBASE52TEST
USERNAME=dms.serv
USERPROFILE=C:\Windows\system32\config\systemprofile
windir=C:\Windows
windows_tracing_flags=3
windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log


Any thoughts ?

Simon

On Sunday, June 24, 2012 1:19:36 AM UTC+1, Simon wrote:
>
> I'm just starting to review migration from jBASE 3.4 to jBASE 5.2 with 
> some earnest. 
>
> So far, I've set up a Windows server 2008R2 64 bit system, loaded jbase 
> 5.2.16, installed Windows Server 2008 SDK. 
>
> I've loaded my data, and re-created my remote.cmd script using iju. If I 
> start up a dos command prompt, move into the data directory and run the 
> remote.cmd script, it runs fine. 
>
> I've then created a Windows user which should allow me to telnet into 
> the system .  I've set the local path on the "Profile" tab of the user 
> to my home directory (where the remote.cmd file lies). 
>
> When I telnet into the server, I get the jBASE telnet prompt, but when I 
> login I get an error :  "Error 2 starting command" 
>
> AFAIK Errmsg 2 is "The System cannot find the file specified". 
>
> I'm presuming that it's not looking in the directory that I expected! 
>
> What have I done wrong ? 
>
> Thanks in advance 
>
> Simon 
>
> -- 
> ======================================= 
> Simon Verona 
> Director 
> Dealer Management Services Ltd 
> T: 0845 686 2300 
> =======================================
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en



Reply via email to