WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Networks - Servers
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

WIL Extender Error 52: Unexpected Network Error.

Keywords: 52: Unexpected Network Error.	 

Question:

I have an executable which resides in the NETLOGON share along with the requisite dlls (www95...,wb..., radmin.., rlocal...). I get an error when the netlogon share, Z: is released upon completion of the logon script processing, and something doesn't get cleaned up properly. I can attach to NETLOGON after the fact and execute the WIL program with no problems.

Any suggestions about placement of the dlls, or should they be ok in the NETLOGON share along with the compiled WIL program?

I also have another "quirk" that I can't seem to resolve.

  1. Start WFW.
  2. Logon to domain.
  3. WIL program runs. Since WFW can only process batch files during logon. I have replaced the LMSCRIPT.EXE with the WIL program that I want to execute. This all seems to work, except that the DOMAIN LOGON Window had to be closed from within the WIL program. Am I missing something that needs to be done to "POST" the logon processing complete? (I've heard rumours about an LMSCRIPT.$$$ semiphore file). Hopefully, you can enlighten me on that one.
  4. User logs off of the domain.
  5. Another User logs back on to the workstation. This is where it gets interesting. When the WIL executes a second time, the first attempt to attach to a network drive results in a WIL Extender Error 52: Unexpected Network Error. The Wil program terminates.
  6. User closes out the Domain logon processing window
  7. User logs off
  8. User logs back on. This time the WIL program will run to completion.

What do you think I've got screwed up?

Answer:

It sounds kinda like WinBatch is on one of those network shares that is getting cancelled. Can't find its EXE or DLL and crashes.

Move the compiled EXE and the two win95 dlls to a directory on the client's path, such as the C:\windows directory, to resolve the problem with the 95 logon scripts creating an illegal operation.

Additionally, a lot of people have had a lot of luck running WinBatch EXE files from a BAT logon script via the:

	START /w abc.exe
method where the WinBatch script is launched via the DOS START command. Search for START on our website to find examples of how to do this.
Article ID:   W13500
Filename:   Unexpected Network Error.txt
File Created: 1999:04:15:16:54:26
Last Updated: 1999:04:15:16:54:26