Home > Microsoft Exchange Tips > Exchange Server Administration Tips > Fix mangled directory imports
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

Fix mangled directory imports


Serdar Yegulalp
08.05.2002
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Exchange 5.5 has the ability to import or export its directory listings as CSV (comma-separated value) files, which can then be re-imported into another Exchange server. However, occasionally a user reports that the CSV import doesn't work, with peculiar symptoms: the import begins, then reports an error after the first several rows or so. Successive attempts to import the rest of the CSV work in the same fashion, with only a certain number of rows at a time being importable. Why?

The answer does not lie so much with Exchange's CSV import function as it does with the way Excel prepares certain CSV files, because Excel is often used to prepare the CSV file. But the data fed to Excel often has a final empty column, the data column labeled "Hide from AB," and it usually turns up as a null. This null column is left off when a CSV is written, and this throws off the number of cells in each row, making the CSV import filter choke. The number of columns often dictates how many rows in the CSV importer gags -- if you have 18 columns, it'll import 18 rows at a time and then stop.

Fortunately this is easy to fix. Since the actual order of the columns is not important, you can arrange things so a non-null column is last. Alternatively, you can substitute a zero value for the nulls in the "Hide from AB" column, which has exactly the same effect. Finally, you don't have to use Excel to export CSVs, even if it is usually the most common tool for the job. For example, in importing from another organization's Exchange directories, you can just export from that server's directory list.

Another sometimes-overlooked element is the proper column header row. The CSV importer can't deal with a file that has no header row, or a mangled one. You can find a sample column header row in the Exchange Resource Kit, or see this article for more information.


Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter.


Rate this Tip
To rate tips, you must be a member of SearchExchange.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Exchange Server Administration Tips
Remove Exchange 2003 objects from AD to install Exchange 2010
Don'ts for optimal Exchange 2007 mailbox server efficiency
Is your Exchange 2007 hub transport server healthy?
Avoid Outlook 2007 performance issues during repairs
Developing an Exchange 2007 server role DR plan
How DSAccess service improves Exchange Server 2007 reliability
An introduction to the Exchange Remote Connectivity Analyzer tool
Monitor Exchange 2007 with disk- and RPC-related counters
DPM 2007 replica inconsistencies in Exchange databases
Track Exchange 2007 mailbox server health using database counters

Legacy Microsoft Exchange Servers
Troubleshooting Outlook calendar errors on a BlackBerry device
How to move Exchange 2000 to new server hardware
Migrating mailboxes from Exchange Server 5.5 to Windows SBS 2003
Remove Exchange 5.5 servers from a mixed mode Exchange environment
Error 1053: Exchange System Attendant service could not start
Solve server problems with the Exchange Troubleshooting Assistant tool
Best approaches for upgrading Exchange 5.5 to Exchange 2000 or 2003
Move mailboxes to Exchange 2007 after Windows upgrade
Third-party tools that modify NDRs for oversized email
IP address changes for an Exchange 2000 recovery server
Legacy Microsoft Exchange Servers Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
E2K  (SearchExchange.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts