Cannot start Windows process activation service on Windows 10

3

After upgrading from Windows 7 Pro x64 to Windows 10 Pro x64, I cannot start IIS. Most of the Windows 10 system works fine. Some study tells me that the primary problem is that the Windows Process Activation Service (WAS) will not start.

I have another machine that upgraded to Windows 10 with IIS fine (Windows 7 Home Premium x64 up to Windows 10 Home Premium x64). The IIS on that machine works OK (it only serves one website; so simpler setup.)

  • I have had NO LUCK finding anything on the Internet that resolves this.
  • I tried using the clean.iinstall IIS config files (no improvement).
  • I tried uninstalling IIS - uninstall failed and rolled back (see below).
  • I tried uninstalling WAS - uninstall failed, and rolled back.

DETAILS:

My first error trying to run IIS Manager program:

One or more problems have been detected during IIS upgrade. As a precaution,
one or more IIS services have been disabled. Please review the following error message:

Data loss has occurred - You upgraded your operating system or switched from one Windows SKU
to another SKU, and data from the previous installation of IIS has been lost or copied incorrectly.
As a result, the services W3SVC and MSFTPSVC have been disabled. Before enabling these services,
you should review the latest IIS 7.0 compatibility information.

(The link to see the IIS 7.0 compatibility information was a dead link.)

I decided to give it a try despite the compatibility warning. I started the services IIS, MSFTP, WAS and W3SVC (depends on WAS), then tried to start IIS Manager.

Failed to connect
There was an error when trying to connect. Do you want to retype your credentials and try again?

Details:
Creating an instance of the COM component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344}
from the IClassFactry failed due to the following error: 800700b7
Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7).

FACTS:

The IIS configuration files exist with non-zero length; they look coherent.

  • C:\Windows\System32\Inetsrv\Config

    • ApplicationHost.config
    • Administration.config
    • Redirection.config

    • I have a backup that I made that should be good (not just the automatic backups).

  • machine.config exists ok: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config
  • The appPools folder exists: C:\inetpub\temp\appPools
  • The upgrade changed IIS from v7.5 to v10.0.10240.16384
  • This machine has one user account (me) and the account is marked Administrator.
  • My previous Windows 7 Pro with IIS 7.5 worked FINE for several years. IIS was giving no trouble before the upgrade.
  • I can use other network stuff OK: Internet, Outlook, PuTTY, MySQL Workbench (remote & local), and FileZilla.

Trying to start the Microsoft FTP service, or run appcmd or start W3SVC or WAS all give the same error: Error 183: Cannot create a file when that file already exists.

appcmd list backup --> failed (running as Admin) ERROR ( hresult:800700b7, message:Command execution failed. Cannot create a file when that file already exists.)

Event Log after error starting WAS: The configuration manager for Windows Process Activation Service (WAS) did not initialize. The data field contains the error number. error # = B7000780


I used the MS error lookup tool:

  • To see the appcmd error ( 800700b7)

    for hex 0x800700b7 / decimal -2147024713 :

    STIERR_HANDLEEXISTS stierr.h

    1 matches found for "800700b7"

  • To see the WAS error (B7000780)

    as an HRESULT: Severity: FAILURE (1), Facility: 0x1700, Code 0x780

    for hex 0x780 / decimal 1920 :

    SQL_1920_severity_10 sql_err

    Skipping rebuild of index ID %d, which is on a read-only

    filegroup.

    ERROR_CANT_ACCESS_FILE winerror.h

    The file can not be accessed by the system.

    2 matches found for "b7000780"


I tried to uninstall IIS: 11/25 - uninstalled in windows features - system did the work, I restarted system - main system booted ok; then it treated the features - the features uninstall failed at about 85% of total work "We couldn't complete the features" - system did a rollback


At reboot time, (some) services statuses are:

IIS                runing  auto   IIS Admin Service (depends on HTTP service)
MSFTP              off     auto   MS FTP Service (ftpsvc)
W3SVC              off     auto   World Wide Web Publishing Service (depends on WAS)
WAS                off     auto   Windows Process Activation Service
NetMsmqActivator   off     Auto   Net.Msmq Listener Adapter
NetPipeActivator   off     Auto   Net.Pipe Listener Adapter
NetTcpActivator    off     Auto   Net.Tcp Listener Adapter
AppHostSvc         off     Auto   Application Host Helper Service

==> THESE AUTO SERVICES ABOVE SHOULD BE RUNNING, BUT FAIL TO START PROBABLY DUE TO THE 'WAS' PROBLEM !

HTTP service is hidden, running:

sc queryex http ==> running

RPC and its dependencies are all OK, running.


I tried to uninstall WAS windows feature:

  • The system did the uninstall work, restarted, "could not complete features", rolled-back changes

I ran process monitor, but I could not see anything particular to resolve.


11/29 changed out the IIS configuration files, to use the clean.install versions:

C:\Windows\System32\inetsrv\config

I replaced applicationHost.config with applicationHost.config.clean.install (renamed it to the regular name)

I replaced administration.config with administration.config.clean.install (renamed it to the regular name)

I rebooted

I still could not start FTP or WAS, so maybe it's not getting far enough to read the configuration files?

iis
service
windows-10
asked on Stack Overflow Nov 29, 2015 by Judy • edited Nov 10, 2017 by Peter Mortensen

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0