Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


1047 Error Creating Exchange 5.5 Mailbox

Keywords: 	 1047 Error creating Exchange 5.5 mailbox

Question:

I've been rooting through the posts and got a script together that would work,(thanks Ned), but I keep getting a 'Wil Extender Error:1047: Operations Error occurred.' I'm running my script on a W2K SP2 box and trying to create the mailbox on a W2K server SP2 with Exchange 5.5. This error occurs right at the dscreateobj function call. Any help would be appreciated.

Resolution:

Actually I figured it out last night. It occurred to me that our Exchange 5.5 server is also one of our W2K DCs. I was wondering how it knew which LDAP directory to query when you hit it, and it came to me that if they are both on the default port the AD LDAP is taking precedence. A quick look on Technet and it produced this article.
http://support.microsoft.com/support/kb/articles/q224/4/47.asp?id=224447
After changing the port and specifying the new port, the script works fine. You can specify the ldap port by adding a :port# after the servername.
Article ID:   W15038