Exchange OWA not working and WAS Error 5172

Microsoft Exchange

Recently I came across an error where OWA had stopped working on an Exchange 2010 server.

After a quick look in services I could see that the IIS Admin Service wasn’t running. So I tried a quick iisreset /restart command, but received the following error.

iisreset error

Back to Services again, and I could see that the World Wide Web Publishing Service wasn’t started. I tried to start the service but it failed to start.


So i took a look at its dependencies and noticed the Windows Process Activation Service wasn’t started either.World Wide Web Publish Service Dependencies

I tried starting the Windows Process Activation Service, but it wouldn’t start and produced the following error message:

The Windows Process Activation Service terminated with the following error:
The data is invalid.

So I had a quick check in the event logs, and each time the Windows Process Activation Service tried to start it generated an Event ID 5172 Error message in the System Event log:

The Windows Process Activation Service encountered an error trying to read the configuration data from file ‘C:\Windows\system32\intsrv\schema\NetFx40_IS_schema_update.xml’, line number ‘1’. The error message is: ‘Configuration file is not well-formed XML’. The data field contains the error number.

Event ID 5172 Error WASSo I browsed to the folder in question to take a look at the xml file and found the following.

Windows System32 inetsrv config schema-beforeThe file size was 0 KB which and contained no data. On further investigation I had a quick look at the Windows update history and the issue occurred after Microsoft.Net Framework 4.5.2 for Windows Server 2008 R2 x64-based Systems (KB2901983) was installed.

Windows Update History

Whenever a change is made in IIS a backup of the configuration is saved in the C:\inetpub\history folder.  So I browsed to the last CFGHISTORY folder to take a look, and sure enough the NetFx40_IIS_schema_update.xml file was 4 KB in size.inetpub history cfghistory schema

I copied  the NetFx40_IIS_schema_update.xml file from the C:\inetpub\history folder to the C:\Windows\System32\inetsrv\config\schema folder.

32 inetsrv config schema-after

I was then able to run iisreset, at which point the WAS, World Wide Publishing and IIS Admin Services all started sucessfully.

iisreset success


Related Posts:

1. Exchange 2010 SP3 Update Rollup 9 released and installation tips

2. How to install Exchange 2013 (SP1) on Windows Server 2012 R2

3. Exchange Server and Update Rollups Build Numbers

4. How to check which version of Microsoft Exchange you are using?

5. Exchange PowerShell: How to check the number of items in the Inbox, Sent Items, Deleted Items and Junk Email


Exchange PowerShell: How to Bulk Import/Create Mail Contacts

Exchange PowerShell

I’ve been working a lot with Exchange 2013 recently so will be focusing my next few posts on some PowerShell I have used and found useful to help me setup an Exchange 2013 environment for a new company.

In this post I will look at the process I used to bulk create Contacts.

Continue reading

Exchange 2010 SP3 Update Rollup 9 released and installation tips

Microsoft Exchange 2010 SP3 Update Rollup 1 Installtion tips

On 17th March Microsoft released the Exchange 2010 SP3 Update Rollup 9. I’ve waited a bit longer than usual to test and depoly the update due to the issues with Update Rollup 8 being released and then pulled, then re-released a few days later.

The Update Rollup 9 for Exchange Server 2010 SP3 contains the fixes for the security issue that is described in KB3030085 and the following Microsoft Knowledge Base (KB) articles:

This update resolves the issues that are described in the following Microsoft Knowledge Base (KB) articles:

This update also includes new daylight saving time (DST) updates for Exchange Server 2010 SP3. For more information about DST, go to the following Microsoft website:

The update can be downloaded from here.

The official Exchange Team blog post can be found here.

Continue reading

Released Today: Veeam Availability Suite v8 Update 2

Veeam it just works

Veeam have just release Update 2 for the latest version of their Backup and Replication software – Veeam Availability Suite v8.

