I'm creating a Win2000 service that calls a...
Articles and Tips: qna
01 Oct 2003
Q.
I'm creating a Win2000 service that calls a Visual Basic program which needs some files that reside on a box with Novell Netware 4.11. I've tried a couple of different ways.
I've tried to access the sharedrive as "Bobby" with NET USE, The response I get is "System Error 87," which is "Bad Parameter." If I change the UNC path to another win2000 box, it works, so it isn't a bad parameter.
I've also tried to access the sharedrive directly using Novell Netware but I'm a total newbie to Novell, products so can someone show me the way?
I also installed the Delphi_libs and tried to compile NDSLoginSample and I get this error:
SnapIt32.dcu not found
What does this error message mean? Where can I learn more about Novell NetWare and Delphi 6?
A.
There are a couple of ways for doing that. The simplest is probably with what you may have already tried; the NET command. I guess the reason why this fails is that the user "Bobby" isn't in the NetWare server's bindery context.
Go to the NetWare server and type:
config <Enter>
at the server console. This lists for you the bindery contexts that are set. You will need to add the container where "Bobby" exists to this list. You can use the MONITOR.NLM or enter this directly into autoexec.ncf. This should fix your issue. The easiest solution is probably to type
edit autoexec.ncf
at the server console prompt and look for the SET BINDERY CONTEXT entry. Add a semi-colon to the end of the current statement and add the context of the location where Bobby resides. For other approaches you have to install the Novell Client software.
* Originally published in Novell AppNotes
Disclaimer
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.