Quantcast
Channel: Exchange Server 2010 forum
Viewing all articles
Browse latest Browse all 19214

Cannot Remove or Re-Create Autodiscover from IIS and EMC get-autodiscovervirtualdirectory -server does not return a response

$
0
0

I was wondering if you could help me with a problem I’m having with this Exchange server. I was attempting to Update Exchange from SP1 to SP2 The update failed  

Detup Errer Log:

[11/08/2012 09:27:12.0964] [2] Process standard error:
[11/08/2012 09:27:12.0964] [2] Ending processing start-SetupProcess
[11/08/2012 09:27:12.0964] [1] Executing:
          Update-AutodiscoverVirtualDirectoryVersion -DomainController $RoleDomainController;
          $existingVDirs = get-AutodiscoverVirtualDirectory -Server $RoleFqdnOrName -DomainController $RoleDomainController;
          if ($existingVDirs -ne $null)
          {
            $existingVDirs | set-AutodiscoverVirtualDirectory -WSSecurityAuthentication:$true -DomainController $RoleDomainController;
          }
          else
          {
            new-AutodiscoverVirtualDirectory -WSSecurityAuthentication:$true -DomainController $RoleDomainController;
          }
       
[11/08/2012 09:27:12.0964] [2] Active Directory session settings for 'Update-AutoDiscoverVirtualDirectoryVersion' are: View Entire Forest: 'True', Configuration Domain Controller: 'PDC-SERVER.jva.local', Preferred Global Catalog: 'PDC-SERVER.jva.local', Preferred Domain Controllers: '{ PDC-SERVER.jva.local }'
[11/08/2012 09:27:12.0964] [2] Beginning processing Update-AutodiscoverVirtualDirectoryVersion -DomainController:'PDC-SERVER.jva.local'
[11/08/2012 09:27:12.0964] [2] Searching objects "PDC-SERVER.jva.local" of type "Server" under the root "$null".
[11/08/2012 09:27:13.0043] [2] Previous operation run on domain controller 'PDC-SERVER.jva.local'.
[11/08/2012 09:27:13.0121] [2] Ending processing Update-AutodiscoverVirtualDirectoryVersion
[11/08/2012 09:27:13.0137] [2] Active Directory session settings for 'Get-AutodiscoverVirtualDirectory' are: View Entire Forest: 'True', Configuration Domain Controller: 'PDC-SERVER.jva.local', Preferred Global Catalog: 'PDC-SERVER.jva.local', Preferred Domain Controllers: '{ PDC-SERVER.jva.local }'
[11/08/2012 09:27:13.0137] [2] Beginning processing get-AutodiscoverVirtualDirectory -Server:'PDC-SERVER.jva.local' -DomainController:'PDC-SERVER.jva.local'
[11/08/2012 09:27:13.0137] [2] Searching objects "PDC-SERVER.jva.local" of type "Server" under the root "$null".
[11/08/2012 09:27:13.0137] [2] Previous operation run on domain controller 'PDC-SERVER.jva.local'.
[11/08/2012 09:27:13.0137] [2] Searching objects of type "ADAutodiscoverVirtualDirectory" with filter "$null", scope "SubTree" under the root "PDC-SERVER".
[11/08/2012 09:27:13.0137] [2] Previous operation run on domain controller 'PDC-SERVER.jva.local'.
[11/08/2012 09:27:13.0137] [2] Preparing to output objects. The maximum size of the result set is "unlimited".
[11/08/2012 09:27:13.0137] [2] Ending processing get-AutodiscoverVirtualDirectory
[11/08/2012 09:27:13.0152] [2] Active Directory session settings for 'New-AutodiscoverVirtualDirectory' are: View Entire Forest: 'True', Configuration Domain Controller: 'PDC-SERVER.jva.local', Preferred Global Catalog: 'PDC-SERVER.jva.local', Preferred Domain Controllers: '{ PDC-SERVER.jva.local }'
[11/08/2012 09:27:13.0152] [2] Beginning processing new-AutodiscoverVirtualDirectory -WSSecurityAuthentication:'True' -DomainController:'PDC-SERVER.jva.local'
[11/08/2012 09:27:13.0199] [2] Searching objects "PDC-SERVER.jva.local" of type "Server" under the root "$null".
[11/08/2012 09:27:13.0199] [2] Previous operation run on domain controller 'PDC-SERVER.jva.local'.
[11/08/2012 09:27:13.0231] [2] Processing object "PDC-SERVER\Autodiscover".
[11/08/2012 09:27:13.0466] [2] [ERROR] Unexpected Error
[11/08/2012 09:27:13.0466] [2] [ERROR] The virtual directory 'Autodiscover' already exists under 'PDC-SERVER.jva.local/Default Web Site'.
Parameter name: VirtualDirectoryName
[11/08/2012 09:27:13.0466] [2] Ending processing new-AutodiscoverVirtualDirectory
[11/08/2012 09:27:13.0466] [1] The following 1 error(s) occurred during task execution:
[11/08/2012 09:27:13.0466] [1] 0.  ErrorRecord: The virtual directory 'Autodiscover' already exists under 'PDC-SERVER.jva.local/Default Web Site'.
Parameter name: VirtualDirectoryName
[11/08/2012 09:27:13.0466] [1] 0.  ErrorRecord: System.ArgumentException: The virtual directory 'Autodiscover' already exists under 'PDC-SERVER.jva.local/Default Web Site'.
Parameter name: VirtualDirectoryName
[11/08/2012 09:27:13.0513] [1] [ERROR] The following error was generated when "$error.Clear();
          Update-AutodiscoverVirtualDirectoryVersion -DomainController $RoleDomainController;
          $existingVDirs = get-AutodiscoverVirtualDirectory -Server $RoleFqdnOrName -DomainController $RoleDomainController;
          if ($existingVDirs -ne $null)
          {
            $existingVDirs | set-AutodiscoverVirtualDirectory -WSSecurityAuthentication:$true -DomainController $RoleDomainController;
          }
          else
          {
            new-AutodiscoverVirtualDirectory -WSSecurityAuthentication:$true -DomainController $RoleDomainController;
          }
        " was run: "The virtual directory 'Autodiscover' already exists under 'PDC-SERVER.jva.local/Default Web Site'.
