Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: error 145 cannot access net resource
My syntax is:
n3MapDir("\\OPERATION_2\SYS\APPS\PROFILE\","J:\")Further investigation has revealed that if I run the script from the "network" copy of Windows I get the error of "136: Invalid driver number" or "145: Cannot map to the resource".
Originally I was on my "C:" drive copy of Windows and things were working just fine. It was after rebooting and logging in to the network that I began having these troubles. I have again tested by going back to my C: drive copy of Windows 3.11 and the script works like a charm.
So what would let the script work if Windows is on C: vs Windows on F:? I will now investigate SYSTEM.INI and WIN.INI settings but do you know of anything such as DLLs and such that could affect this?
After comparing two SYSTEM.INI files, (one that worked and one that didn't) and switching out different things, I found that although I was using VLMs, the NETWARE.DRV from Windows was in use when using IPX/NETX.
Check the Netware extender DLL .EXT (or .DAT in older versions) file in the \WINBATCH\SYSTEM\ directory and make sure that:
For example, in the following code:
n3map("\\SERVER\VOLUME\DIRPATH", "K:")you could get this error if the DIRPATH share rights were not set to let your users map to that area.
Make sure you can map to that area manually (outside of WinBatch) and see if you're also having problems. If so, the problem is with your Novell access rights permissions on that resource.
Article ID: W12944
Filename: 145 Map Attempted - Cannot access net resource.txt
File Created: 2001:03:01:11:40:46
Last Updated: 2001:03:01:11:40:46