?
Solved

Exchange 2013 Error while Upgrading to SP1

Posted on 2014-04-14
8
Medium Priority
?
406 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
7 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
Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

You finally migrated Public Folders to Office 365, decommissioned the Public Folder mailbox database and since then, when you send an email from on-premise to mail-enabled Public Folders, you get the following error: "Misconfigured public folder mai…
In this post, we will learn to set up the Group Naming policy and will see how it is going to impact the Display Name and the Email addresses of the Group.
In this video we show how to create an email address policy 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 Mail Flow…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.

599 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