Link to home
Start Free TrialLog in
Avatar of WilsonJohn
WilsonJohn

asked on

Exchange 2007 /2010

I have migrated exchange 2007 to exchange 2010 and moved all mailboxes and it was working fine for around one month. Now when i try to add a new profile through outlook 2003 or 2007 or 2010 i am getting a message "Action could not be completed. connection to microsof exchange is unavailable . outllok must be online or connected to complete this action"
I moved few mail boxes from 2010 to 2007 and it is working fine. Again I moved from exch 2007 to exch 2010 and again back to this issue. Is this related to global address list or DNS. Please advice urgently . We have 460 mailboxes and today I need to clear this .Please advice
(file attached for reference)
Rgds
Wilson john
outlook.JPG
Avatar of Shivkumar Sharma
Shivkumar Sharma
Flag of India image

Any Updates Please, Since the Question is going unattended, dont let it go unattended and please do the needfull. if we have not come up to your satisfaction then please ask for help from all the experts or if need be please accept the answers or delete the question. Thank you sir

Kind Regards and Happy New Year
Avatar of WilsonJohn
WilsonJohn

ASKER

Dear shivkumar,

I tried with all the links you have given but no luck.

rgds
Wilson
i have the problem too many possible solutions :
1- go to EMC -> client Access -> reset Virtual directories -> choose AutoDiscover
then try .. if its not work move to next step .

2- try to disable outlook anywhere wait 15 minutes then enable outlook anywhere and wait other 15 minutes to be active .. however during this time please run these commands in powershell and post results here :

get-autodiscoverVirtualDirectory |fl
get-outlookprovider |fl
get-clientAccessServer |fl
get-webserviceVirtualDirectory |fl


and post the results here , it will be helpful to figure out the problem ..
try the following(most of them could have already tried but),

- Are you able to ping the server with and without the FQDN (servername & servername.domain.com)
- Did you try telneting the server with port 135 ? (telnet servername 135)
- since you have the issue with outlook 2003, this is not related to auto discover (so try disabling all third party including any anti virus softwares)
- Recollect all the changes that recently had happened (revert it back if possible)
- restart the server and try again.

