another thought .. you said the original problem was that you couldn't get OWA to work from the internet.
Did it work internally?
Main Topics
Browse All TopicsHi,
OK i am totally stuck with this one - i have tried everything i know but still no luck. First off, a bit of background information. This server is an active Exchange 2007 server, and is currently in operation. However, it would not accept OWA requests from the internet. After a lot of researching, it became apparent that that all i could try to do was remove the owa virtual directory. I ran the relevant command from Exchange Management Shell, and it said it removed successfully, although this was the start of all my troubles. I could then not recreate this directory either via IIS or the Exchange Management Shell.
I then tried to remove the default web site, via both IIS and EMS again, however it would not go anywhere, giving ,me an error about the applicationHost.config file being corrupt. I then tried removing IIS Role form the Server Manager, which said it was successful. After rebooting, it appeared that updates were being installed and after logging in, it said that IIS was uninstalled and that i had to reboot. After rebooting (which took much longer than the first time) it gave me the same message, and after rebooting (which took eveeeen longer) it says the same thing AGAIN!! It just will not remove.
After further inspection, i cannot find the IIS Admin Service under services, not can i find WOrld Wide Web Publishing Service. But it still thinks i need to reboot to remove IIS, and will not let me add it until i reboot. But i know if i reboot, i will get the same message again and will go round in this loop forever until it takes all week to reboot.
Has anybody ever had this issue? If not, could somebody pelase guide me through manually removing IIS 7?
It may also be worth noting that i can still open IIS manager, however my server does not appear there. And i cannot delete the Inetsvr folder either, i am assuming because it is protected via Windows File Protection.
Any ideas would be much appreciated!
Thanks.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi,
I have managed to remove IIS by removing WPA and stopping al the services, however it will now not reinstall. None of the folders (inetsrv or inetpub) are there anymore, nor are the services, however it just will nto re-install.
As soon as i tried runing your first command, i got a whole load of error messages and prompted to reboot to undo the changes. The followeing is what was returned:
Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\administrator.CHE
..
Start Installation...
[Installation] Succeeded: [Web Server (IIS)] Management Tools.
[Installation] Succeeded: [Web Server (IIS)] Web Server.
[Installation] Succeeded: [Web Server (IIS)] Common HTTP Features.
[Installation] Succeeded: [Web Server (IIS)] Health and Diagnostics.
[Installation] Succeeded: [Web Server (IIS)] Security.
[Installation] Succeeded: [Web Server (IIS)] Performance.
Error: Installation of [Windows Process Activation Service] Configuration APIs f
ailed. The server needs to be restarted to undo the changes.
Error: Installation of [Windows Process Activation Service] Process Model failed
. The server needs to be restarted to undo the changes.
Error: Installation of [Web Server (IIS)] IIS Management Console failed. The ser
ver needs to be restarted to undo the changes.
Error: Installation of [Web Server (IIS)] HTTP Logging failed. The server needs
to be restarted to undo the changes.
Error: Installation of [Web Server (IIS)] Static Content Compression failed. The
server needs to be restarted to undo the changes.
Error: Installation of [Web Server (IIS)] Request Filtering failed. The server n
eeds to be restarted to undo the changes.
Error: Installation of [Web Server (IIS)] Request Monitor failed. The server nee
ds to be restarted to undo the changes.
Error: Installation of [Web Server (IIS)] HTTP Errors failed. The server needs t
o be restarted to undo the changes.
Error: Installation of [Web Server (IIS)] Static Content failed. The server need
s to be restarted to undo the changes.
Error: Installation of [Web Server (IIS)] Default Document failed. The server ne
eds to be restarted to undo the changes.
Error: Installation of [Web Server (IIS)] Directory Browsing failed. The server
needs to be restarted to undo the changes.
<100/100>
Error: Installation of one or more roles, role services, or features failed, and
a restart is required. Check the Server Manager log for additional information
and try again.
I am guessing that the same thing which is causing this not to install from the command is also causing it not to install via server manager.
Do you have any idea how to get IIS to be completely removed, so that i can run a fresh install, or do you know of anything which could be stopping the installation?
To answer your question, yes the internal version of OWA was perfect, is was just external useres. All ports were open, and the external URL was also defined. Users could get to the screen prompting them about the certificate, and when you clicked continue anyway, that is when i got the 404 error and nothing would go any further.
Thanks.
Yea, i think you are right about it not being corrupted in the first place, but what appeared to be a simple fix destroyed IIS, and as always in IT, once you start down those roads, your committed and theres no way back!
Have you any ideas on how to remove my IIS? doesnt matter how many times i try to install it, it just keeps on failing. Its like there is just some bad configration hanging around somewhere, like the registry ot the file system, and it just keeps getting stuck. As far as Windows is concerned, its not on, but it wont let me install it.
I'm sure if i could jsut get it to re-install, i could remove the Client Access Role, re-install it (using the guide you provided via microsoft) and all the OWA virtual directorys will be recreated. But i just cant get it to install!!!
I will contact Microsoft Support first thing in the monring and raise a support call with them, but in the meantime, do you have any more suggestions?
Thanks for all of your help so far.
Cheers
Hi,
Sorry for the late reply. Unfortunately, if you remove IIS 7 from Windows Server 2008, it is never going back on properly. . . . EVER!
You just have to re-install the OS, hopefully they will fix this in the next Service Pack release
Also, you are going to love this - the reason that OWA would not work was because the mailboxes had become dismounted on the reboot. Exchange 2007 does not remount the mailbox store after reboot automatically, however this is easily changeable via the Exchange Management Console.
Thanks.
A Solution - without reinstalling the OS:
For anyone else who finds this i'd just like to add that i had the same issue - removed IIS and couldnt reinstall it..
Found some information stating that,
* in server2008 i went in to Start --> Server Manager --> Features --> Remove Features
* then un-tick the Windows Process Activation Service
* Reboot the server
Once Rebooted -
* Go in to Start --> Server Manager and then wait for it tom complete the removal process
* In Server Manager, GoTo Roles --> Add Role
* Add IIS and select the features you require.
(Adding IIS also reinstalls the windows process activation service)
Really Hope this helps someone else..
I got the information above from: http://social.technet.micr
Business Accounts
Answer for Membership
by: flaphead_comPosted on 2009-04-14 at 00:33:24ID: 24135621
did the removal of IIS give you any errors in the application event log?
om/kb/3202 02
om/kb/3202 02
On the plus side your following the right line .. http://support.microsoft.c
Have you tried to add the Web Server (IIS) role and the required role services again? installing it again may fix your issue as it should reinstall the binaries.
You can do it by running the following and the follow the Exchange 2007 part of http://support.microsoft.c
Select allOpen in new window