Page 2 of 2 <12
Topic Options
#44280 - 2003-08-20 09:22 PM Re: General Problem with 4.21?
Skatterbrainz Offline
Starting to like KiXtart

Registered: 2002-10-17
Posts: 172
Loc: Virginia, USA
Still no progress. The script appears to run for everyone else (Hello World script) via Kix32 (4.21) but not for this one user on any machine. The user is a domain admin. The network is NT4 based, the clients are all W2K or XP. I can't seem to trap the error, it flashes by too fast and ignores BREAK ON and DEBUG ON entirely. I can run it after the logon manually and it works, but not during the logon.
_________________________
silence is golden, but duct tape is silver

Top
#44281 - 2003-08-20 09:29 PM Re: General Problem with 4.21?
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
You MUST try the plain old batch file as it sounds like the KiXtart script isn't even executed!
_________________________
There are two types of vessels, submarines and targets.

Top
#44282 - 2003-08-20 10:29 PM Re: General Problem with 4.21?
Skatterbrainz Offline
Starting to like KiXtart

Registered: 2002-10-17
Posts: 172
Loc: Virginia, USA
Will do! Sorry, been beat up all day by angry users. Wearing my shoes out doing "personal support" stuff. [Roll Eyes]

By the way, I had another user testing out their own Kix script with a bunch of Select Case statements. They're trying to do drive and printer mappings by user name on 350 users. THe script ends up being around 1500 lines. The problem seems to be that users more than 1/3rd the way down don't even get evaluated and the script jumps right to Case 1 at the end. Is there a maximum length or memory stack for SELECT expressions? The @userid values match up, which was evident when we moved a user up to the top and they were evaluated properly. Just curious. (sorry, not related to the original post)
_________________________
silence is golden, but duct tape is silver

Top
#44283 - 2003-08-20 10:35 PM Re: General Problem with 4.21?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
the new problem seems to be simple missing quote problem.

actually, these both problems seem so simple.

and yes, still waiting for you to test the initial batch check which has been asked some times now [Wink]
_________________________
!

download KiXnet

Top
#44284 - 2003-08-20 10:52 PM Re: General Problem with 4.21?
Skatterbrainz Offline
Starting to like KiXtart

Registered: 2002-10-17
Posts: 172
Loc: Virginia, USA
Geez, brutal! I'm sure you guys know what it's like to run around to tend to 450 users screaming to their managers that IT is once again the source of all evil. [Smile] I finally got a chance to sit back down at my computer and try this. The logon.bat works fine for the user. It's only Kix32 that doesn't (at least it appears that way). What do I try next?
_________________________
silence is golden, but duct tape is silver

Top
#44285 - 2003-08-20 11:14 PM Re: General Problem with 4.21?
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Put the drive mappings into an .INI file based on group or usernames, e.g.
code:
[user1]
d=\\server\share
[user2]
e=\\server1\share1

or similar. However, I'd avise to use groups and not users.

With regards to the batch file, hardcode the location of the executable and the script like this
code:
%LOGONSERVER%\NETLOGON\kix32 %LOGONSERVER%\NETLOGON\script.kix

or search the board for 'overkill' in the subject line. This will get you to a thread discussing multiple options on starting KiXtart login scripts.

All these things have already been discussed before, so please use the BBS Search to retreive similar threads.
_________________________
There are two types of vessels, submarines and targets.

Top
#44286 - 2003-08-20 11:23 PM Re: General Problem with 4.21?
Skatterbrainz Offline
Starting to like KiXtart

Registered: 2002-10-17
Posts: 172
Loc: Virginia, USA
Ok, is there a tool out there to quickly scan and validate a kix script file for things like missing quotes or parenthesis? I'm using TextPad 4.7 for all my editing chores, but it only matches selected chars, it won't balance out a whole document to find unterminated strings. I'm open to any suggestions obviously.
_________________________
silence is golden, but duct tape is silver

Top
#44287 - 2003-08-20 11:28 PM Re: General Problem with 4.21?
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
See the FAQ Forum under 'Debugging'.
_________________________
There are two types of vessels, submarines and targets.

Top
#44288 - 2003-08-21 09:26 AM Re: General Problem with 4.21?
Co Offline
MM club member
***

Registered: 2000-11-20
Posts: 1341
Loc: NL
Are you using any Quota management software?

Did you replaced the kix files?

Are you using roaming profiles? - Did you renamed the user's profile? (local and server)

Co
_________________________
Co


Top
#44289 - 2003-08-21 02:06 PM Re: General Problem with 4.21?
Skatterbrainz Offline
Starting to like KiXtart

Registered: 2002-10-17
Posts: 172
Loc: Virginia, USA
Sorry guys, I had to go home. 12 hours of running around wore me (and my ears) out. A few beers and a couple of hours of sleep and I'm back fresh again! [Smile] I found the culprit! It wasnt' the script or Kix or the user profile. It was NTFRS and latency between sites. Some of the DC servers weren't updating there cache of scripts and the user was hitting a remote DC at logon for some reason. I guess it took a day to catch up, but now they're fine. The replication logs showed the delay in catching up.

Oh yeah: Thanks to Sealeopard for pointing me to KixStrip !!! That helped fix the other script problem.

[ 21. August 2003, 14:07: Message edited by: DaveS ]
_________________________
silence is golden, but duct tape is silver

Top
#44290 - 2003-08-21 02:33 PM Re: General Problem with 4.21?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
it's good to have your logonscript write out the info of what it does.
like, from where it was started and what is going wrong.

this way the trace is lot easier.
also, as addition to kixstrip, you could check on PostPrep 1.0.2
as it colorizes the syntax, missing quotes and alike are really easy to trace.
_________________________
!

download KiXnet

Top
#44291 - 2003-08-21 02:38 PM Re: General Problem with 4.21?
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
I agree..

Also - Ultraedit, EditPad, TextPad have KiXtart syntax schemes you can add in. These are not freeware programs, but maybe worth it. [Wink]

Additionally, if you want to get a neat little batch script to run KiXstrip -
How do we check and format code for scripts?

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
Page 2 of 2 <12


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

Who's Online
1 registered (Allen) and 496 anonymous users online.
Newest Members
Raoul, Timothy, Jojo67, MaikSimon, kvn317
17875 Registered Users

Generated in 0.062 seconds in which 0.026 seconds were spent on a total of 12 queries. Zlib compression enabled.

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