31. December 2013 · Comments Off on Exchange 2007 SP3 – New-ReceiveConnector fails · Categories: Microsoft · Tags: , , , , , , ,

When creating a new Receive Connector on Exchange Server 2007 SP3 (Update Rollup 2) the creation failed with a non-retriabele error and a “the requested attribute does not exist” error:

Error:
Active Directory operation failed on GL-SRV.test.local. This error is not retriable. Additional information: The parameter is incorrect.
Active directory response: 00000057: LdapErr: DSID-0C090C26, comment: Error in attribute conversion operation, data 0, v1772

The requested attribute does not exist.

Exchange Management Shell command attempted:
new-ReceiveConnector -Name ‘mail.gltest.com’ -Usage ‘Internet’ -Bindings ‘0.0.0.0:25’ -Fqdn ‘mail.gltest.com’ -Server ‘GL-SRV’

Elapsed Time: 00:00:00

According to this article on the Microsoft Exchange Team site more people are facing this issue (scroll through the comments). It looks like something specific to UR1 and UR2 for Exchange Server 2007 SP3:http://blogs.technet.com/b/exchange/archive/2010/09/09/3410985.aspx

Microsoft is aware of this issue and it is currently being investigated. It looks like the schema upgrade during SP3 is not performed properly sometimes, resulting in an incorrect schema for Service Pack 3. Unfortunately the setup application of SP3 continues, resulting in these kind of errors.

You can solve it by running the Exchange 2007 SP3 schema upgrade again:

Setup.com /PrepareSchema

After this creation of a new Receive Connector is successful.

21. June 2013 · Comments Off on How to Manually Remove Exchange 2007 · Categories: Microsoft · Tags: , , , , ,

How to manually remove an Exchange 2007 that got hosed.

Uninstalling exchange was also unsuccessful because some objects were missing from Active Directory. I also wanted to avoid reinstalling the OS as I have critical software that needs to remain.  So I tried removing exchange manually.

  1. Run setup /m:uninstall (From Exchange 2007 Media)
  2. Stop and disable all the Exchange 2007 services
  3. Use Registry Editor (Start->Run->Regedit) to remove these Exchange related registry keys:
    • HKLMSOFTWAREMicrosoftExchange
    • HKLMSYSTEMCurrentControlSetServicesMSExchange* (all the keys starting with “MSExchange”)
    • HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstallMicrosoft Exchange
  4. Remove the entire Web Server role (don’t forget to reinstall afterwards as it’s a prerequisite for E2K7!)
  5. Remove the Exchange 2007 server from Active Directory. I ended up deleting the entire “Microsoft Exchange” branch from ADSIEdit (Configuration Container > Services > Microsoft Exchange) as my domain only has one server.
  6. Use Windows Explorer to delete:
    • C:Program FilesMicrosoftExchange Server
    • C:ExchangeSetupLogs
  7. Use Windows Installer CleanUp Utility to remove all the exchange related info from the installer database.
  8. Remove the security groups created by Exchange setup from AD

Note: Manually removing Exchange 2007 is not supported by Microsoft! Official guidance for removing Exchange 2007 can be found in this TechNet article.

17. March 2013 · Comments Off on Exchange 2007 to Office 365 mailbox migration: Autodiscover connects Outlook to the Exchange Server instead of O365 mailbox · Categories: Office365 · Tags: , , , ,

 

While migrating an Exchange 2007 (or 2010) mailbox into Office 365 (O365), autodiscover connects Outlook to the Exchange Server rather than connecting to the O365 mailbox.  Although you can’t connect via Outlook, Outlook Web Apps (OWA) and mobile devices might correctly connect to the O365 mailbox.

Reason:

This issue occurs because you have an on-premise Exchange Server. Autodiscover for Outlook will always point to the on-premise environment.

When you install an Exchange 2007 or 2010 Client Access Server (CAS) role, a number of service-related configurations are applied. What is causing the issue is the service connection point (SCP). This is an Active Directory (AD) object that gets created on the server that the CAS role gets installed on. The SCP object contains the authoritative list of autodiscover service URLs for the forest. To see this list, you can run the following command in the Exchange Management Shell (EMS):
More »

05. November 2012 · Comments Off on Stop|Start|Restart Exchange 2010 services · Categories: Microsoft · Tags: , ,

Restarting the Exchange services:

01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@Echo Off
Echo 'Stopping Microsoft Exchange Services'
net stop MSExchangeAB
net stop MSExchangeADTopology
net stop MSExchangeAntispamUpdate
net stop MSExchangeEdgeSync
net stop MSExchangeFBA
net stop MSExchangeFDS
net stop MSExchangeIS
net stop MSExchangeMailboxAssistants
net stop MSExchangeMailboxReplication
net stop MSExchangeMailSubmission
net stop MSExchangeProtectedServiceHost
net stop MSExchangeRepl
net stop MSExchangeRPC
net stop MSExchangeSA
net stop MSExchangeSearch
net stop MSExchangeServiceHost
net stop MSExchangeThrottling
net stop MSExchangeTransport
net stop MSExchangeTransportLogSearch
Echo 'Starting Microsoft Exchange Services'
net start MSExchangeAB
net start MSExchangeADTopology
net start MSExchangeAntispamUpdate
net start MSExchangeEdgeSync
net start MSExchangeFBA
net start MSExchangeFDS
net start MSExchangeIS
net start MSExchangeMailboxAssistants
net start MSExchangeMailboxReplication
net start MSExchangeMailSubmission
net start MSExchangeProtectedServiceHost
net start MSExchangeRepl
net start MSExchangeRPC
net start MSExchangeSA
net start MSExchangeSearch
net start MSExchangeServiceHost
net start MSExchangeThrottling
net start MSExchangeTransport
net start MSExchangeTransportLogSearch
End

More »