MikeH392
asked on
failure recreating ActiveSync Virtual Directory (Exchange 2010 SP1)
Originally, based on MS direction, I tried recreating the ActiveSync VD in EMS by running:
=>Remove-ActiveSyncVirtual Directory –id “CASServer\Microsoft-Serve r-ActiveSy nc (Default Web Site)”
=>IISRest
=>New-ActiveSyncVirtualDir ectory
=>IISReset
Failed !
Situation now:
1) In EMC> Server Configuration>Client Access>Exchange ActiveSync tab, there is no entry now.
2) In EMS> If I try the "Remove" string again, I get the following failure message:
The operation could not be performed because object “CASServer\Microsoft-Serve r-ActiveSy nc (Default Web Site)” could not be found on 'CASServer.mydomain.org'.
3) In IIS 7.5 Manager, I verified that no Virtual Directory exists for the application "Microsoft-Server-ActiveSy nc"
4) In EMS> I ran the cmdlet "New-ActiveSyncVirtualDire ctory". Error message:
The virtual directory 'Microsoft-Server-ActiveSy nc' already exists under 'CASServer.mydomain.org/De fault Web Site'.
How do I correct this situation ?
Thanks, Mike
=>Remove-ActiveSyncVirtual
=>IISRest
=>New-ActiveSyncVirtualDir
=>IISReset
Failed !
Situation now:
1) In EMC> Server Configuration>Client Access>Exchange ActiveSync tab, there is no entry now.
2) In EMS> If I try the "Remove" string again, I get the following failure message:
The operation could not be performed because object “CASServer\Microsoft-Serve
3) In IIS 7.5 Manager, I verified that no Virtual Directory exists for the application "Microsoft-Server-ActiveSy
4) In EMS> I ran the cmdlet "New-ActiveSyncVirtualDire
The virtual directory 'Microsoft-Server-ActiveSy
How do I correct this situation ?
Thanks, Mike
ASKER
Hi Akhater,
=> There is only one Exchange 2010 SP1 server in the domain, hosted on-site. There are no other email servers (regardless of roles) connected.
=> in EMS, I ran 'Get-ActiveSyncVirtualDire ctory', and receive a carriage return effect. = no results & no errors
Thanks - Mike
=> There is only one Exchange 2010 SP1 server in the domain, hosted on-site. There are no other email servers (regardless of roles) connected.
=> in EMS, I ran 'Get-ActiveSyncVirtualDire
Thanks - Mike
what if you run
New-ActiveSyncVirtualDirec tory -WebSiteName "Default Web Site"
you are still getting the same error ?
New-ActiveSyncVirtualDirec
you are still getting the same error ?
ASKER
Tried that before. I get the same error messages running that too.
i am sorry but did you run iis reset after removing the active sync directory ?
if not please try
if not please try
ASKER
Akhater,
In my initial post, I documented that I was running "iisreset" after the remove and new cmdlets.
I have been trying other things in IIS 7.5 Manager, and I routinely run iisreset after each change.
I tried to manually create a new VD in IIS Manager, ran iisreset, so that I could try the remove then new commands. Still no luck.
This is beyond the normal documented answers from MS. I have been reviewing the various Logs (App, Sys, IIS, etc) looking for some sliver of a hint of what is wrong. FYI: I am logged in to the exchange server, using the Domain Administrator.
Thanks, Mike
In my initial post, I documented that I was running "iisreset" after the remove and new cmdlets.
I have been trying other things in IIS 7.5 Manager, and I routinely run iisreset after each change.
I tried to manually create a new VD in IIS Manager, ran iisreset, so that I could try the remove then new commands. Still no luck.
This is beyond the normal documented answers from MS. I have been reviewing the various Logs (App, Sys, IIS, etc) looking for some sliver of a hint of what is wrong. FYI: I am logged in to the exchange server, using the Domain Administrator.
Thanks, Mike
Yea right I didn't notice that in the Original Post sorry ! no need to get angry
Your issue is that the IIS metabase is not updated, I am just trying a more "soft approach" as a start
please run from powershell (on the exchange server)
$Site = [ADSI]"IIS://localhost/W3S VC/1/Root/ Microsoft- Server-Act iveSync"
and then run $site
what is the result
Your issue is that the IIS metabase is not updated, I am just trying a more "soft approach" as a start
please run from powershell (on the exchange server)
$Site = [ADSI]"IIS://localhost/W3S
and then run $site
what is the result
ASKER
hey Akhater ... I'm not "angry" or upset ???
In EmS,
=> Ran "$Site = [ADSI]"IIS://localhost/W3S VC/1/Root/ Microsoft- Server-Act iveSync""
Result: Carriage return.
=> Ran "$site"
Result:
distinguishedName:
Path: {C:\Program Files\Microsoft\Exchange Server\V14\Client Access\Sync}
I appreciate your effort.
Thanks, Mike
In EmS,
=> Ran "$Site = [ADSI]"IIS://localhost/W3S
Result: Carriage return.
=> Ran "$site"
Result:
distinguishedName:
Path: {C:\Program Files\Microsoft\Exchange Server\V14\Client Access\Sync}
I appreciate your effort.
Thanks, Mike
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Akhater,
Got a good carriage return after each command.
=> I then ran iisreset
=> I checked IIS Manager, and the Microsdt-Server-ActiveSync is now gone, and the application is still there.
=> I ran the EMS command: 'New-ActiveSyncVirtualDire ctory -WebSiteName "Default Web Site" '
Results: Successfully recreated.
=> ran iisreset
= Checked IIS Manager 7.5, and the ActiveSync is recreated
= Checked the EMC, and the Exchange ActiveSync (under Server COnfig, Client Access) is recreated. I added the External URL.
Akhater, Thank you so very much for getting me to this successful point !!
Obviously, I now have to do some additional configs on authentication, security, etc... and then test with the testexchangeconnectivity.c om site.
Do you have any additional advice or comments ?
Thanks, Mike
Got a good carriage return after each command.
=> I then ran iisreset
=> I checked IIS Manager, and the Microsdt-Server-ActiveSync
=> I ran the EMS command: 'New-ActiveSyncVirtualDire
Results: Successfully recreated.
=> ran iisreset
= Checked IIS Manager 7.5, and the ActiveSync is recreated
= Checked the EMC, and the Exchange ActiveSync (under Server COnfig, Client Access) is recreated. I added the External URL.
Akhater, Thank you so very much for getting me to this successful point !!
Obviously, I now have to do some additional configs on authentication, security, etc... and then test with the testexchangeconnectivity.c
Do you have any additional advice or comments ?
Thanks, Mike
typically you do not need to change any authentication or security the powershell command should do all that for you (default values) you just need to assign the external and internal url
ASKER
Akhater,
I was responding to you earlier, when the esperts-exchange web site went off line for a couple of hours.
Bottom line: I did have to make 1 authentication change (disable Anonymous) and the testexchangeconnectivity.c om tests (several with different user ids) work perfect. Over the next couple of days, I will be working with the iPhone and Android users.
Thank you so much. Mike
I was responding to you earlier, when the esperts-exchange web site went off line for a couple of hours.
Bottom line: I did have to make 1 authentication change (disable Anonymous) and the testexchangeconnectivity.c
Thank you so much. Mike
how many cas servers do you have ?
please run get-ActiveSyncVirtualDirec