The update includes full support for vSphere v6, and support for Veeam Endpoint Backup Free. See the Knowledge base article kb2024 for a list of fixes and enhancements.

As a service provider I got my hands on the update last week to apply to our Cloud Connect Solution and we’ve not had a problem with it, still you may want to wait a few days just in case there are any bugs to iron out.

Read the official blog post here:

Download and further information can be found here:

Also of note is Update 2 for Veeam One v8. Details and download can be found on the link below.

Related Posts:

1. Veeam Endpoint Backup FREE – Released Today!

2. Veeam Task Manager for Hyper-V released

3. Veeam – Task failed Error: No connection could be made because the target machine actively refused it.

4. PowerShell: How to add all users in an OU to a Security Group using Get-ADUser and Add-ADGroupMember

Dell Server Update Utility SUU 15.04 released

Dell Server Update Utility

The latest version of Dell Server Update Utility (SUU 15.04.00) was released last week. The SUU is an application used to help patch Dell PowerEdge servers. It will compare currently installed drivers and firmware with those available on the mounted iso file.

Continue reading

Free ebooks: Microsoft Azure Essentials series: Fundamentals of Azure and Azure Automation

Microsoft Azure Essentials - Fundamentals of Azure

I’m playing catch with a few blog posts as the blog has taken a back seat recently while I have been working on a large project, so you may already know about these!

Microsoft Press have released a couple of new ebooks about Microsoft Azure, in a series entitled Microsoft Azure Essentials.

The first is Microsoft Azure Essentials: Fundamentals of Azure by Michael Collier and Robin Shahan.

From the Introduction:

“This ebook covers the fundamentals of Azure you need to start developing solutions right away. It concentrates on the features of the Azure platform that you are most likely to need to know rather than on every feature and service available on the platform. This ebook also provides several walkthroughs you can follow to learn how to create VMs and virtual networks, websites and storage accounts, and so on. In many cases, real-world tips are included to help you get the most out of your Azure experience.”

See the MS Press blog post here, and download the ebook from the MVA here.

Microsoft Azure Essentials- Azure Automation


The second ebook is Microsoft Azure Essentials: Azure Automation by Michael McKeown.

From the Introduction:

“This ebook introduces a fairly new feature of Microsoft Azure called Azure Automation. Using a highly scalable workflow execution environment, Azure Automation allows you to orchestrate frequent deployment and life cycle management tasks using runbooks based on Windows PowerShell Workflow functionality. These runbooks are stored in and backed up by Azure. By automating runbooks, you can greatly minimize the occurrence of errors when carrying out repeated tasks and process automation.”

See the MS Press blog post here, and download the ebook from the MVA here.

Don’t forget all Microsoft ebooks can be found on the Microsoft Virtual Academy (MVA).

Related Posts:

1. How to convert a Hyper-V VHDX to VMDK for VMware Workstation

2. How to create a Hyper-V VM template without VMM

3. Training Resources for 74-409 Server Virtualization with Windows Server Hyper-V and System Center

4. How to Inspect and Edit virtual disks in Hyper-V

Veeam Endpoint Backup FREE – Released Today!

Veeam it just works

Veeam have been hard at work recently and have just released Veeam Endpoint Backup FREE. I’ve been using the Beta version for the past few months and it has worked really well, so I’m really excited to take a look at the full version and see what it has to offer.

The backups can be volume or file level, and bare metal restore is available for the volume level backups, but what is really exciting is the ability to backup to a current Veeam Backup & Replication repository.

Read the official blog post here:

Download and further information can be found here:

Related Posts:

1. Veeam – Task failed Error: No connection could be made because the target machine actively refused it.

2. Veeam PowerShell: How to schedule an inventory of a drive and mark the media as free

3. Free eBook from Veeam – Hands-on Guide: Understanding Hyper-V in Windows Server 2012

4. How to add a USB disk to a Windows 2012 Hyper-V VM