Unable export archiving data

Hello.

I have Lync 2010 deployed on Windows 2012 R2. There are two front-end servers in pool (enterprise). There is Back-end server with SQL 2008R2 Ent + Archiving Role.

Archiving policy and configuration enabled. All services is running. When i try run Export-CsArchivingData -DBInstance SQL\Archiving -StartDate 07/14/2015 -OutputFolder "C:\temp" -UserUri "User1@domain.com" error displayed:

Export-CsArchivingData : WaitAll for multiple handles on a STA thread is not supported. 

+ CategoryInfo: WriteError: (Microsoft.Rtc.A...ArchiveDataImpl:E
 xportArchiveDataImpl) [Export-CsArchivingData], NotSupportedException
+ FullyQualifiedErrorId : Export-CsArchivingData,ExportArchiveData.ExportA
 rchiveDataCmdlet

Please help me.

July 14th, 2015 4:23am

Not too much info on that error.  I'd make sure Lync is fully patch and you've run the database updates as well using install-csdatabase per: https://support.microsoft.com/en-us/kb/2493736

Try using a FQDN for your DBInstance as well, lyncsql01.domain.com\Archiving, to see if that helps.

After that I'd check out this thread and see if it addresses the issue in any way: http://stackoverflow.com/questions/14263122/lync-error-waitall-for-multiple-handles-on-a-sta-threads-is-not-supported

Free Windows Admin Tool Kit Click here and download it now
July 14th, 2015 10:30am

Hi ITsnik,

 

Please try using normal windows powershell.

import-module 'C:\Program Files\Common Files\Microsoft Lync Server 2010\Modules\Lync\Lync.psd1'

Export-CsArchivingData -DBInstance SQL\Archiving -StartDate 07/14/2015 -OutputFolder "C:\temp" -UserUri User1@domain.com

 

Best regards,

Eric

July 14th, 2015 10:34pm

Thanks to all for advices. But installing updates or run cmdlet in normal windows powershell not helped.

Problem was solved by installing Lync Server Management Shell on Windows 2008 R2. Also i installed Message Queue with Directory Service Integration on all Front-End servers (not only on Archiving Server). Now Export Archiving Data works fine. Hope, this will help somebody. 

Free Windows Admin Tool Kit Click here and download it now
July 16th, 2015 9:54pm

Thanks to all for advices. But installing updates or run cmdlet in normal windows powershell not helped.

Problem was solved by installing Lync Server Management Shell on Windows 2008 R2. Also i installed Message Queue with Directory Service Integration on all Front-End servers (not only on Archiving Server). Now Export Archiving Data works fine. Hope, this will help somebody. 

July 17th, 2015 1:53am

Thanks to all for advices. But installing updates or run cmdlet in normal windows powershell not helped.

Problem was solved by installing Lync Server Management Shell on Windows 2008 R2. Also i installed Message Queue with Directory Service Integration on all Front-End servers (not only on Archiving Server). Now Export Archiving Data works fine. Hope, this will help somebody. 

Free Windows Admin Tool Kit Click here and download it now
July 17th, 2015 1:53am

Thanks to all for advices. But installing updates or run cmdlet in normal windows powershell not helped.

Problem was solved by installing Lync Server Management Shell on Windows 2008 R2. Also i installed Message Queue with Directory Service Integration on all Front-End servers (not only on Archiving Server). Now Export Archiving Data works fine. Hope, this will help somebody. 

July 17th, 2015 1:53am

Thanks to all for advices. But installing updates or run cmdlet in normal windows powershell not helped.

Problem was solved by installing Lync Server Management Shell on Windows 2008 R2. Also i installed Message Queue with Directory Service Integration on all Front-End servers (not only on Archiving Server). Now Export Archiving Data works fine. Hope, this will help somebody. 

Free Windows Admin Tool Kit Click here and download it now
July 17th, 2015 1:53am

Thanks to all for advices. But installing updates or run cmdlet in normal windows powershell not helped.

Problem was solved by installing Lync Server Management Shell on Windows 2008 R2. Also i installed Message Queue with Directory Service Integration on all Front-End servers (not only on Archiving Server). Now Export Archiving Data works fine. Hope, this will help somebody. 

July 17th, 2015 1:53am

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

Other recent topics Other recent topics