AutoDiscover ALMOST working
Okay, so I have installed the certificate I got from GoDaddy. When I do the testexchangeconnectivity.com test I get:
ExRCA is attempting to send an Autodiscover POST request to potential Autodiscover URLs.
Autodiscover settings weren't obtained when the Autodiscover POST request was sent.
Test Steps
Attempting to Retrieve XML AutoDiscover Response from url
https://domain.com/AutoDiscover/AutoDiscover.xml for user
user@domain.com
Failed to obtain AutoDiscover XML response.
Additional Details
A Web Exception occurred because an HTTP 405 - MethodNotAllowed response was received from IIS7
What am I doing wrong?
testexchangeconnectivity says its trying to do an autodiscover from:
https://domain.com/AutoDiscover/AutoDiscover.xml
If i type that in, it asks for authentication and says my certificate is invalid.
If I simple add mail. in front of that like:
https://mail.domain.com/AutoDiscover/AutoDiscover.xml
I get the XML file like this:
<?xml version="1.0" encoding="utf-8"
?>
-
<Autodiscover>
-
<!--
This is a placeholder file
-->
</Autodiscover>
So I changed that in my DNS so domain.com would go to mail.domain.com. i dont want to do this and If I could make it so it wouldn't have to that would be great.
PLEASE NOTE:
If I do the get-outlookanywhere cmdlet it still gives me:
WARNING: IIS://SBS01.domain.local/W3SVC/1/ROOT/Rpc was not found. Please
make sure you have typed it correctly.
Also, If I go into my IIS(vr7) and i go to the autodiscover directory and view on 443 I get the following:
Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Exchange.Diagnostics, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
The system cannot find the file specified.
Source Error:
Server Error in '/Autodiscover' Application.
Could not load file or assembly 'Microsoft.Exchange.Diagnostics, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
SBS08
Exchange Server 2007
Microsoft Corporation
Version: 08.01.0240.006
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Exchange.Diagnostics, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not
be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Stack Trace:
[FileNotFoundException: Could not load file or assembly 'Microsoft.Exchange.Diagnostics, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
Microsoft.Exchange.Autodiscover.Global.Application_Start(Object sender, EventArgs e) +0
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618
SO NOW...
If I go to the autodiscover address, it goes to the XML file, but I get a placeholder:
<?xml version="1.0" encoding="utf-8"
?>
-
<Autodiscover>
-
<!--
This is a placeholder file
-->
</Autodiscover>
October 7th, 2010 11:39am
Hi,
I think the best way is to re-install IIS. You may look here to do this in a setup with exchange http://support.microsoft.com/kb/320202Regards from www.windowsadmin.info
Free Windows Admin Tool Kit Click here and download it now
October 7th, 2010 12:10pm
I don't think I'll be able to do that. We have a ton running on IIS.
October 7th, 2010 2:29pm
Fixed.
http://support.microsoft.com/kb/2020789
Free Windows Admin Tool Kit Click here and download it now
October 7th, 2010 4:08pm