Page 1 of 1 1
Topic Options
#208336 - 2014-01-16 12:16 PM Citrix / Terminal Server 2008 R2 Kix-Script not executed
KidLark Offline
Just in Town

Registered: 2011-10-20
Posts: 3
Loc: Germany
Hi Group,

we have two Citrix/Terminal-Servers running.
- Server 2003, the kix script is executed
- Server 2008 R2, same user, the kix script is not executed.
----------------------------------------------------
$Line=@wksta+"; TSSESSION= "+ @TSSESSION +"; " + @WUSERID + "; " + @lserver + "; " + @address + "; "+@date+" "+@time+ @CRLF
$filename=("\\server\share\"+@wksta + ".txt")
open (1, "$filename",5)
writeline(1,"$Line")
close (1)
-------------------------------------------------------

When I connect to the Citrix-Srv with Srv 2003 a file is written, when I connect to Citrix with Srv 2008 R2, no file is created.

Any ideas?

Thanks
Regards
Georg

Top
#208337 - 2014-01-16 02:06 PM Re: Citrix / Terminal Server 2008 R2 Kix-Script not executed [Re: KidLark]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4403
Loc: New Jersey
I'd start by adding some debugging info to see what's happening:
 Code:
$Line=@wksta+"; TSSESSION= "+ @TSSESSION +"; " + @WUSERID + "; " + @lserver + "; " + @address + "; "+@date+" "+@time+ @CRLF
'DBG-Line: ' $Line @CRLF
$filename=("\\server\share\"+@wksta + ".txt")
open (1, "$filename",5)
'DBG-Open: ' @SERROR @CRLF
writeline(1,"$Line")
close (1)
This should verify that the script is running and indicate if anything is out of whack with the data or file.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.05 seconds in which 0.025 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org