The request failed with HTTP status 404: Not Found.
[PS] C:\Windows\system32>set-ActiveSyncVirtualDirectory -Identity "CASHUB1\Microsoft-Server-ActiveSync (default Web site)" -BasicAuthEnabled $true WARNING: Caution: Because passwords are sent in clear text, you should configure a secure channel (SSL) to encrypt data transferred between your mobile clients and this virtual directory. WARNING: The cmdlet extension agent with the index 0 has thrown an exception in OnComplete(). The exception is: System.Net.WebException: The request failed with HTTP status 404: Not Found. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Microsoft.Exchange.SoapWebClient.CustomSoapHttpClientProtocol.<>c__DisplayClass4.<Invoke>b__3() at Microsoft.Exchange.SoapWebClient.HttpAuthenticator.NetworkServiceHttpAuthenticator.AuthenticateAndExecute[T](SoapHttpCl ientProtocol client, AuthenticateAndExecuteHandler`1 handler) at Microsoft.Exchange.SoapWebClient.SoapHttpClientAuthenticator.AuthenticateAndExecute[T](SoapHttpClientProtocol client, AuthenticateAndExecuteHandler`1 handler) at Microsoft.Exchange.SoapWebClient.EWS.ExchangeServiceBinding.FindFolder(FindFolderType FindFolder1) at Microsoft.Exchange.ProvisioningAgent.MailboxLoggerFactory.EwsMailer.GetAdminAuditLogsFolder(ADUser adUser) at Microsoft.Exchange.ProvisioningAgent.MailboxLoggerFactory.EwsMailer..ctor(OrganizationId organizationId, ADUser adUser, ExchangePrincipal principal) at Microsoft.Exchange.ProvisioningAgent.MailboxLoggerFactory.Create(OrganizationId organizationId, ADUser mailbox, ExchangePrincipal principal) at Microsoft.Exchange.ProvisioningAgent.AdminLogAgentClassFactory.ConfigWrapper.get_MailboxLogger() at Microsoft.Exchange.ProvisioningAgent.AdminLogProvisioningHandler.OnComplete(Boolean succeeded, Exception e) at Microsoft.Exchange.Provisioning.ProvisioningLayer.OnComplete(Task task, Boolean succeeded, Exception exception) [PS] C:\Windows\system32>Set-WebServicesVirtualDirectory "CASHUB1\EWS (default Web site)" -ExternalUrl "https://webmail.domain.com/EWS/Exchange.asmx" -InternalUrl "https://cashub1.domain.com/EWS/Exchange.asmx" -BasicAuthentication:$True -WindowsAuthentication:$True -WSSecurityAuthentication $true Creating a new session for implicit remoting of "Set-WebServicesVirtualDirectory" command... WARNING: The cmdlet extension agent with the index 0 has thrown an exception in OnComplete(). The exception is: System.Net.WebException: The request failed with HTTP status 404: Not Found. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Microsoft.Exchange.SoapWebClient.CustomSoapHttpClientProtocol.<>c__DisplayClass4.<Invoke>b__3() at Microsoft.Exchange.SoapWebClient.HttpAuthenticator.NetworkServiceHttpAuthenticator.AuthenticateAndExecute[T](SoapHttpCl ientProtocol client, AuthenticateAndExecuteHandler`1 handler) at Microsoft.Exchange.SoapWebClient.SoapHttpClientAuthenticator.AuthenticateAndExecute[T](SoapHttpClientProtocol client, AuthenticateAndExecuteHandler`1 handler) at Microsoft.Exchange.SoapWebClient.EWS.ExchangeServiceBinding.FindFolder(FindFolderType FindFolder1) at Microsoft.Exchange.ProvisioningAgent.MailboxLoggerFactory.EwsMailer.GetAdminAuditLogsFolder(ADUser adUser) at Microsoft.Exchange.ProvisioningAgent.MailboxLoggerFactory.EwsMailer..ctor(OrganizationId organizationId, ADUser adUser, ExchangePrincipal principal) at Microsoft.Exchange.ProvisioningAgent.MailboxLoggerFactory.Create(OrganizationId organizationId, ADUser mailbox, ExchangePrincipal principal) at Microsoft.Exchange.ProvisioningAgent.AdminLogAgentClassFactory.ConfigWrapper.get_MailboxLogger() at Microsoft.Exchange.ProvisioningAgent.AdminLogProvisioningHandler.OnComplete(Boolean succeeded, Exception e) at Microsoft.Exchange.Provisioning.ProvisioningLayer.OnComplete(Task task, Boolean succeeded, Exception exception) [PS] C:\Windows\system32>-BasicAuthentication:$True -WindowsAuthentication:$True -WSSecurityAuthentication $true
November 18th, 2010 6:00pm

Well i found, what is wrong. I have setup Two IP addresses. Because if I setup second OWA/ECB/OAB/AES. Without EWS, because EWS brings up local host binding, it mess the system. But if you do not use ews, it looks like, Exchange shell and EMC probably connect to both, or get response from wrong IP with no EWS, and then bring up 404 error. When I clean up second web site, and remove second IP, error is gone. It would be fine, if Microsoft published supported exotic configuration, so someone does not go in to a hole, that is not supported.
Free Windows Admin Tool Kit Click here and download it now
November 19th, 2010 12:40pm

Hi MaliStane, Thanks for sharing.Frank Wang
November 22nd, 2010 10:09pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics