Quantcast
Channel: Exchange Server 2013 - Setup, Deployment, Updates, and Migration forum
Viewing all 7129 articles
Browse latest View live

.ost and .pst problem - how to migrate from IMAP to POP

$
0
0
Am changing an employee's email to POP from IMAP, but can't import the old .ost file to retrieve older emails. I already deleted the old IMAP account and created the new POP. The old .ost file is still there, I just can't open it or retrieve any messages. Even tried recreating the IMAP account and renaming the old .ost to the new .ost file name, but that just produced an error. Any thoughts?

Exchange 2013 CUs do not remove earlier version files and folders

$
0
0

I have an Exchange 2013 installation started with SP1 that I have kept updated installing the Cumulative Updates when they were released.

I have observed that after each CU installation the C: free space (Exchange is installed on C:) was less then before. So I searched in the Exchange install directory and I have found a lot of sub-directories named with an Exchange build number, expecially under the ClientAccess install dir and the OWA subdir.

For instance, under C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Owa I have many folders named "15.0.995.28", "15.0.995.32", "15.0.1044.21", "15.0.1044.27", "15.0.1076.2", "15.0.1076.10".

The C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Owa\prem directory has the same subfolders and is consuming a lot of disk space.

As I could understand, the CU setup should remove the older files but it seems that it does not and keeps older version in these directories. I have tried installing a fresh Exchange 2013 CU8 on a new server and these directories are not present.

The question is: is that correct?

And: can I safely delete the older versions folders?

Thanks

Exchange Server 2013 CU 17 _ Download

$
0
0

Hello Folks,

I am trying to download Exchange Server 2013 CU 17 but no luck.

Can anyone share how do i get it, Please.

Thanks.

Migrating an Exchange 2013 to Exchange 2019

$
0
0
We have an Exchange organization that excepts email for 4 domains. We are starting to migrate one of the domains to it's own forest. We have migrated a couple of test users and all seems ok except, old emails involving the migrated users. During the migration an X500 address is created on the new mailbox in the new forest but how are emails routed to that address from the original Forest/Domain? When replying to an old email an NDR is generated there is a legacyDN address but how can that be routed to the new Forest/Domain? 

Error upgrading Exchange 2013 SP1 to CU22

$
0
0

Hi everyone,

Trying to upgrade our Exchange 2013 SP1 to CU22, need help with the error quoted below.

Is it safe to delete the account Exchange Online-ApplicationAccount in AD?

We have a closed environment here.

Appreciate for any help or suggestion in advance. 

------------------------------------------------------------------------------------------------------------------------------

