[SOLVED] Cannot bind parameter ‘EdbFilePath’ to the target.

Last Updated on April 18, 2021 by admin

When you are installing Exchange Server 2016 on Windows Server 2016 with PowerShell, you may get the following error.

[ERROR] Cannot bind parameter ‘EdbFilePath’ to the target. Exception setting “EdbFilePath”: “File path “C:\ExchangeDB” does not match the expected file extension “.edb”.”
[11/02/2017 12:19:36.0912] [1] [ERROR] Exception setting “EdbFilePath”: “File path “C:\ExchangeDB” does not match the expected file extension “.edb”.”
[11/02/2017 12:19:36.0912] [1] [ERROR] File path “C:\ExchangeDB” does not match the expected file extension “.edb”.
[11/02/2017 12:19:36.0927] [1] [ERROR-REFERENCE] Id=MailboxComponent___61cf7fc80dac4973a39d3a0c960fe7c3 Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
[11/02/2017 12:19:36.0927] [1] Setup is stopping now because of one or more critical errors.

Solution:

The error is generated because of the following wrong command you executed:

./Setup.exe /Mode:Install /IAcceptExchangeServerLicenseTerms /Role:Mailbox /CustomerFeedbackEnabled:False /TargetDir:”C:\\Exchange\\” /DbFilePath:”C:\\ExchangeDB\\” /LogFolderPath:”C:\\Logs\\”

Use the following command instead and it should work,

./Setup.exe /Mode:Install /IAcceptExchangeServerLicenseTerms /Role:Mailbox /CustomerFeedbackEnabled:False

 

Leave a Comment