Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


How does outlook handle a blank Autoconfig.xml file?

Posted on 2013-01-24
Medium Priority
Last Modified: 2013-01-29
We had an issue last weekend with our web provider freaking out due to an unusual high number of requests for the autoconfig.xml file. Our exchange box was down for extended maintenance, so apparently all of the outlook clients started hitting our public facing web host to retrieve a new autoconfig.xml in order to verify settings, etc.  The host's firewall blocked our access for requesting a file that doesnt exist too many times.

as a "favor", our web host created a blank autoconfig.xml file to allow the server to serve up the requested file and not bog down the server with 404 errors. They stated the problem was solved because they added that file, but I suspect its more likely that since exchange is functional, the workstations arent requesting the file so from their end they THINK they fixed it.

 At this time its not causing any issues because the exchange server is up, but there is scheduled maintenance this weekend and I'm concerned that as soon as exchange drops, workstations will start referring to that blank file and I have absolutely no idea what the repercussions will be.  

What happens when outlook hits an absolutely blank (as in 0 byte, no contents whatsoever, not even header/formatting data, etc) autoconfig.xml file? Will this cause problems for my workstations, or will they ignore the absolute lack of data and carry on with the original config?
Question by:cameramonkey
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2

Expert Comment

ID: 38817569
If you have autodiscover record in your domain it should point to your exchange server

for example for Office365 looks like this

Type       Priority     Host name       Points to address                  TTL
CNAME   -                     autodiscover      1 Hour

Set the appropriate record for your exchange server. When it's down, your outlook clients will just fail to connect.



Author Comment

ID: 38818366
Nope. Our autodiscover record points to the exchange server, not the public web server.

I did just notice one of our domains does not have the autodiscover record listed at all (50 or so mailboxes) Would that cause it to fail over to the root domain address as a fallback, this creating this problem?
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 38818988
Autodiscover tries a number of URLs by default. One of those URLs is the root of the domain the email address is in.
Internally, if the machine is a member of the domain then it doesn't do a DNS lookup, as the client gets its information from the domain on where to look. It will only start using DNS queries if that isn't available.
Therefore as long as you don't have anyone using Outlook externally, and the Exchange server is available, the root of the domain wouldn't be used.

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.


Author Comment

ID: 38819381
Simon, thats the problem. When the exchange server is down for extended after hours maintenance, we see the issues.

Our external web host naturally doesnt have the xml file, so they decided to publish a zero byte blank file to make their servers happy and allow them to serve the requested (all be it incorrect and theoretically harmless) content instead of producing a 404 error.

My concern is what outlook does with that blank file? Worst case I could see outlook wiping settings and taking that mail client down to the point of IT intervention. (IT staff of 4+ 650 workstations= bad news!)
LVL 63

Accepted Solution

Simon Butler (Sembee) earned 800 total points
ID: 38819412
Extended after hours maintainance? What are you doing to your Exchange servers that need that? The longest I have had an Exchange server down for scheduled maintainance is 90 minutes, and that is for a service pack, the rest of the time it is down for 45 minutes at most.

A blank file isn't going to do anything because the format isn't recognised. If the file was formatted correctly, with the relevant fields blanked out, then I would be worried.

I don't see what the issue with 404s is. One of the sites I look after gets 15,000 an hour.


Author Comment

ID: 38819442
your time estimate is correct for a normal outage involving a patch, reboot, etc. We have had issues with patches that took the server down, as well as fiber disruptions that lasted several hours. Thats when we see these problems.

Expert Comment

ID: 38829733

If you are talking extended downtime then what you are getting is exactly what you should get.

It is the way the system works.

IMHO I would leave well alone.

it may be a good excuse to have a tested DR plan with a backup machine that can run Exchange if required. Not sure how big the environment is, but that will give you the peace of mind if you have problems with updates. You can do the test on the offline DR copy first, and then go on to the production machine later.
A Virtual environment is great for this stop the server copy the Virtual disk(s) and restart. If the patch fails you have an instant restore.

Author Closing Comment

ID: 38833718
The consensus across several experts is that as long as the file is blank, we are safe.

(the hosting provider is rejecting requests to that file now and is OK with the periodic spurts in access now that they understand what is going on)

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
This video discusses moving either the default database or any database to a new volume.

721 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