also run Test-OutlookConnectivity from CAS server (refer this - http://technet.microsoft.com/en-us/library/dd638082.aspx)

according to the result follow http://support.microsoft.com/kb/2006508.

Post your results, that could help in understanding the resolving the issue.
-Praveen
guys the problem i have solved it many times its autodiscover with Outlook provider configuration .. just that's it
Dear Jodannet,

I tried resetting virtual directory but no chance, also outllok anywhere is not enabled.
Please find the command ouptput below , i am not getting output for get-webserviceVirtualDirectory |fl

get-autodiscoverVirtualDirectory |fl
======================================

RunspaceId                      : a67f2afb-edc9-484c-931b-92f61622a39f
Name                            : Autodiscover (Default Web Site)
InternalAuthenticationMethods   : {Basic, Ntlm, WindowsIntegrated}
ExternalAuthenticationMethods   : {Basic, Ntlm, WindowsIntegrated}
LiveIdSpNegoAuthentication      : False
WSSecurityAuthentication        : False
LiveIdBasicAuthentication       : False
BasicAuthentication             : True
DigestAuthentication            : False
WindowsAuthentication           : True
MetabasePath                    : IIS://GWSMAIL.weststardubai.com/W3SVC/1/ROOT/Autodiscover
Path                            : E:\Exchange2010bin\ClientAccess\Autodiscover
ExtendedProtectionTokenChecking : None
ExtendedProtectionFlags         : {}
ExtendedProtectionSPNList       : {}
Server                          : GWSMAIL
InternalUrl                     :
ExternalUrl                     :
AdminDisplayName                :
ExchangeVersion                 : 0.10 (14.0.100.0)
DistinguishedName               : CN=Autodiscover (Default Web Site),CN=HTTP,CN=Protocols,CN=GWSMAIL,CN=Servers,CN=Exch
                                  ange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=WestStarShipp
                                  ing,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=weststardubai,DC=com
Identity                        : GWSMAIL\Autodiscover (Default Web Site)
Guid                            : e849c3e8-5c31-48fd-afac-b6fc75f6e44a
ObjectCategory                  : weststardubai.com/Configuration/Schema/ms-Exch-Auto-Discover-Virtual-Directory
ObjectClass                     : {top, msExchVirtualDirectory, msExchAutoDiscoverVirtualDirectory}
WhenChanged                     : 1/1/2012 4:46:55 PM
WhenCreated                     : 1/1/2012 4:46:55 PM
WhenChangedUTC                  : 1/1/2012 12:46:55 PM
WhenCreatedUTC                  : 1/1/2012 12:46:55 PM
OrganizationId                  :
OriginatingServer               : isa.weststardubai.com
IsValid                         : True



get-outlookprovider |fl
=========================

RunspaceId           : a67f2afb-edc9-484c-931b-92f61622a39f
CertPrincipalName    :
Server               : mailserver
TTL                  : 1
OutlookProviderFlags : None
AdminDisplayName     :
ExchangeVersion      : 0.1 (8.0.535.0)
Name                 : EXCH
DistinguishedName    : CN=EXCH,CN=Outlook,CN=AutoDiscover,CN=Client Access,CN=WestStarShipping,CN=Microsoft Exchange,CN
                       =Services,CN=Configuration,DC=weststardubai,DC=com
Identity             : EXCH
Guid                 : 0cddef84-3d8d-42f5-9642-df8dd87a204e
ObjectCategory       : weststardubai.com/Configuration/Schema/ms-Exch-Auto-Discover-Config
ObjectClass          : {top, msExchAutoDiscoverConfig}
WhenChanged          : 3/3/2010 6:12:29 PM
WhenCreated          : 11/22/2009 12:51:04 PM
WhenChangedUTC       : 3/3/2010 2:12:29 PM
WhenCreatedUTC       : 11/22/2009 8:51:04 AM
OrganizationId       :
OriginatingServer    : isa.weststardubai.com
IsValid              : True

RunspaceId           : a67f2afb-edc9-484c-931b-92f61622a39f
CertPrincipalName    :
Server               :
TTL                  : 1
OutlookProviderFlags : None
AdminDisplayName     :
ExchangeVersion      : 0.1 (8.0.535.0)
Name                 : EXPR
DistinguishedName    : CN=EXPR,CN=Outlook,CN=AutoDiscover,CN=Client Access,CN=WestStarShipping,CN=Microsoft Exchange,CN
                       =Services,CN=Configuration,DC=weststardubai,DC=com
Identity             : EXPR
Guid                 : 79d45899-8db3-4a54-a73d-bb6cf9e914ad
ObjectCategory       : weststardubai.com/Configuration/Schema/ms-Exch-Auto-Discover-Config
ObjectClass          : {top, msExchAutoDiscoverConfig}
WhenChanged          : 3/3/2010 6:12:27 PM
WhenCreated          : 11/22/2009 12:51:05 PM
WhenChangedUTC       : 3/3/2010 2:12:27 PM
WhenCreatedUTC       : 11/22/2009 8:51:05 AM
OrganizationId       :
OriginatingServer    : isa.weststardubai.com
IsValid              : True

RunspaceId           : a67f2afb-edc9-484c-931b-92f61622a39f
CertPrincipalName    :
Server               :
TTL                  : 1
OutlookProviderFlags : None
AdminDisplayName     :
ExchangeVersion      : 0.1 (8.0.535.0)
Name                 : WEB
DistinguishedName    : CN=WEB,CN=Outlook,CN=AutoDiscover,CN=Client Access,CN=WestStarShipping,CN=Microsoft Exchange,CN=
                       Services,CN=Configuration,DC=weststardubai,DC=com
Identity             : WEB
Guid                 : eaaea319-10f2-497c-9b3a-5c3da0816b6e
ObjectCategory       : weststardubai.com/Configuration/Schema/ms-Exch-Auto-Discover-Config
ObjectClass          : {top, msExchAutoDiscoverConfig}
WhenChanged          : 3/3/2010 6:12:27 PM
WhenCreated          : 11/22/2009 12:51:05 PM
WhenChangedUTC       : 3/3/2010 2:12:27 PM
WhenCreatedUTC       : 11/22/2009 8:51:05 AM
OrganizationId       :
OriginatingServer    : isa.weststardubai.com
IsValid              : True

get-clientAccessServer |fl
==========================

RunspaceId                           : a67f2afb-edc9-484c-931b-92f61622a39f
Name                                 : MAILSERVER
Fqdn                                 : mailserver.weststardubai.com
OutlookAnywhereEnabled               : True
AutoDiscoverServiceCN                : MAILSERVER
AutoDiscoverServiceClassName         : ms-Exchange-AutoDiscover-Service
AutoDiscoverServiceInternalUri       : https://mailserver/Autodiscover/Autodiscover.xml
AutoDiscoverServiceGuid              : 77378f46-2c66-4aa9-a6a6-3e7a48b19596
AutoDiscoverSiteScope                : {Default-First-Site-Name}
AlternateServiceAccountConfiguration :
IrmLogEnabled                        : False
IrmLogMaxAge                         : 30.00:00:00
IrmLogMaxDirectorySize               : unlimited
IrmLogMaxFileSize                    : 10 MB (10,485,760 bytes)
IrmLogPath                           :
MigrationLogLoggingLevel             : Information
MigrationLogFilePath                 :
MigrationLogMaxAge                   : 180.00:00:00
MigrationLogMaxDirectorySize         : 10 GB (10,737,418,240 bytes)
MigrationLogMaxFileSize              : 100 MB (104,857,600 bytes)
IsValid                              : True
ExchangeVersion                      : 0.1 (8.0.535.0)
DistinguishedName                    : CN=MAILSERVER,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=A
                                       dministrative Groups,CN=WestStarShipping,CN=Microsoft Exchange,CN=Services,CN=Co
                                       nfiguration,DC=weststardubai,DC=com
Identity                             : MAILSERVER
Guid                                 : 71533eaf-b899-4122-b14e-07f70db6f8c8
ObjectCategory                       : weststardubai.com/Configuration/Schema/ms-Exch-Exchange-Server
ObjectClass                          : {top, server, msExchExchangeServer}
WhenChanged                          : 12/30/2011 6:45:03 PM
WhenCreated                          : 11/22/2009 12:49:13 PM
WhenChangedUTC                       : 12/30/2011 2:45:03 PM
WhenCreatedUTC                       : 11/22/2009 8:49:13 AM
OrganizationId                       :
OriginatingServer                    : isa.weststardubai.com

RunspaceId                           : a67f2afb-edc9-484c-931b-92f61622a39f
Name                                 : GWSMAIL
Fqdn                                 : GWSMAIL.weststardubai.com
OutlookAnywhereEnabled               : False
AutoDiscoverServiceCN                : GWSMAIL
AutoDiscoverServiceClassName         : ms-Exchange-AutoDiscover-Service
AutoDiscoverServiceInternalUri       : https://gwsmail.weststardubai.com/Autodiscover/Autodiscover.xml
AutoDiscoverServiceGuid              : 77378f46-2c66-4aa9-a6a6-3e7a48b19596
AutoDiscoverSiteScope                : {Default-First-Site-Name}
AlternateServiceAccountConfiguration :
IrmLogEnabled                        : True
IrmLogMaxAge                         : 30.00:00:00
IrmLogMaxDirectorySize               : 250 MB (262,144,000 bytes)
IrmLogMaxFileSize                    : 10 MB (10,485,760 bytes)
IrmLogPath                           : E:\Exchange2010bin\Logging\IRMLogs
MigrationLogLoggingLevel             : Information
MigrationLogFilePath                 :
MigrationLogMaxAge                   : 180.00:00:00
MigrationLogMaxDirectorySize         : 10 GB (10,737,418,240 bytes)
MigrationLogMaxFileSize              : 100 MB (104,857,600 bytes)
IsValid                              : True
ExchangeVersion                      : 0.1 (8.0.535.0)
DistinguishedName                    : CN=GWSMAIL,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Admi
                                       nistrative Groups,CN=WestStarShipping,CN=Microsoft Exchange,CN=Services,CN=Confi
                                       guration,DC=weststardubai,DC=com
Identity                             : GWSMAIL
Guid                                 : d14ede88-cefa-4391-b136-1da4303f871d
ObjectCategory                       : weststardubai.com/Configuration/Schema/ms-Exch-Exchange-Server
ObjectClass                          : {top, server, msExchExchangeServer}
WhenChanged                          : 12/14/2011 1:56:37 PM
WhenCreated                          : 11/23/2011 10:10:22 AM
WhenChangedUTC                       : 12/14/2011 9:56:37 AM
WhenCreatedUTC                       : 11/23/2011 6:10:22 AM
OrganizationId                       :
OriginatingServer                    : isa.weststardubai.com


get-webserviceVirtualDirectory |fl
=====================================
[PS] C:\Windows\system32>get-webserviceVirtualDirectory |fl
The term 'get-webserviceVirtualDirectory' is not recognized as the name of a cmdlet, function, script file, or operable
 program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:31
+ get-webserviceVirtualDirectory <<<<  |fl
    + CategoryInfo          : ObjectNotFound: (get-webserviceVirtualDirectory:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


sir , i think its clear it was configuration of autodiscover , what we need to do here is running the following commands :
before you run commands read notes bellow  to modify :

set-AutodiscoverVirtualDirectory -identity "Autodiscover (Default Web Site)" -internalUrl https://mailserver.localdomain/Autodiscover/Autodiscover.xml -ExternalURL https://autodiscover.domain.com/autodiscover/autodiscover.xml


Set-ClientAccessServer -Identity "Mailserver" -AutoDiscoverServic
eInternalUri https://mailserver.localdomain.local/autodiscover/autodiscover.xml


Set-OutlookProvider -identity "EXCH" -CertPrincipalName:$NULL
Set-OutlookProvider -identity "EXPR" -CertPrincipalName "msstd:mail.domain.com"


then restart IIS by run command :
iisreset

then enable outlook anywhere and wait 15 minutes ...

also after that i need you to go to :

www.testexchangeconnectivity.com

and test RPC over HTTP and post results here...

wish to you good luck



notes :
 that mailserver.localdomain.local = your exchangeServer Name.your local domain.local
for example : server.mydomain.local

also mail.domain.com , you your domain for example :
mail.maen.com
then run :
get-webservicesVirtualDirectory |fl

in the above i missed "s" .. so the result was wrong
Please find the output. it will be great to get it sorted today. thks

RunspaceId                      : e47e5756-d552-4b72-82a2-8e8cce02e2e4
CertificateAuthentication       :
InternalNLBBypassUrl            : https://gwsmail.weststardubai.com/ews/exchange.asmx
GzipLevel                       : High
MRSProxyEnabled                 : False
MRSProxyMaxConnections          : 100
Name                            : EWS (Default Web Site)
InternalAuthenticationMethods   : {Ntlm, WindowsIntegrated, WSSecurity}
ExternalAuthenticationMethods   : {Ntlm, WindowsIntegrated, WSSecurity}
LiveIdSpNegoAuthentication      : False
WSSecurityAuthentication        : True
LiveIdBasicAuthentication       : False
BasicAuthentication             : False
DigestAuthentication            : False
WindowsAuthentication           : True
MetabasePath                    : IIS://GWSMAIL.weststardubai.com/W3SVC/1/ROOT/EWS
Path                            : E:\Exchange2010bin\ClientAccess\exchweb\EWS
ExtendedProtectionTokenChecking : None
ExtendedProtectionFlags         : {}
ExtendedProtectionSPNList       : {}
Server                          : GWSMAIL
InternalUrl                     : https://gwsmail.weststardubai.com/EWS/Exchange.asmx
ExternalUrl                     : https://mail.glwss.com/ews/exchange.asmx
AdminDisplayName                :
ExchangeVersion                 : 0.10 (14.0.100.0)
DistinguishedName               : CN=EWS (Default Web Site),CN=HTTP,CN=Protocols,CN=GWSMAIL,CN=Servers,CN=Exchange Admi
                                  nistrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=WestStarShipping,CN=Mi
                                  crosoft Exchange,CN=Services,CN=Configuration,DC=weststardubai,DC=com
Identity                        : GWSMAIL\EWS (Default Web Site)
Guid                            : f155175a-09ea-4a85-8c17-b9362e0f9779
ObjectCategory                  : weststardubai.com/Configuration/Schema/ms-Exch-Web-Services-Virtual-Directory
ObjectClass                     : {top, msExchVirtualDirectory, msExchWebServicesVirtualDirectory}
WhenChanged                     : 11/23/2011 10:18:45 AM
WhenCreated                     : 11/23/2011 10:18:34 AM
WhenChangedUTC                  : 11/23/2011 6:18:45 AM
WhenCreatedUTC                  : 11/23/2011 6:18:34 AM
OrganizationId                  :
OriginatingServer               : isa.weststardubai.com
IsValid                         : True


once again to inform you that exchange 2007 is still running after migration to exch 2010. I already moved back few important mail boxes to exchange 2007 and these mail boxes works fine with outlook 2003 / 2007 / 2010.
yes , i know , you want to migrate but you would have test environment for exchange 2010 before apply migration 'web-service' seems fine , but as i told you before you want to modify what i told you before and everything will work fine
i am not clear , this exchange 2010 was working fine for around one month after migration . all of a sudden it happened , only thing i  made is installed dot net 4 . I am not sure whether it is related to this .  Please guide me how to sort this out command wise.

ok , then its clear that exchange 2010 in production currently , so don't worry will be fine ..so run the following commands exactly :


set-AutodiscoverVirtualDirectory -identity "Autodiscover (Default Web Site)" -internalUrl https://gwsmail.weststardubai.com/Autodiscover/Autodiscover.xml -ExternalURL https://autodiscover.glwss.com/autodiscover/autodiscover.xml


Set-ClientAccessServer -Identity "Mailserver" -AutoDiscoverServic
eInternalUri https://gwsmail.weststardubai.com/autodiscover/autodiscover.xml


Set-OutlookProvider -identity "EXCH" -CertPrincipalName:$NULL
Set-OutlookProvider -identity "EXPR" -CertPrincipalName "msstd:mail.domain.com"


then restart IIS by run command :
iisreset

then enable outlook anywhere and wait 15 minutes ...

don't worry i will be with you.


wish to you good luck
sorry something i missed in the command :


Set-ClientAccessServer -Identity "Mailserver" -AutoDiscoverServic
eInternalUri https://gwsmail.weststardubai.com/autodiscover/autodiscover.xml

its should be :


Set-ClientAccessServer -Identity "gwsmail" -AutoDiscoverServic
eInternalUri https://gwsmail.weststardubai.com/autodiscover/autodiscover.xml
first line command worked fine without any error . Second command i am getting below error.
"Mailserver" is exchange 2007 , GWSMAIL is exchange 2010. Anything to do with identity.
=====================================================================
[PS] C:\Windows\system32>Set-ClientAccessServer -Identity "Mailserver" -AutoDiscoverServiceInternalUri https://gwsmail.w
eststardubai.com/autodiscover/autodiscover.xml
You can't make this change because 'CN=MAILSERVER,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Admi
nistrative Groups,CN=WestStarShipping,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=weststardubai,DC=com' is re
ad-only to the current version of Exchange.
    + CategoryInfo          : InvalidOperation: (:) [Set-ClientAccessServer], CannotModifyCrossVersionObjectException
    + FullyQualifiedErrorId : 9049BC10,Microsoft.Exchange.Management.SystemConfigurationTasks.SetClientAccessServer

[PS] C:\Windows\system32>
i modified it in the last comment .. sorry for missing that
All commands worked sucessfully but again same issue. IIS restarted.
Also just to inform you "microsoft exchange address book" service is not started , this is not
getting started . This serive was not started for past 2 days .
ok , please can you restart all exchange server services? is outlook anywhere enabled? you need to enable it if its not enabled
what should be the external host name for outllok anywhere
in your case its :
mail.glwss.com

but you need to wait 15 minutes
yes , outlook anywhere enabled , i will restart after 15 mins and let you know. thks
that's good , you may need also to restart exchange server service , just incase of any urgent issue .. contact
i did a total restarting after one hour. but again same issue. Also exchange  address book service not getting started. Please help.
please try to restart Address Book services manually , if you have any error just look to Event Viewer-> system and see what event ID posted , this will make  things clear
Please find attached the event screens.  User generated image User generated image
just curious what exchange version sp1 or sp2 or what??? you maybe need to upgrade to sp2

http://www.microsoft.com/download/en/details.aspx?id=28190

 
this is having sp2
mm ... did you try to reboot exchange server if its possible?
i rebooted already
can you give me just 1 hour , or less i need to go to market to buy something , then i will be with you maybe i will request access your server if its possible to troubleshoot with you..

just give me 1 hour and i will back for you .. just curious could you connect outlook to exchange or still have problem??>
sure i will wait . thks a lot
hope you have not forgotten me
no , i back , just food on the stomach , am in the bed because outside is very cold outside temp is almost 0 C , coffee in the mug so am ready,... tell me what's updates>>>>
i think you need to access server - team viwer is ok ?
ASKER CERTIFIED SOLUTION
Avatar of Maen Abu-Tabanjeh
Maen Abu-Tabanjeh
Flag of Jordan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
really great job by JORDANNET  and very usefull . I feel no one has done this before. I searched in google for 2 days and did not get any result. Special thanks to EE and team
yes , the problem is RARE and no one have before am so happy to inform that the problem has been solved , it will be useful for others... thank you wilson and thank to EE