Solved

Cannot use autodiscover or rpc over http

Posted on 2010-11-09
5
774 Views
Last Modified: 2012-05-10
System specs:

Windows server 2003 sp2
Exchange server 2007 sp1
certificate has all the correct A records autodiscover, mail etc


I have an issue with my exchange server without having made any changes to the server. I cannot setup new outlook accounts in outlook 2007. All the current outlook accounts seem to be working fine though.

www.testexchangeconnectivity.com results are below:

attempting to test potential autodiscover URL https://domain.co.uk/autodiscover/autodiscover.xml

failed

additonal details

hostname doesn't match any name found on the certificate CN=mail.domain.co.uk, O=CO NAME, L=town, S=county, C=GB

Attempting to test potential autodiscover URL https://autodiscover.domain.co.uk/autodiscover/autodiscover.xml failed

A web exception occurred beacause an HTTP 401 - unauthorized response was received from unknown.

I can telnet into the exchaneg server on ports 443, 80, 6001, 6002 and 6004 ok

rpccfg /hd results in the correct ports being shown

When i try:

C:\Documents and Settings\account>rpcping -t ncacn_http -s i3-mx-01 -o RpcPro
xy=mail.domain.co.uk -P "account,domain.local,*" -I "account,domain.local,*" -
H 2 -u 10 -a connect -F 3 -v 3 -E -R none

I get - client is not authorised to ping rpc proxy but when I change the H value to 1 reponse received from server and pinged successfully.

Can anyone point me in the right direction? I feel that I have nearly resolved this issue but am still not there.

Thanks,

Andrew


0
Comment
Question by:pbrane
5 Comments
 
LVL 22

Expert Comment

by:Matt V
ID: 34094023
Did anything change on your IIS server setup?
0
 
LVL 6

Accepted Solution

by:
Shack-Daddy earned 500 total points
ID: 34094106
When you do the Test Email Autoconfiguration test on one of the working Outlook 2007 clients, does Autodiscover still succeed?

When you use ExRCA, you apparently aren't reading the results properly. I assume that 'autodiscover.domain.co.uk/autodiscover/autodiscover.xml' is a valid path and that during that portion of the test, it succeeds until it gets down to the "unauthorized response received from unknown" section, right?

If this were my server, I'd go into powershell and do the following:

get-autodiscovervirtualdirectory | fl (just to get all the data on my screen)

get-autodiscovervirtualdirectory | remove-autodiscovervirtualdirectory

new-autodiscovervirtualdirectory -websitename "Default Web Site" (assuming that you aren't on SBS 2008)

get-autodiscovervirtualdirectory | set-autodiscovervirtualdirectory -externalURL https://autodiscover.domain.co.uk/autodiscover/autodiscover.xml -internalURL https://server.domain.local/autodiscover/autodiscover.xml -windowsauthentication $true -digestauthentication $true

That will rebuild the virtual directory. Then I'd test again and see if I got different results. Normally this resolves the problem you are running into.
0
 
LVL 4

Author Comment

by:pbrane
ID: 34101141
The current websitename is Autodiscover (Default Web Site) when I run get-autodiscovervirtualdirectory. When I recreate it should I use this name or just (Default web Site)?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 34869184
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

777 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