Solved

Exchange 2013 Error while Upgrading to SP1

Posted on 2014-04-14
8
259 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

Too many email signature updates to deal with?

Do you feel like you are taking up all of your time constantly visiting users’ desks to make changes to email signatures? Wish you could manage all signatures from one central location, easily design them and deploy them quickly to users? Well, there is an easy way!

Join & Write a Comment

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create a Contact 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 Recipients >> Contact ta…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

705 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now