?
Solved

Reinstall Active Sync

Posted on 2010-11-26
13
Medium Priority
?
2,088 Views
Last Modified: 2012-05-10
Hello is their a way to reinstall ActiveSync in Exchange 2010?
0
Comment
Question by:dthomas13
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
13 Comments
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 34218708
You can remove and re-create the Activesync Virtual Directory if necessary.

Any particular reason for needing to do so?

Remove:
http://technet.microsoft.com/en-us/library/aa996916.aspx

Re-Create:
http://technet.microsoft.com/en-us/library/aa997160.aspx
0
 

Author Comment

by:dthomas13
ID: 34218722
Hey Alan,

We have a brand new exchange server setup, and I tried to remove and rcreate the VD but ran into problems.

For one I removed it with IIS instead of PS. Since doing with IIS when I try to remove it, it says it does not exist. When I try to readd it under PS I get the following:

PS] C:\Windows\system32>New-ActiveSyncVirtualDirectory dmron\Microsoft-Server-ActiveSync
The virtual directory 'Microsoft-Server-ActiveSync' already exists under 'TREM-EX1.tremron.local/Default Web Site'.
Parameter name: VirtualDirectoryName
    + CategoryInfo          : InvalidArgument: (TREM-EX1\Micros...fault Web Site):ADObjectId) [New-ActiveSyncVirtualDi
   rectory], ArgumentException
    + FullyQualifiedErrorId : 787D297B,Microsoft.Exchange.Management.SystemConfigurationTasks.NewMobileSyncVirtualDire
   ctory

0
 
LVL 76

Accepted Solution

by:
Alan Hardisty earned 2000 total points
ID: 34218789
Okay - please issue the following from Exchange PS:

get-activesyncvirtualdirectory | fl

Post the results please.
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:dthomas13
ID: 34218845
[PS] C:\Windows\system32>get-activesyncvirtualdirectory | fl
WARNING: IIS://TREM-EX1.tremron.local/W3SVC/1/ROOT/Microsoft-Server-ActiveSync wasn't found. Please make sure you've
typed it correctly.


RunspaceId                                 : 1d815a99-3798-4380-bb44-fab04888c9c3
MobileClientFlags                          : BadItemReportingEnabled, SendWatsonReport
MobileClientCertificateProvisioningEnabled : False
BadItemReportingEnabled                    : True
SendWatsonReport                           : True
MailboxLoggingEnabled                      : False
MobileClientCertificateAuthorityURL        :
MobileClientCertTemplateName               :
ActiveSyncServer                           : https://tremron.com/
RemoteDocumentsActionForUnknownServers     : Allow
RemoteDocumentsAllowedServers              : {}
RemoteDocumentsBlockedServers              : {}
RemoteDocumentsInternalDomainSuffixList    : {}
MetabasePath                               : IIS://TREM-EX1.tremron.local/W3SVC/1/ROOT/Microsoft-Server-ActiveSync
BasicAuthEnabled                           : False
WindowsAuthEnabled                         : False
CompressionEnabled                         : False
ClientCertAuth                             : Ignore
WebsiteName                                :
WebSiteSSLEnabled                          : False
VirtualDirectoryName                       :
Path                                       :
Server                                     : TREM-EX1
InternalUrl                                : https://trem-ex1.tremron.local/Microsoft-Server-ActiveSync
InternalAuthenticationMethods              : {}
ExternalUrl                                : https://tremron.com/
ExternalAuthenticationMethods              : {}
AdminDisplayName                           :
ExchangeVersion                            : 0.10 (14.0.100.0)
Name                                       : Microsoft-Server-ActiveSync (Default Web Site)
DistinguishedName                          : CN=Microsoft-Server-ActiveSync (Default Web Site),CN=HTTP,CN=Protocols,CN=
                                             TREM-EX1,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=
                                             Administrative Groups,CN=Tremron,CN=Microsoft Exchange,CN=Services,CN=Conf
                                             iguration,DC=tremron,DC=local
Identity                                   : TREM-EX1\Microsoft-Server-ActiveSync (Default Web Site)
Guid                                       : 2bd74520-2263-4690-bf1b-b35027c20a29
ObjectCategory                             : tremron.local/Configuration/Schema/ms-Exch-Mobile-Virtual-Directory
ObjectClass                                : {top, msExchVirtualDirectory, msExchMobileVirtualDirectory}
WhenChanged                                : 11/26/2010 11:13:40 AM
WhenCreated                                : 10/30/2010 2:06:02 PM
WhenChangedUTC                             : 11/26/2010 4:13:40 PM
WhenCreatedUTC                             : 10/30/2010 6:06:02 PM
OrganizationId                             :
OriginatingServer                          : Trem-DC1.tremron.local
IsValid                                    : False

WARNING: The object TREM-EX1\Microsoft-Server-ActiveSync (Default Web Site) has been corrupted, and it's in an
inconsistent state. The following validation errors happened:
WARNING: Exchange has detected an inconsistency in the Active Directory configuration for the following virtual
directories. This can happen if the Exchange ActiveSync virtual directories were deleted in IIS Manager. Please verify
that you have access to the metabase on the servers listed below. To fix this inconsistency, run the following command,
 which will remove references to these virtual directories from Active Directory:

Remove-ActiveSyncVirtualDirectory -Identity "Microsoft-Server-ActiveSync (Default Web Site)"
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 34218857
Have you run the command suggested above?

Remove-ActiveSyncVirtualDirectory -Identity "Microsoft-Server-ActiveSync (Default Web Site)"

If not - please do.

Does it run happily?
0
 

Author Comment

by:dthomas13
ID: 34218929
It ran Happily, and I was about to recreate it, but another admin, had contacted MS and I guess is on the phone with their support team, so I could not finish. I will let you know what happens. Thanks a lot.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 34218934
Oh well - it should be a simple (but costly fix with MS).

At least it will get resolved one way or another.

Thanks for the points and have a good weekend.

Alan

0
 

Author Comment

by:dthomas13
ID: 34218941
Yea exactly@alan. I thought it was a pretty simple fix, I just did not know that PS and IIS kind of created their own seperate VD's.

Thank you for the answer, it was awesome.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 34218968
They are one and the same - just easier to manage via PS than IIS sometimes.

Fingers crossed you can get Activesync working happily soon.  If not - come back for further help.

Alan
0
 

Author Comment

by:dthomas13
ID: 34252387
Hey alan, MS refunded our Tech Support Call because they did not really do anything. I gave my boss the command to run right before he got on the phone with them. Thank you once again!
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 34252408
Well done - that is good news.

Win - Win : )
0
 

Author Comment

by:dthomas13
ID: 34252520
yea I did not think he ran it, but he was like yea that command you gave me, had AS running, so they only did minor things. Your Answer just paid for the EE membership!
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 34252554
Excellent!  I am glad I was able to help you and thanks for keeping me posted.

Hope to catch you again.

Alan
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Read this checklist to learn more about the 15 things you should never include in an email signature.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Suggested Courses

770 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