Solved

Exchange 2013 Error while Upgrading to SP1

Posted on 2014-04-14
8
281 Views
Last Modified: 2016-06-04
I started the upgrade to Exchange SP1, and mid way through the install I received the below error.  I am now unable to Send-Receive any e-mail.  Everything in webmail or outlook goes to Drafts and I am unable to go any further in the install.

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: "Cannot convert 'System.Object[]'
        to the type 'Microsoft.Exchange.Configuration.Tasks.VirtualDirectoryIdParameter'
        required by parameter 'Identity'. Specified method is not supported.".
0
Comment
Question by:WebmonkeyL33T
  • 4
  • 3
8 Comments
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 39999710
First - download a fresh copy of the service pack and extract it again.
Then attempt the install of the service pack once more.

Simon.
0
 

Author Comment

by:WebmonkeyL33T
ID: 39999804
I tried this, and got the same error.  Here is the info surrounding the error from the setup log file:

[04/14/2014 14:47:02.0500] [2] Active Directory session settings for 'Set-InstallPathInAppConfig' are: View Entire Forest: 'True', Configuration Domain Controller: 'Icarus.cfj.cfjmfg.com', Preferred Global Catalog: 'Icarus.cfj.cfjmfg.com', Preferred Domain Controllers: '{ Icarus.cfj.cfjmfg.com }'
[04/14/2014 14:47:02.0500] [2] User specified parameters:  -ConfigFileRelativePath:'FrontEnd\HttpProxy\ReportingWebService' -ConfigFileName:'web.config'
[04/14/2014 14:47:02.0500] [2] Beginning processing set-InstallPathInAppConfig
[04/14/2014 14:47:02.0516] [2] Ending processing set-InstallPathInAppConfig
[04/14/2014 14:47:02.0516] [1] Executing:
          $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
          }
       
[04/14/2014 14:47:02.0531] [2] Active Directory session settings for 'Get-ActiveSyncVirtualDirectory' are: View Entire Forest: 'True', Configuration Domain Controller: 'Icarus.cfj.cfjmfg.com', Preferred Global Catalog: 'Icarus.cfj.cfjmfg.com', Preferred Domain Controllers: '{ Icarus.cfj.cfjmfg.com }'
[04/14/2014 14:47:02.0531] [2] User specified parameters:  -Server:'stalingrad.cfj.cfjmfg.com' -DomainController:'Icarus.cfj.cfjmfg.com' -ErrorAction:'SilentlyContinue'
[04/14/2014 14:47:02.0531] [2] Beginning processing get-ActiveSyncVirtualDirectory
[04/14/2014 14:47:02.0531] [2] Searching objects "stalingrad.cfj.cfjmfg.com" of type "Server" under the root "$null".
[04/14/2014 14:47:02.0546] [2] Previous operation run on domain controller 'Icarus.cfj.cfjmfg.com'.
[04/14/2014 14:47:02.0546] [2] Searching objects of type "ADMobileVirtualDirectory" with filter "$null", scope "SubTree" under the root "STALINGRAD".
[04/14/2014 14:47:02.0546] [2] Request filter in Get Task: (&(objectCategory=msExchMobileVirtualDirectory)(|(&(msExchVersion<=1125899906842624)(!(msExchVersion=1125899906842624)))(!(msExchVersion=*)))).
[04/14/2014 14:47:02.0562] [2] Previous operation run on domain controller 'Icarus.cfj.cfjmfg.com'.
[04/14/2014 14:47:02.0562] [2] Preparing to output objects. The maximum size of the result set is "Unlimited".
[04/14/2014 14:47:02.0562] [2] Searching objects "STALINGRAD" of type "Server" under the root "$null".
[04/14/2014 14:47:02.0578] [2] Previous operation run on domain controller 'Icarus.cfj.cfjmfg.com'.
[04/14/2014 14:47:03.0953] [2] Searching objects "STALINGRAD" of type "Server" under the root "$null".
[04/14/2014 14:47:03.0968] [2] Previous operation run on domain controller 'Icarus.cfj.cfjmfg.com'.
[04/14/2014 14:47:05.0312] [2] Ending processing get-ActiveSyncVirtualDirectory
[04/14/2014 14:47:05.0547] [1] The following 1 error(s) occurred during task execution:
[04/14/2014 14:47:05.0547] [1] 0.  ErrorRecord: Cannot convert 'System.Object[]' to the type 'Microsoft.Exchange.Configuration.Tasks.VirtualDirectoryIdParameter' required by parameter 'Identity'. Specified method is not supported.
[04/14/2014 14:47:05.0547] [1] 0.  ErrorRecord: 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)
[04/14/2014 14:47:05.0578] [1] 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: "Cannot convert 'System.Object[]' to the type 'Microsoft.Exchange.Configuration.Tasks.VirtualDirectoryIdParameter' required by parameter 'Identity'. Specified method is not supported.".
[04/14/2014 14:47:05.0578] [1] Cannot convert 'System.Object[]' to the type 'Microsoft.Exchange.Configuration.Tasks.VirtualDirectoryIdParameter' required by parameter 'Identity'. Specified method is not supported.
[04/14/2014 14:47:05.0578] [1] Specified method is not supported.
[04/14/2014 14:47:05.0578] [1] [ERROR-REFERENCE] Id=CafeComponent___e1130a139a734d90b6c5eec88868fbe9 Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
[04/14/2014 14:47:05.0578] [1] Setup is stopping now because of one or more critical errors.
[04/14/2014 14:47:05.0578] [1] Finished executing component tasks.
[04/14/2014 14:47:05.0625] [1] Ending processing Install-CafeRole
[04/14/2014 14:49:49.0050] [0] CurrentResult setupbase.maincore:396: 0
[04/14/2014 14:49:49.0050] [0] End of Setup
[04/14/2014 14:49:49.0050] [0] **********************************************
0
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 39999830
You haven't got a group policy restricting the PowerShell scripts or anything like that in place?

Try running this command before attempting again:

Set-ExecutionPolicy Unrestricted

Simon.
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Author Comment

by:WebmonkeyL33T
ID: 39999985
I've run that before, but did again just in case to double check.  Still the same error message.
0
 

Author Comment

by:WebmonkeyL33T
ID: 40000033
And sorry, no restrictions on powershell.  Is there another command I can use to test any restrictions?  Would it be safe or helpful to run any of the Get- commands in the setup log to test and see if any errors are happening in the background?
0
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 40000227
The setup should detect other restrictions - it has done for me in the past.
Does the virtual directory referenced actually exist?

get-activesyncvirtualdirectory

Although I don't think the problem is with the virtual directory per-se, more likely a system issue which is stopping it from being run properly.

Simon.
0
 

Accepted Solution

by:
WebmonkeyL33T earned 0 total points
ID: 40000361
I was able to fix the issue.  Turns out there was a virtual directory in ECP that didn't exist in IIS.  This was causing the install to fail because it was trying to install a filter on the site that didn't' exist.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read this checklist to learn more about the 15 things you should never include in an email signature.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question