I have created a script (with some help from 2 forummods) that does what I want it to do. I can run the script good everytime from my comp (by double clicking the batchfile). Only after the third logon from a laptop I get the following error message.
Code:
In-page IO exception occurred.
This type of exception is thrown by the Windows Memory Manager when it fails
to (re)read code from the KiXtart executable.
Common causes for this exception include:
-running WKIX32 from a batchfile without using START /w
-forced redirection of the network drive from which KiXtart was started
-severe network errors/latency
-faulty anti-virus software
Searching on the error message show me anything like my error (could have searched the wrong way ofcourse). This is my script.
Code:
;*****************
;Wissen oude shares = delete old shares
;*****************
use * /DELETE
;****************
;Uitzoeken welke inlogserver = find out which login server
;*****************
if @lserver='\\server1' ;compare servername
use s: "\\server1\share" ; make share1
use v: "\\server2\share2" ;make share2
$servernaam = 'servername' ;to hide the \\
endif
if @lserver = "\\Server2"
use j: "\\server2\share1"
use k: "\\server2\share2"
use l: "\\server2\share3"
use m: "\\server2\share4"
use s: "\\server2\share5"
use u: "\\server2\share6"
use v: "\\server2\share7"
$servernaam = 'server2'
endif
;*****************
;Laat messagebox zien met loggegevens = show messagebox with logindata
;*****************
Messagebox('Ready to Logon with following information:
Username : @userid
IP : @ipaddress0
Inlogserver : $servernaam
PC naam : @wksta
Domein : @domain','Information',0)
;*****************
;Laat messagebox zien met tekst uit bestand = show messagebox with text out of textfie
;*****************
open (1,"\\server1\Apps\Scripts\test.txt",2)
$x = readline (1)
While @error = 0
? "line read: [" + $x + "]"
Messagebox($x,'Informatie',0)
loop
close (1)
During the login the active directory runs a batchfile with the following in it: \\server1\share\kix32 \\server1\share\login.kix. Anyone have an idea what is wrong?
Thanks in advance,
THIEF15 (the KiXtart newbie/rookie)
Edit: Extra information: the script works again after reboot of the laptop. And its the latest version of KiXtart that i am using.