[03/16/2019 07:45:21.0601] [2] Preparing to output objects. The maximum size of the result set is "Unlimited".
[03/16/2019 07:45:21.0601] [2] Ending processing Get-ManagementRoleAssignment
[03/16/2019 07:45:21.0601] [1] The following 1 error(s) occurred during task execution:
[03/16/2019 07:45:21.0601] [1] 0.  ErrorRecord: Active Directory operation failed on Server.Domain.SG.LOCAL. The object 'CN=Exchange Online-ApplicationAccount,CN=Users,DC=DOMAIN,DC=SG,DC=LOCAL' already exists.
[03/16/2019 07:45:21.0601] [1] 0.  ErrorRecord: Microsoft.Exchange.Data.Directory.ADObjectAlreadyExistsException: Active Directory operation failed on Server.Domain.SG.LOCAL. The object 'CN=Exchange Online-ApplicationAccount,CN=Users,DC=DOMAIN,DC=SG,DC=LOCAL' already exists. ---> System.DirectoryServices.Protocols.DirectoryOperationException: The object exists.
   at System.DirectoryServices.Protocols.LdapConnection.ConstructResponse(Int32 messageId, LdapOperation operation, ResultAll resultType, TimeSpan requestTimeOut, Boolean exceptionOnTimeOut)
   at System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request, TimeSpan requestTimeout)
   at Microsoft.Exchange.Data.Directory.PooledLdapConnection.SendRequest(DirectoryRequest request, LdapOperation ldapOperation, Nullable`1 clientSideSearchTimeout, IActivityScope activityScope, String callerInfo)
   at Microsoft.Exchange.Data.Directory.ADDataSession.ExecuteModificationRequest(ADObject entry, DirectoryRequest request, ADObjectId originalId, Boolean emptyObjectSessionOnException, Boolean isSync)
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.Data.Directory.ADDataSession.AnalyzeDirectoryError(PooledLdapConnection connection, DirectoryRequest request, DirectoryException de, Int32 totalRetries, Int32 retriesOnServer)
   at Microsoft.Exchange.Data.Directory.ADDataSession.ExecuteModificationRequest(ADObject entry, DirectoryRequest request, ADObjectId originalId, Boolean emptyObjectSessionOnException, Boolean isSync)
   at Microsoft.Exchange.Data.Directory.ADDataSession.Save(ADObject instanceToSave, IEnumerable`1 properties, Boolean bypassValidation)
   at Microsoft.Exchange.Data.Directory.Recipient.ADRecipientObjectSession.Save(ADRecipient instanceToSave)
   at Microsoft.Exchange.Configuration.Tasks.SetTaskBase`1.InternalProcessRecord()
   at Microsoft.Exchange.Configuration.Tasks.NewTaskBase`1.InternalProcessRecord()
   at Microsoft.Exchange.Configuration.Tasks.NewADTaskBase`1.InternalProcessRecord()
   at Microsoft.Exchange.Management.RecipientTasks.NewLinkedUser.InternalProcessRecord()
   at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
[03/16/2019 07:45:21.0601] [1] [ERROR] The following error was generated when "$error.Clear(); 
            #
            # O15# 2844081 - Create PartnerApplication "Exchange Online" in DC and On-Premise
            #
            $exch = [Microsoft.Exchange.Data.Directory.SystemConfiguration.WellknownPartnerApplicationIdentifiers]::Exchange;
            $exchApp = Get-PartnerApplication $exch -ErrorAction SilentlyContinue -DomainController $RoleDomainController | Where { $_.UseAuthServer };
            if ($exchApp -eq $null)
            {
                $exchAppName = "Exchange Online";
                $exchApp = New-PartnerApplication -Name $exchAppName -ApplicationIdentifier $exch -Enabled $RoleIsDatacenter -AcceptSecurityIdentifierInformation $false -DomainController $RoleDomainController;
            }

            # Create application account for Exchange
            $appAccountName = $exchApp.Name + "-ApplicationAccount";
            $appAccount = Get-LinkedUser -Identity $appAccountName -ErrorAction SilentlyContinue -DomainController $RoleDomainController;
            if ($appAccount -eq $null)
            {
                $appAccountUpn = $appAccountName.Replace(" ", "_") + "@" + $RoleFullyQualifiedDomainName;
                $appAccount = New-LinkedUser -Name $appAccountName -UserPrincipalName $appAccountUpn -DomainController $RoleDomainController;
                Set-PartnerApplication -Identity $exchApp.Identity -LinkedAccount $appAccount.Identity -DomainController $RoleDomainController;
            }

            foreach ($roleName in ("UserApplication", "ArchiveApplication", "LegalHoldApplication", "Mailbox Search", "TeamMailboxLifecycleApplication", "MailboxSearchApplication"))
            {
                $roleIdentity = Get-ManagementRole $roleName -DomainController $RoleDomainController;
                $roleAssignment = Get-ManagementRoleAssignment -Role $roleIdentity.Identity -RoleAssignee $appAccount.Identity -DomainController $RoleDomainController;
                if ($roleAssignment -eq $null)
                {
                    New-ManagementRoleAssignment -Role $roleName -User $appAccount.Identity -DomainController $RoleDomainController;
                }
            }
        " was run: "Active Directory operation failed on Server.Domain.SG.LOCAL. The object 'CN=Exchange Online-ApplicationAccount,CN=Users,DC=DOMAIN,DC=SG,DC=LOCAL' already exists.".
[03/16/2019 07:45:21.0617] [1] [ERROR] Active Directory operation failed on Server.Domain.SG.LOCAL. The object 'CN=Exchange Online-ApplicationAccount,CN=Users,DC=DOMAIN,DC=SG,DC=LOCAL' already exists.
[03/16/2019 07:45:21.0617] [1] [ERROR] The object exists.
[03/16/2019 07:45:21.0617] [1] [ERROR-REFERENCE] Id=CommonGlobalConfig___907E0EE000AB4117A05F237A81E53AA2 Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
[03/16/2019 07:45:21.0617] [1] Setup is stopping now because of one or more critical errors.
[03/16/2019 07:45:21.0617] [1] Finished executing component tasks.
[03/16/2019 07:45:21.0633] [1] Ending processing Install-ExchangeOrganization

-----------------------------------------------------------------------------------------------------------------------------------------------------------------

Error Preparing Schema for Exchange 2013

$
0
0

I recive this error when running the preparing AD for exchange 2013 on a 2012 r2 server. 

Error:

The following error was generated when "$error.Clear();

         #

         # O15# 2844081 - Create PartnerApplication "Exchange Online" in DC and On-Premise

         #

         $exch = [Microsoft.Exchange.Data.Directory.SystemConfiguration.WellknownPartnerApplicationIdentifiers]::Exchange;

         $exchApp = Get-PartnerApplication $exch -ErrorAction SilentlyContinue -DomainController $RoleDomainController | Where { $_.UseAuthServer };

         if ($exchApp -eq $null)

         {

             $exchAppName = "Exchange Online";

             $exchApp = New-PartnerApplication -Name $exchAppName -ApplicationIdentifier $exch -Enabled $RoleIsDatacenter -AcceptSecurityIdentifierInformation $false -DomainController $RoleDomainController;

         }

         # Create application account for Exchange

         $appAccountName = $exchApp.Name + "-ApplicationAccount";

         $appAccount = Get-LinkedUser -Identity $appAccountName -ErrorAction SilentlyContinue -DomainController $RoleDomainController;

         if ($appAccount -eq $null)

         {

           $appAccountUpn = $appAccountName.Replace(" ", "_") + "@" + $RoleFullyQualifiedDomainName;

           $appAccount = New-LinkedUser -Name $appAccountName -UserPrincipalName $appAccountUpn -DomainController $RoleDomainController;

           New-ManagementRoleAssignment -Role "UserApplication" -User $appAccount.Identity -DomainController $RoleDomainController;

           New-ManagementRoleAssignment -Role "ArchiveApplication" -User $appAccount.Identity -DomainController $RoleDomainController;

           New-ManagementRoleAssignment -Role "LegalHoldApplication" -User $appAccount.Identity -DomainController $RoleDomainController;

           New-ManagementRoleAssignment -Role "Mailbox Search" -User $appAccount.Identity -DomainController $RoleDomainController;

           New-ManagementRoleAssignment -Role "TeamMailboxLifecycleApplication" -User $appAccount.Identity -DomainController $RoleDomainController;

           New-ManagementRoleAssignment -Role "MailboxSearchApplication" -User $appAccount.Identity -DomainController $RoleDomainController;

           Set-PartnerApplication -Identity $exchApp.Identity -LinkedAccount $appAccount.Identity -DomainController $RoleDomainController;;

         }

       " was run: "Couldn't find a user with the identity "ESL.LOC/Users/Exchange Online-ApplicationAccount".".

Error:

The following error was generated when "$error.Clear();

         #

         # O15# 2844081 - Create PartnerApplication "Exchange Online" in DC and On-Premise

         #

         $exch = [Microsoft.Exchange.Data.Directory.SystemConfiguration.WellknownPartnerApplicationIdentifiers]::Exchange;

         $exchApp = Get-PartnerApplication $exch -ErrorAction SilentlyContinue -DomainController $RoleDomainController | Where { $_.UseAuthServer };

         if ($exchApp -eq $null)

         {

             $exchAppName = "Exchange Online";

             $exchApp = New-PartnerApplication -Name $exchAppName -ApplicationIdentifier $exch -Enabled $RoleIsDatacenter -AcceptSecurityIdentifierInformation $false -DomainController $RoleDomainController;

         }

         # Create application account for Exchange

         $appAccountName = $exchApp.Name + "-ApplicationAccount";

         $appAccount = Get-LinkedUser -Identity $appAccountName -ErrorAction SilentlyContinue -DomainController $RoleDomainController;

         if ($appAccount -eq $null)

         {

           $appAccountUpn = $appAccountName.Replace(" ", "_") + "@" + $RoleFullyQualifiedDomainName;

           $appAccount = New-LinkedUser -Name $appAccountName -UserPrincipalName $appAccountUpn -DomainController $RoleDomainController;

           New-ManagementRoleAssignment -Role "UserApplication" -User $appAccount.Identity -DomainController $RoleDomainController;

           New-ManagementRoleAssignment -Role "ArchiveApplication" -User $appAccount.Identity -DomainController $RoleDomainController;

           New-ManagementRoleAssignment -Role "LegalHoldApplication" -User $appAccount.Identity -DomainController $RoleDomainController;

           New-ManagementRoleAssignment -Role "Mailbox Search" -User $appAccount.Identity -DomainController $RoleDomainController;

           New-ManagementRoleAssignment -Role "TeamMailboxLifecycleApplication" -User $appAccount.Identity -DomainController $RoleDomainController;

           New-ManagementRoleAssignment -Role "MailboxSearchApplication" -User $appAccount.Identity -DomainController $RoleDomainController;

           Set-PartnerApplication -Identity $exchApp.Identity -LinkedAccount $appAccount.Identity -DomainController $RoleDomainController;;

         }

       " was run: "Couldn't find a user with the identity "ESL.LOC/Users/Exchange Online-ApplicationAccount".".

Migration stuck in "Syncing" status

$
0
0

I'm in the process of migrating from E2013 to E2016. I've tried to start my mailbox moves, but any user I migrate just stays in a "syncing" state. I've left batches running for days and it never changes. The users are only test accounts, so there really is almost no data. I am also only doing 1 user at a time until it is successful.

On the E2016 event log, it shows the migration cmdlet was started successfully. No other events after that. On the E2013, no messages there either.

Running the Get-MoveRequest -BatchName "Pilot" | Get-MoveRequestStatistics cmdlet yields nothing. It just returns to a prompt with no output.

I've had to kill the batches forcefully as deleting them also just hangs in a state of deleting.

I've tried restarting a Mailbox Replication as others have suggested and that doesn't do anything either.

Any ideas?

I Want to Migrate My Mails from Novel Group Wise to Exchange 2013.

$
0
0

Hi Guys,

Most probably I am going to deliver one project in nearest future, which included to move Mailboxes and mail data from Novel Group-wise to Exchange 2013. i want to know what should be the approach and what are the per-requisites that need to be consider to perform Migration steps in above scenario? please let me know how the mail-flow work to/from Group-wise to exchange 2013 and vice-verse. please suggest me some initial steps and URLs for this requirement. i want to be clarified logically before i suggest any solution on this to my customer.

step by step docs will be more helpful to achieve this goal..

Regards,

Aanand Singh


CU6 Update failing prerequisite check WinMgmt "Access is denied."

$
0
0

I'm attempting to upgrade Exchange 2013 and am seeing the following error message. I've been unable to get past it and haven't found any helpful information in my research on what to do. Thoughts?

Welcome to Microsoft Exchange Server 2013 Unattended Setup
Languages
Mailbox role: Transport service
Client Access role: Front End Transport service
Mailbox role: Client Access service
Mailbox role: Unified Messaging service
Mailbox role: Mailbox service
Management tools
Client Access role: Client Access Front End service

Performing Microsoft Exchange Server Prerequisite Check

    Configuring Prerequisites                                                                         FAILED
     The following error was generated when "$error.Clear();
          if (Get-Service WinMgmt* | ?{$_.Name -eq 'WinMgmt'})
          {
            Set-Service WinMgmt -StartupType Automatic
            Start-SetupService -ServiceName WinMgmt
          }
        " was run: "Service 'Windows Management Instrumentation (WinMgmt)' cannot be configured due to the following err
or: Access is denied".

    Prerequisite Analysis                                                                             COMPLETED

The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the
<SystemDrive>:\ExchangeSetupLogs folder.

Need help with making a certificate to possibly eliminate an error and removing others

$
0
0

I'm currently using a self-signed certificate for exchange 2013 and will get a paid one when I move to 2016.

I recently removed my exchange 2007 from my 2013-2007 coexistence and have been getting some possible certificate errors after the removal.

Cannot start Microsoft Outlook. Cannot open the Outlook window. The set of folders cannot be opened. Network problems are preventing connection to Microsoft Exchange.

If I need to make a new self-signed certificate, what URL's and Friendly name/FQDN should it have? I'll eventually have a 2013-2016 coexistence and then just 2016 so advice about that would be helpful as well.

The current certificate does have the 2007 server named in it but isn't the friendly/FQDN.

I have an OWA deployment for those off site and local users using Outlook 2016.

I currently have 4 certificates on Exchange. Some have overlapping services tied to them but I have 1 tied to the all the services the others are tied to and is the one picked up by the Outlook clients and used by OWA.

Do I only need 1 certificate? Am I OK to remove the other certificates that have services covered by the one I mentioned?

I'm new to certificates and don't want 100 people hunting me down when their Outlook quits working entirely if I remove a needed certificate or make a new one that doesn't have everything it needs.

Thanks!


Exchange 2013 - CU2 Install Fail - Error code is 1603

$
0
0

Error:
Unable to remove product with code 4934d1ea-be46-48b1-8847-f1af20e892c1. Fatal error during installation. Error code is 1603. Last error reported by the MSI package is 'Unable to install because a previous Interim Update for Exchange Server 2013 Cumulative Update 1 has been installed.  Please use Add/Remove Programs to uninstall the Interim Update before running this setup again.'.

The install hangs here after it has disabled a number of services. I have to go back in and re-enable the services to bring Exchange back online. However, smtp still does not respond devices other than itself.

1. How do I get SMTP back online with that server

2. How can I get CU2 installed. My understanding is that uninstalling CU1 means removing Exchange entirely which I do not want to do.

I have a 2 server environment with 2 databases and a single DAG.


DH

Recover disabled mailboxes from Exchange 2013

$
0
0

We recently did a hardware migration of MS Exchange 2013 CU11 to a new Exchange 2013 CU21 server. This involved using the move mailbox wizard to move all of the mailboxes. The process was completed successfully and after waiting a few weeks, we finished by uninstalling Exchange 2013 from the old server. Nothing else was done to the old server, and the old databases and logs are still in place.
The client has now advised us that there were a number of disabled mailboxes that they had forgotten about, and now need to have recovered. We tried to use the recovery database option on the new server to mount the old databases but this failed, as the Windows server version is different.
As only CU21 and CU22 are available for download, how should we proceed to reinstall Exchange 2013 on the old server in order to recover the disabled mailboxes? I presume we use setup /mode:recoverserver but will this work with CU22 and will this allow us to recover the disabled mailboxes? The retention period was set for 1 year so they "should" be there.
Many thanks,
Pat

Wildcard Problem - IMAP e POP

$
0
0

Hi, 

I'm having a trouble with Exchange 2013. 

I'm trying to remove an old Certificate, and I want to assign IMAP and POP service to a Wildcard. 

I'm doing the procedure "Set-PopSettings -X509CertificateName webmail.domain.it" but, when I check with Get-PopSettings I can see that the X509CertificateName is already being set, but when I use Enable-ExchangeCertificate it return me the classic error "

WARNING: This certificate with thumbprint AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA and subject '*.domain.com' cannot used for POP SSL/TLS connections because the subject is not a
 Fully Qualified Domain Name (FQDN). Use command Set-POPSettings to set X509CertificateName to the FQDN of the service."

Have you ever seen this problem?

Thank you.

AA

Cross forest migration from Exchange 2016 to Exchange 2013

$
0
0

Is it technically possible to migrate Exchange 2016 mailboxes to an Exchange 2013 organization in a cross forest migration scenario?

thanks in advance.

Cross Forest Mailbox Migration - source Exchange OWA does not find mailbox after migration is completed.

$
0
0

Greetings all

We are merging 2 companies (forest A source, Forest B target) and migrating all the mailboxes from Exchange 2013 in forest A to Exchange 2016 in forest B (Exch A will be decomissioned). A Two way trust has been established. The Prepare-moverequest script is issued correctly and the New Move is initiated using the ECP "migrate to this forest" from the target forest B Exchange 2016. The mailbox is eventually synched. Until this point access to the mailbox using OWA in Exch A is still functional. However when we finalize/complete the migration and it is definitely removed from Exch A, OWA in Exch A says "something went wrong" when trying to access the mailbox reporting it cannot locate it instead of proxying. Usually (at least between same domain migration) you get redirected or proxied to the target Exchange which has the mailbox. However the Outlook client from the source domain A does update itself and connects to the new Exch Server in forest B correctly so the mailbox is available and online. After the mailbox move we use ADMT to migrate the user from A to B with SID history but filtering MSExch attributes retaining the original user in the source AD. This should not however change the behavior of the source OWA after the mbox has been migrated. Additionally, the source Exch server converts the user mbox into a contact which is the correct behavior so I don't know why from the source OWA it does not proxy correctly towards the target Exch B (maybe some incorrect attribute?). Any pointers are appreciated - thanks!


--- Luca Forattini


Exchange 2013 CU12

$
0
0

I'm am looking for an ISO of EX2013 CU12. Version 15.0 (Build 1178.4)  I'm on this release and need to mail enable a new domain.  MS has removed this release from the web.  

Thanks. 

Exchange 2013 - Hybrid deployment - On-premise mailbox + Online archive (EOA) mailbox i O365

$
0
0

We are successfully using a hybrid setup with on-Premise Exchange 2013 and archive mailboxes in an Office 365 tennant.

Users are synced to "cloud" with Azure AD Sync and have been granted Office 365 Exchange Online Archiving (EOA) licenses.

Our users with online archives can however not utilize retention policies, and need to manually move data from on-Premise mailbox to archive.
We have tried exporting retention policies from on-Premise and imported to O365, but the Policy button is not present under the Folder ribbon in Outlook.
I have an O365 mailbox as a second account in Outlook. When I browse this mailboxes' folders, the Policy button is present.

The users have been granted a Retention Policy which has been imported to the O365 tennant.

Has anyone got a similar setup to work with using retention policies for automatic archiving of e.g. 1 year old emails?


export Mailbox To Pst File

$
0
0

Hi Everyone,

i am trying to export some mailbox in my exchange2010 Sp3 to Pst , but when excute the below command i got the Error:

New-mailboxExportRequest -Mailbox "admin" -filepath \\ server\Pst\admin.pst

i got the following Error:

The call to 'net.tcp://server name/Microsoft.Exchange.MailboxReplicationService server name' timed out. Error details: This request operation sent to net.tcp:// server name//Microsoft.Exchange.MailboxReplicationService did not receive a reply within the configured timeout (00:01:00).

i tried to increase TimeOut on Client Access folder in Web.config file  i make (DataImportTimeout=00:20:00)but not successfully.

 

Note: (Pst) folder has been shared and give Group (exchange trust subsytem) full permission.

thank in advance 

Exchange 2016 w/ CU 6 ONLY.

$
0
0

We NEED an image of 2016 CU (cumulative update) 6, please! The link I downloaded was CU 10 using our volume license and it’s not going to migrate from 2008 unless we had R2 – which we do not. Microsoft’s site does not have CU 6. How can we get CU6? Our migration is on hold for the moment until this is resolved and I download CU 6. Please assist.

Exchange Server 2013 CU22 aborts with Exception: Failure configuring SearchFoundation through installconfig.ps1

$
0
0

Hello,

I have tried to update one of our Exchange 2013CU21 Servers with CU22, but in step 10 of 18 "Mailbox role: Transport service" I get the following exception. Does anybody know what could cause this?

Der folgende Fehler wurde generiert, als "$error.Clear(); 
            if ($RoleProductPlatform -eq "amd64")
            {
                try
                {
                    # Need to configure the ETL traces before the fast service is installed. This will ensure that when the service comes up
                    # it will have the necessary trace session setting available to read from the registry
                    $fastPerfEtlTraceFolderPath = Join-Path -Path $RoleBinPath -ChildPath "\Search\Ceres\Diagnostics\ETLTraces"
                    $fastDiagnosticTracingRegKeyPath = 'HKLM:\SOFTWARE\Microsoft\Office Server\16.0\Search\Diagnostics\Tracing'
                    if(-not(Test-Path -Path $fastPerfEtlTraceFolderPath))
                    {
                        $null = New-Item $fastPerfEtlTraceFolderPath -Type 'Directory' -Force 
                    }
                    
                    if (-not(Test-Path -Path $fastDiagnosticTracingRegKeyPath))
                    {
                        $null = New-Item -Path $fastDiagnosticTracingRegKeyPath -Force
                    }
                    
                    $null = New-ItemProperty -Path $fastDiagnosticTracingRegKeyPath -Name 'TracingPath' -PropertyType 'string' -Value $fastPerfEtlTraceFolderPath -Force
                    $null = New-ItemProperty -Path $fastDiagnosticTracingRegKeyPath -Name 'TracingFileName' -PropertyType 'string' -Value 'DocumentProcessingTrace' -Force
                    $null = New-ItemProperty -Path $fastDiagnosticTracingRegKeyPath -Name 'DocumentParserSuccessLogMessage' -PropertyType 'Dword' -Value 1 -Force
                    $null = New-ItemProperty -Path $fastDiagnosticTracingRegKeyPath -Name 'DocumentParserLoggingNoInitialisation' -PropertyType 'Dword' -Value 1 -Force
                    
                    # Max trace folder size 50 * 100 = 5GB
                    $null = New-ItemProperty -Path $fastDiagnosticTracingRegKeyPath -Name 'MaxTraceFileSize' -PropertyType 'Dword' -Value 50 -Force
                    $null = New-ItemProperty -Path $fastDiagnosticTracingRegKeyPath -Name 'MaxTraceFileCount' -PropertyType 'Dword' -Value 100 -Force
                    
                    $null = New-ItemProperty -Path $fastDiagnosticTracingRegKeyPath -Name 'UseGeneralSwitch' -PropertyType 'Dword' -Value 1 -Force
                    $null = New-ItemProperty -Path $fastDiagnosticTracingRegKeyPath -Name 'GeneralSwitch' -PropertyType 'Dword' -Value 1 -Force                    
                }
                catch
                {
                    # ETl tracing is not critical. Info only log
                    Write-ExchangeSetupLog -Info ("An exception ocurred while trying to Configure the FAST ETL traces. Exception: " + $_.Exception.Message);
                }

                try
                {
                    $fastFusionRegKeyPath = 'HKLM:\SOFTWARE\Microsoft\Office Server\16.0\Search\FlightControl' 

                    if (Test-Path -Path $fastFusionRegKeyPath)
                    {
                        Remove-ItemProperty -Path $fastFusionRegKeyPath -Name 'fusion_new_enabled' -Force -ErrorAction SilentlyContinue
                        Remove-ItemProperty -Path $fastFusionRegKeyPath -Name 'fusion_old_enabled' -Force -ErrorAction SilentlyContinue
                        Remove-ItemProperty -Path $fastFusionRegKeyPath -Name 'fusion_compare_outputs' -Force -ErrorAction SilentlyContinue
                    }
                }
                catch
                {
                    # Removing new fusion keys is not critical. Info only log
                    Write-ExchangeSetupLog -Info ("An exception ocurred while trying to remove the fast new fusion reg keys. Exception: " + $_.Exception.Message);
                }
                
                $fastInstallConfigPath = Join-Path -Path $RoleBinPath -ChildPath "Search\Ceres\Installer";
                $command = Join-Path -Path $fastInstallConfigPath -ChildPath "InstallConfig.ps1";
                $dataFolderPath = Join-Path -Path $RoleBinPath -ChildPath "Search\Ceres\HostController\Data";

                # Remove previous SearchFoundation configuration
                &$command -action u -silent;
                try
                {
                    if ([System.IO.Directory]::Exists($dataFolderPath))
                    {
                        [System.IO.Directory]::Delete($dataFolderPath, $true);
                    }
                }
                catch
                {
                    $deleteErrorMsg = "Failure cleaning up SearchFoundation Data folder. - " + $dataFolderPath + " - " + $_.Exception.Message;
                    Write-ExchangeSetupLog -Error $deleteErrorMsg;
                }

                # Re-add the SearchFoundation configuration
                try
                {
                    # the BasePort value MUST be kept in sync with dev\Search\src\OperatorSchema\SearchConfig.cs
                    &$command -action i -baseport 3800 -dataFolder $dataFolderPath -silent;
                }
                catch
                {
                    $errorMsg = "Failure configuring SearchFoundation through installconfig.ps1 - " + $_.Exception.Message;
                    Write-ExchangeSetupLog -Error $errorMsg;
                    
                    # Clean up the failed configuration attempt.
                    &$command -action u -silent;
                    try
                    {
                        if ([System.IO.Directory]::Exists($dataFolderPath))
                        {
                            [System.IO.Directory]::Delete($dataFolderPath, $true);
                        }
                    }
                    catch
                    {
                        $deleteErrorMsg = "Failure cleaning up SearchFoundation Data folder. - " + $dataFolderPath + " - " + $_.Exception.Message;
                        Write-ExchangeSetupLog -Error $deleteErrorMsg;
                    }
                }
                
                # Set the PowerShell Snap-in's public key tokens
                try
                {
                    $PowerShellSnapinsPath = "HKLM:\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\";
                    $FastSnapinNames = @("EnginePSSnapin", "HostControllerPSSnapIn", "InteractionEnginePSSnapIn", "JunoPSSnapin", "SearchCorePSSnapIn");
                    $officePublicKey = "71E9BCE111E9429C";
                    $exchangePublicKey = "31bf3856ad364e35";
                    foreach ($fastSnapinName in $FastSnapinNames)
                    {
                        $fastSnapinPath = $PowerShellSnapinsPath + $fastSnapinName;
                        $assemblyNameProperty = Get-ItemProperty -Path $fastSnapinPath -Name "AssemblyName" -ErrorAction SilentlyContinue;
                        if ($assemblyNameProperty -ne $null -and (-not [string]::IsNullOrEmpty($assemblyNameProperty.AssemblyName)))
                        {
                            $newAssemblyName = $assemblyNameProperty.AssemblyName -ireplace ($officePublicKey, $exchangePublicKey);
                            Set-ItemProperty -Path $fastSnapinPath -Name "AssemblyName" -Value $newAssemblyName;
                        }
                    }
                }
                catch
                {
                    # Info only log
                    Write-ExchangeSetupLog -Info ("An exception ocurred while configuring Search Foundation PowerShell Snapin. Exception: " + $_.Exception.Message);
                }
            }
        " ausgeführt wurde: "System.Exception: Failure configuring SearchFoundation through installconfig.ps1 - Error occurred while configuring Search Foundation for Exchange.System.ServiceModel.EndpointNotFoundException: Es konnte keine Verbindung mit "net.tcp://localhost:3801/ceres/hostcontroller/nettcp" hergestellt werden. Der Verbindungsversuch hat für einen Zeitraum von 00:00:02.0258890 angedauert. TCP-Fehlercode 10061: Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte 127.0.0.1:3801.  ---> System.Net.Sockets.SocketException: Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte 127.0.0.1:3801
   bei System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   bei System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
   bei System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   --- Ende der internen Ausnahmestapelüberwachung ---

Server stack trace: 
   bei System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   bei System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   bei System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
   bei System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
   bei System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   bei System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
   bei System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   bei System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
   bei System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
   bei System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
   bei System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   bei System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   bei System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   bei Microsoft.Ceres.HostController.WcfTypes.IHostController.GetHostInformation()
   bei Microsoft.Ceres.Exchange.PostSetup.HostControllerManager.ConnectHost(Uri uri, Boolean secure, String userIdentity, Int16 timeoutInSeconds)
   bei Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.DeployAdminNode(String installDirectory, String localHostControllerNetTcpUrl, Int32 hostControllerPort)
   bei Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.Install(String installDirectory, String dataDirectoryPath, Int32 basePort, String logFile, Boolean singleNode, String systemName, Boolean attachedMode)
   bei CallSite.Target(Closure , CallSite , RuntimeType , Object , Object , Object , Object , Object , Object , Boolean )
   bei Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
   bei Microsoft.Exchange.Management.Deployment.WriteExchangeSetupLog.InternalProcessRecord()
   bei Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
   bei Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".

Viewing all 7129 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>