ExMerge Batch mode mailboxes.txt reading errors
What i'm trying to do is run exmerge in batch mode using a mailboxes.txt file I've created from within VB6 using File System Object. I'm grabbing the Legacy Exchange DN so I know I've got the right mailbox. ExMerge will not properly ready my text file. I grabbed the format for the file by running ExMerge in GUI mode and then saving the files. I copied those files and mirrored the output from my code. What's really weird is that when I take the GUI version of mailboxes.txt and replace the username saved in the file with the user i'm trying to output and then run in batch mode, all is well. But if I or my code try to make one and save it, no output. The log shows the following. Lately it's been giving me that first supposedly commented out # its not supposed to read, but earlier today the # was replace with the legacy exchange dn string which i know is valid. [12:43:52] Error creating EntryID for '#' (GetMailboxInfoFromAB)[12:43:52] Error accessing directory object for '#'. Ignoring this mailbox.[12:43:52] Number of DNs read from file: 1. Number of valid DNs: 0. I've tried telling fso in my vb code to output to unicode, but that didn't work either. And apparently no one has ever tried to do this because I can't find anything. Unless i'm putting in the wrong search criteria in google. Any help would be fantastic. The whole app is actually pretty sweet. When a user is terminated from our company, we disable the account, export his/her mailbox to a pst, and then set the Out Of Office to a generic they no longer work here. We have a VB app that grabs user information from a table in SQL Server that tells us who's active. It's pretty sweet I think. If only I could get the pst part working on an automated basis from my SQL Server DTS package I would be a god.
September 21st, 2007 8:32pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics