Solved

Exchange 2013 Error while Upgrading to SP1

Posted on 2014-04-14
8
304 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

735 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