Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

IM&P Migration Utilities exportcontacts.exe from OCS 2007R2

Trying to use the Cisco Migration Utilities (from the IM&P downloads folder) and it's failed to export contacts from OCS 2007R2.

 

I am a part of the Domain Admins and the Administrators security groups in AD, I am logged into a 2008R2 Domain Controller running this under my account;

C:\Didata>exportcontacts.exe -s/10.26.1.10 -f/ALL -l/DEBUG -r/NORMAL -d/coke.
com
Version: 10.0.1.11901-2


If you are attempting to run this tool against Lync, please ensure the SQL Datab
ase Instance (db_instance parameter) is provided.


Finished.  See log file for details.

Press the ENTER key to exit.

Here is the log file showing it failed to export OCS 2007R2 Contacts

>>------------------- 5/15/2014 8:05:43 PM ------------------->>
Version: 10.0.1.11901-2
[DEBUG] Enter>> ExportContacts.LdapConnection.CreateLdapDirectoryEntry
[DEBUG] Enter>> ExportContacts.LdapConnection.CreateDirectoryEntry
[DEBUG] Enter>> ExportContacts.LdapConnection.checkLdapPrefix
[DEBUG] Exit>> ExportContacts.LdapConnection.checkLdapPrefix
[DEBUG] Exit>> ExportContacts.LdapConnection.CreateDirectoryEntry
[DEBUG] Enter>> ExportContacts.OcsWmiConnection.getAllUsersUri
[INFO]  Searching for all OCS/LCS users. [SELECT * FROM MSFT_SIPESUserSetting]
[DEBUG] Enter>> ExportContacts.OcsWmiConnection.GetScope
[DEBUG] Exit>> ExportContacts.OcsWmiConnection.GetScope
[DEBUG] Search results returned
[ERROR] An error occurred while attempting to retrieve ALL OCS/LCS users. Exception: Invalid class
[ERROR] If you are attempting to run this tool against Lync, please ensure the SQL Database Instance (db_instance parameter) is provided.
[DEBUG] Exit>> ExportContacts.OcsWmiConnection.getAllUsersUri


Summary:
    Users successfully processed:      0
    Users not found:                   0
    Users not processed due to errors: 0
    Largest Contact List Size:         0
    Total Number of contacts found:    0
    Average Contact List size:         0.00


<<------------------- 5/15/2014 8:05:44 PM -------------------<<

1 REPLY

Resolved.  Just needed some

Resolved.  Just needed some sleep then coffee…

 

Had to run it on the OCS Server, not the domain controller………..

 

Exportcontact.exe

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cups/8_6/english/integration_notes/Federation/Intradomain_Federation/Partitioned_Intradomain_Federation/UserMigration_chapter.html#pgfId-1092651

202
Views
0
Helpful
1
Replies