Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Exchange 2013 Error while Upgrading to SP1

Posted on 2014-04-14
8
Medium Priority
?
372 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
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…

718 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