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

wNT
plus

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

wntAccessDel Error 599 Invalid Level


Question:

Client PC (where compiled script is running) is XP Pro SP2 This also fails on a w2000 client. Server share (where script is doing the work) is on a SAN attached to a W2003 A/S
WNTAccessDel("", "P:\Base", "Faculty", 300)
Gives me error 599 which says:
Invalid level (client and server are different platforms)
This script worked last academic year. No changes were made and now it fails with this error. What exactly is it complaining about?? Is there anyway around this??

Answer:

The fact that it used to be hosted on a Win2K server and is now on a Win2K3 server indicates:
  1. You have not specified a server name in the call to wntAccessDel(). This means that it defaults to using the local computer name, which is a Win2K or WinXP system.

  2. You passed in a resource name that is for a drive letter that is connected to a share on a remote Win2K3 server.
Internally, the extender does a comparison of the versions of the system identified by the server name and by the resource. If they differ, it assumes that one of the two values is incorrect and it generates a 599 error in response to that condition.

To solve this problem, please pass in the server name value to wntAccessDel().

There are some kind of obscure reasons for *NOT* automatically filling in the server name value based on the resource name, so you must provide this value yourself when calling the wntAccess*() functions.


Article ID:   W16526
File Created: 2005:02:18:12:21:16
Last Updated: 2005:02:18:12:21:16