Parameter name: VirtualDirectoryName".
[11/08/2012 09:27:13.0513] [1] [ERROR] The virtual directory 'Autodiscover' already exists under 'PDC-SERVER.jva.local/Default Web Site'.
Parameter name: VirtualDirectoryName
[11/08/2012 09:27:13.0513] [1] [ERROR-REFERENCE] Id=ServicesComponent___a8409d9e1e024948a9cf2805368de7dd Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
[11/08/2012 09:27:13.0528] [1] Setup is stopping now because of one or more critical errors.
[11/08/2012 09:27:13.0528] [1] Finished executing component tasks.
[11/08/2012 09:27:13.0795] [1] Ending processing Install-ClientAccessRole

 I made the mistake of removing the Virtual directory from IIS and attempting to Recreate the Virtual directory. That failed so I renamed the Physical Directory to Autodiscover.old, Deleted the Virtual Directory in IIS and attempted the Setup Again, It failed. Now I cannot repair Autosdiscover. In  EMS I try to do a Virtual Directory Reset but Autodiscover does not show as a directory, I tried a  Remove-AutodiscoverVirtualDirectory -Identity Server\autodiscover it comes back not found.

I have restored the IIS Configureation and Restored the AutoDiscovery Directory to a previous state but have not tried to rerun the SP2 setup until After hours.

All other components of Exchange are working just not 

OWA, = HTTP:// Error 500
https://remote.contoso.com/Autodiscover/Autodiscover.xml = <errorcode>600</errorcode><message>Invalid Request</message>

<message>Testexchangeconnectivity.com can find the Domain and the Certificate but a proccessing error occurs.</message>

Testexchangeconnectivity.com RPC/HTTP test Ouput. (Last Paragraph)

  1. Attempting to contact the Autodiscover service using the DNS SRV redirect method.
  2. ExRCA failed to contact the Autodiscover service using the DNS SRV redirect method.
  3. Test Steps
  4. Attempting to locate SRV record _autodiscover._tcp.Contoso.com in DNS.
  5. The Autodiscover SRV record was successfully retrieved from DNS.
  6. Additional Details
  7. Attempting to test potential Autodiscover URL https://remote.Contoso.com/Autodiscover/Autodiscover.xml
  8. Testing of this potential Autodiscover URL failed.
  9. Test Steps
  10. Attempting to resolve the host name remote.Contoso.com in DNS.
  11. The host name resolved successfully.
  12. Additional Details
  13. IP addresses returned: x.x.x.x
  14. Testing TCP port 443 on host remote.Contoso.com to ensure it's listening and open.
  15. The port was opened successfully.
  16. Testing the SSL certificate to make sure it's valid.
  17. The certificate passed all validation requirements.
  18. Test Steps
  19. ExRCA is attempting to obtain the SSL certificate from remote server remote.Contoso.com on port 443.
  20. ExRCA successfully obtained the remote SSL certificate.
  21. Additional Details
  22. Validating the certificate name.
  23. The certificate name was validated successfully.
  24. Additional Details
  25. Certificate trust is being validated.
  26. The certificate is trusted and all certificates are present in the chain.
  27. Test Steps
  28. Testing the certificate date to confirm the certificate is valid.
  29. Date validation passed. The certificate hasn't expired.
  30. Additional Details
  31. Checking the IIS configuration for client certificate authentication.
  32. Client certificate authentication wasn't detected.
  33. Additional Details
  34. Accept/Require Client Certificates isn't configured.
  35. Attempting to send an Autodiscover POST request to potential Autodiscover URLs.
  36. Autodiscover settings weren't obtained when the Autodiscover POST request was sent.
  37. Test Steps
  38. ExRCA is attempting to retrieve an XML Autodiscover response from URL https://remote.Contoso.com/Autodiscover/Autodiscover.xml for user user@Contoso.com.
  39. ExRCA failed to obtain an Autodiscover XML response.
  40. Additional Details
  41. Exception details:
    Message: The underlying connection was closed: An unexpected error occurred on a receive.
    Type: System.Net.WebException
    Stack trace:
     at System.Net.HttpWebRequest.GetResponse()
     at Microsoft.Exchange.Tools.ExRca.Tests.AutoDiscover.AutoDiscoverGetXMLBase`2.Discover()
    Exception details:
    Message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
    Type: System.IO.IOException
    Stack trace:
     at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
     at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
     at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
     at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
     at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
     at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)
     at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
     at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
    Exception details:
    Message: An existing connection was forcibly closed by the remote host
    Type: System.Net.Sockets.SocketException
    Stack trace:
     at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

Any Help would be Greatly appreciated.

Thank YOu


Viewing all articles
Browse latest Browse all 19214

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>