Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Wil Extender Error 601 and 531 Invalid Parameter
So I have tried some other commands.
Groups = w9xMemberGrps("\\server",UserName,@GlobalGroup,0)returns
Error 531:Invalid parameterAlso I get the same error on w9xMemberGet.
Any ideas what these calls rely on? the RAdmin and RLocal Dll files are in the same directory. and it happily complains about them if they are not there.
Everything else on the PC seems to work fine. No errors when logging in. The computer has access to everything in the Domain that they should.
The trick is to determine which parameter it's complaining about, by using other functions. First try w9xListGroups to make sure the server name is okay. Then w9xMemberList will tell you if the group name is okay, and w9xMemberGrps will tell you if the user name is okay.
Use the latest version of the extender to do it. Use a fully qualified path in the AddExtender line to make sure you are getting the extender you think you are.
Basically something is misconfigured. Now to figure out what.
[www9x34I] Lasterror = 124 (NetUserGetInfo)At the moment it looks like it might be something to do with the fact MS Office was removed and reinstalled.
I compiled with the 98E. Any ideas?
It sounds like a network interface problem talking to the NT server. First, make sure the server being specified is really an NT machine, not a Win95 machine. The other reason this might fail is if the NT server is a nonstandard configuration, such as NT running Citrix Winframe, so that it is not "acting" like an NT server.
Second, compare the copies of RADMIN32.DLL and RLOCAL32.DLL with the ones on the machines that work, and replace if necessary. RLOCAL32.DLL is involved in the remote calls, so try replacing that on the problem machine with a copy from one of the good machines. The NetUserGetInfo function is in RADMIN32.DLL, which is the DLL we make a call to in that function.
Other than that, it could be pretty much anything installed (or not installed) on the bad machine that makes it behave differently. I would start by looking at the installed network components (drivers and protocols).
Do any other w9x functions work from that machine?
When going back to an older build the script will run fine, then when Office is removed then reinstalled the script will fail.
The problem is that Office is not that stable on the build which was why it was being removed and reinstalled :)
The server that it is trying to connect to is there. :)
My condolences. Reinstall windows ?
Or at least fix a damaged windows installation?
(see more below)
For the moment we have just tried to patch Office up to the latest SP. We are looking at moving to NT in the near future so will try to limp along without rebuilding the build from scratch for the moment.
Thanks for the help :)
IF you are still having a problem with all 9x functions receiving Winbatch 531 errors...
Try Opening User manager, Do you get an error????? if so.....
Two system dll's (namely rpcrt4 & rpcltc1) need to be the same version. During some update, one gets reverted to an older version and bam!, wbt error 531! In addition, these affected machines also cannot run the W95 version of User Manager. Please refer to the following Microsoft article Q242935. We found that just replacing the (2) dll files with a set from a good workstation worked just fine.
Article ID: W13520
Filename: 531 Error with Various Network Functions.txt
File Created: 2001:03:01:14:25:04
Last Updated: 2001:03:01:14:25:04