Problem
You attempt to use the SEFAUtil.exe executable in the Lync Server Resource Kit Tools to configure call forwarding on a Lync Server 2013 server but it immediately fails with:
SEFAUtil.exe has stopped working
Description:
Stopped working
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: sefautil.exe
Problem Signature 02: 4.0.0.0
Problem Signature 03: 4cc149b9
Problem Signature 04: SEFAUtil
Problem Signature 05: 4.0.0.0
Problem Signature 06: 4cc149b9
Problem Signature 07: 1
Problem Signature 08: 7
Problem Signature 09: System.IO.FileNotFoundException
OS Version: 6.3.9600.2.0.0.272.7
Locale ID: 2057
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=280262
If the online privacy statement is not available, please read our privacy statement offline:
C:Windowssystem32en-USerofflps.txt
Closing the pop-up window then displays the following output:
PS C:Program FilesMicrosoft Lync Server 2010ResKit> .SEFAUtil.exe /server:contuklse03.contoso.com tluk@contoso.com /enablefwdimmediate /setfwddestination:marmstrong@contoso.com
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or ass
embly ‘Microsoft.Rtc.Collaboration, Version=4.0.0.0, Culture=neutral, PublicKeyT
oken=31bf3856ad364e35′ or one of its dependencies. The system cannot find the fi
le specified.
File name: ‘Microsoft.Rtc.Collaboration, Version=4.0.0.0, Culture=neutral, Publi
cKeyToken=31bf3856ad364e35′
at SEFAUtil.SefaTool.Execute()
at SEFAUtil.Program.Main(String[] args)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLMSoftwareM
icrosoftFusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure lo
gging.
To turn this feature off, remove the registry value [HKLMSoftwareMicrosoftFus
ion!EnableLog].
PS C:Program FilesMicrosoft Lync Server 2010ResKit>
You document the Trusted Application and Trusted Application Pool, remove and recreate it but the error still persists.
Solution
One of the things I noticed for this environment was that the ResKit was installed in the Microsoft Lync Server 2010ResKit directory so I initially reran the ResKit install (https://www.microsoft.com/en-us/download/details.aspx?id=36821) to see if it would upgrade it but the window I was presented with was to either repair or remove. I ended up choosing repair but this did not correct the issue. After not having any luck with other troubleshooting steps, I went ahead and uninstalled the 2010 tools and reinstalled into the Microsoft Lync Server 2013ResKit and this corrected the issue. It appears the ResKit installer does not identify whether the existing install was for 2010 or 2013.
The following is the successful output:
PS C:Program FilesMicrosoft Lync Server 2010ResKit> .SEFAUtil.exe /server:contuklse03.contoso.com tluk@contoso.com /enablefwdimmediate /setfwddestination:marmstrong@contoso.com
User Aor: sip:tluk@contoso.com
Display Name: Terence Luk
UM Enabled: True
Simulring enabled: False
Forward immediate to: sip:marmstrong@contoso.com
PS C:Program FilesMicrosoft Lync Server 2013ResKit>