Cumulative Update 8 broke Exchange 2013

While installing Cumulative Update 8 on our exchange 2013 server it failed with the following error during the second to last step (client access role: client access front end).  Any advice on what may be causing this and how to fix? 

Error:
The following error was generated when "$error.Clear();
          $fe = get-ActiveSyncVirtualDirectory -server $RoleFqdnOrName -DomainController $RoleDomainController -ErrorAction SilentlyContinue;

          if ($fe -eq $null)
          {
            new-ActiveSyncVirtualDirectory -DomainController $RoleDomainController -Role ClientAccess;
          }
          else
          {
            update-ActiveSyncVirtualDirectory $fe -DomainController $RoleDomainController -InstallIsapiFilter $true
          }
        " was run: "System.Management.Automation.ParameterBindingException: Cannot convert 'System.Object[]' to the type 'Microsoft.Exchange.Configuration.Tasks.VirtualDirectoryIdParameter' required by parameter 'Identity'. Specified method is not supported. ---> System.NotSupportedException: Specified method is not supported.
   at System.Management.Automation.ParameterBinderBase.CoerceTypeAsNeeded(CommandParameterInternal argument, String parameterName, Type toType, ParameterCollectionTypeInformation collectionTypeInfo, Object currentValue)
   --- End of inner exception stack trace ---
   at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
   at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
   at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)".

March 27th, 2015 7:53am

Hello,

This issue occurs because the ActiveSync VD is corrupted. You and try removing and re-creating the ActiveSync VDir by:

1. In EMS, please run the following command:
Remove-ActiveSyncvVirtualDirectory Identity servername\activesync

2. Remove the
ActiveSync objects in AD
a. Open ADSIEDIT.msc, locate: 
Configuration-->CN=Services-->CN=Microsoft Exchange-->CN=Organization-->CN=Administrative Groups-->CN=Exchange Administrative Groups-->CN=Servers-->CN=Exchange-->CN=Protocols-->CN=HTTP
b. In the right pane, please check whether the CN= ActiveSync is present. If so, please remove it.

3. Delete the ActiveSync in metabase
a. Download the IIS 6.0 Resource Kit Tools from the following link:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&displaylang=en

Note: Although the tool was released for IIS 6.0, it also compatible with IIS 7.0
b. Install it on the CAS server. Open the Metabase Explorer
c. Locate: Exchange -> LM -> W3SVC -> 1 -> ROOT.
d. Please check whether ActiveSync is present, if so, remove it.

4. After that, please retry the following command and see if the ActiveSync can be created.
New- ActiveSyncVirtualDirectory

5. Update the server again.

Thanks,

Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

Free Windows Admin Tool Kit Click here and download it now
March 29th, 2015 11:02pm

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

Other recent topics Other recent topics