ERROR MESSAGE- Solutions to Invalid Syntax Check the Line: number in your script that references the 'LDAP:// Provider'. If necessary, work back for previous LDAP occurrences. Char 1: often lies! it just means that the whole line will not execute. In the case of runtime errors you can use this work around. Add this line: On Error Resume Next In my example, it's line 6 is where the problem lies. Plainly, this syntax is gibberish. Firstly, you need a colon as in LDAP:// Set objGroup = GetObject("LDAP//dc=cp,dc=com"&"/Administrators,group") This error code, 800401E4 occurs when you execute a VBScript. You are probably using a WSH method to connect to LDAP. A wild guess, you are using the command: GetObject("LDAP//:xyz...)SOLUTION
Example of Script with a Code 800401E4 error
Secondly the dc=cp,dc=com is o.k!
But Thirdly "&"/Administrators,group" is rubbish.
Windows Error Code 800401E4-- Invalid syntax
Posted by
Isha
Monday, November 2, 2009
Labels: windows error
0 comments:
Post a Comment