ADSI: Intermitent Network Path Was Not Found when binding to group 
Author Message
 ADSI: Intermitent Network Path Was Not Found when binding to group

When I use a short name for "group", the user can be added OK.
If "group" is a long name, I am getting error "network path was not found"
when binding to the group. Can you please help me ?

group = "A"  '** This group works fine
'group = "ThisGroupIstheNameOfMyServerHere" '** I triple checked that the
group exists, but I am getting error
domain = "//TEST"

 User = "MyUser"
' Bind to a group
 Set oGroup = GetObject("WinNT:" & Domain & "/" & group) '*** The error
network path was not found happens here intermitently when the group has a
long name
 oGroup.Add "WinNT:" & Domain & "/" & user
 WScript.quit
Set OGroup = Nothing



Mon, 05 Apr 2004 00:30:58 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. ADSI:GetObject network path not found reading info other than the current computer name

2. The network path was not found error

3. Long Path Names give Runtime error 76 - Path not found

4. Long Path Names give Runtime error 76 - Path not found

5. Error Querying ADSI via VBScript: "The Network Path Was Not Found"

6. Help: Can not find ADSI v2.0 object library for VB

7. VBScript Path Not Found Error when running in IIS

8. GetFolder - Path Not Found

9. GetFolder gives me PATH not found

10. Path not found in W95

11. Path not found error??

12. objFolder.Size not finding correct path.

 

 
Powered by phpBB® Forum Software