#34836 - 2003-01-08 12:56 AM
Network Resource error - Abort, Retry, Fail?
|
Moffet
Fresh Scripter
Registered: 2003-01-07
Posts: 5
|
Hey there,
Has anyone had the problem of getting a network resource error when running a kix logon script?
I run a login.bat that copies the files kix32.exe, kix32.dll, kix16.dll and kix95.dll to the local machine if they are not already there, and then it runs the login.kix script from the netlogon share using the local copy of kix. About a quarter of the users per day (generally different ones each day - and only on the Win9x machines I think) get an error message about not being able to access the network resource and to try again later with an "Abort, Retry or Fail?" prompt. Possibly a permissions thing - what should the permissions be set to?
Any other suggestions would be gratefully received.
Cheers guys.
|
|
Top
|
|
|
|
#34838 - 2003-01-07 01:36 PM
Re: Network Resource error - Abort, Retry, Fail?
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
1. Have you upgraded ALL Win9x computer's networking files? (Winsock, MSNET32.DLL, more...)
2. Do any non-Win95 computer experience these errors? If not, see #1. If so, look for switch, router, server NIC issues.
|
|
Top
|
|
|
|
#34839 - 2003-01-07 01:52 PM
Re: Network Resource error - Abort, Retry, Fail?
|
Moffet
Fresh Scripter
Registered: 2003-01-07
Posts: 5
|
Thanks for responding, guys. Howard, your answers are underneath.
============================================== Lonkero: Never had any problems on any of the NT/2000/XP machines, but I'll bear that in mind should any problems crop up.
> what is the version of your kix-files? KiXtart 2001 (version 4.12)
> are the dll's from the same package as the exe's? Yes. I downloaded it about 6 weeks ago and have only ever dealt with the one package so I couldn't have any different files.
> have you kxrpc installed on your dc? Yes. Primary AND backup.
> and finally, have you tried to track down what is the erroring resource? It brings up the error several times during the following code (I found the IsRas function on one of the kix websites and other people who used it haven't mentioned problems with it):
$AVGROUP = "AVUpdate" if not IsRas() if ingroup("$AVGROUP") shell "\\Elara\netlogon\MEtoEPO.bat" endif run "\\ganymede\monthlyaudit\auditp\vsawin.exe +silent" endif
exit
;SUB FUNCTIONS function IsRas() dim $NtProdType $IsRas=0 ; default to false if @INWIN=1 ; NT $NtProdType=readvalue('HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions','ProductType') if $NtProdType<>'LanManNT' and $NtProdType<>'ServerNT' ; not DC nor Server if exist(@LanRoot+'\RASDIAL.EXE') if @RAS $IsRas=1 endif endif endif else ; 9X if ''+readvalue('HKLM\System\CurrentControlSet\Services\RemoteAccess','Remote Connection')='01000000' $IsRas=1 endif endif endfunction
============================================= Howard: > 1. Have you upgraded ALL Win9x computer's networking files? (Winsock, MSNET32.DLL, more...) No, I didn't realise I had to. How do I know which ones to update and how would I go about that? I know some of the machines in question have had IE6 installed which I know updates some components, but they still get the errors now and again too.
> 2. Do any non-Win95 computer experience these errors? If not, see #1. If so, look for switch, router, server NIC issues. No, no problems what-so-ever on the NT/2000/XP machines.
|
|
Top
|
|
|
|
#34842 - 2003-01-07 04:24 PM
Re: Network Resource error - Abort, Retry, Fail?
|
Moffet
Fresh Scripter
Registered: 2003-01-07
Posts: 5
|
Firstly, it seems it is only the Win98 machines having this error (we only have one or two 95/ME machines and the people who use them haven't reported problems - but that might just be they haven't reported it or even had it yet, because the Win98 machines don't get it every time).
I have changed the login.bat to: net use p: \\Elara\netlogon /yes start /w %windir%\SYSTEM\KIX32.exe "P:\Login.kix" net use p: /delete /yes
in order to remove the UNC paths, and changed them within the kix script too. The UNC paths worked fine when just using the login.bat, I just left them like that when I decided to use kix to avoid remote users running a program and also to only run a batch file if in a specific group.
I will have to wait until everybody tries logging in tomorrow morning now to see if it has made a difference.
|
|
Top
|
|
|
|
#34845 - 2003-01-07 04:48 PM
Re: Network Resource error - Abort, Retry, Fail?
|
Moffet
Fresh Scripter
Registered: 2003-01-07
Posts: 5
|
Aha! I wasn't aware of the log being there. The following errors occur every time someone runs the script:
2003/01/07 08:44:25 - Failed to load KX95.DLL Error : One of the library files needed to run this application cannot be found. (0x485/1157) 2003/01/07 08:44:25 - Failed to locate/connect to a KXRPC server Error : The network path was not found. (0x35/53)
I previously wasn't copying over that file to the correct location and only changed it to do so this morning when I started looking into the problem (which is why it says in my previous post it copies over kix95.dll - it didn't have it in the right place when the errors were occuring).
I was aware Windows 98 maps the Z: to netlogon but NT-based OSs don't - if I didn't map it to another drive and run it from there the script wouldn't work on the NT-based machines.
I'll let you guys know tomorrow after users login in the morning...
|
|
Top
|
|
|
|
#34847 - 2003-01-08 11:35 AM
Re: Network Resource error - Abort, Retry, Fail?
|
Moffet
Fresh Scripter
Registered: 2003-01-07
Posts: 5
|
Success! Not a single person had a problem this morning (no-one reported one anyway) so looks like it's sorted. Seems it was the kx95.dll used to access the KXRPC server that was the problem. Copied it over to the correct place and works now.
Thanks for all your help, guys - this will be the first place I come if I have any more probs!
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 641 anonymous users online.
|
|
|