The NetTcpActivator service depends on the WAS service which failed to start because of the following error: Invalid index.

Saugirdas 1 Reputation point
2021-08-23T21:10:53.07+00:00

Hello,

Today after Windows server update we get errors :
The NetTcpActivator service depends on the WAS service which failed to start because of the following error: Invalid index. Event ID 7001
The WAS service terminated with the following error: Invalid index. Event ID 7023
Windows Process Activation Service (WAS) is stopping because it encountered an error. The data field contains the error number. Event ID 5005
The configuration manager for Windows Process Activation Service (WAS) did not initialize. The data field contains the error number. Event ID 5036

Web Server (IIS) Role is not installed at all.

I hope somebody can help me,
Saugirdas

Windows for business | Windows Server | User experience | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,931 Reputation points
    2021-08-25T08:04:22.53+00:00

    Hello Autosabina

    If you run into problems when using Windows Update, start with the following steps:

    Run the built-in Windows Update troubleshooter to fix common issues. Navigate to Settings > Update & Security > Troubleshoot > Windows Update.

    Install the most recent Servicing Stack Update (SSU) that matches your version of Windows from the Microsoft Update Catalog. See Servicing stack updates for more details on servicing stack updates.

    Make sure that you install the latest Windows updates, cumulative updates, and rollup updates.

    To install the Web Server (IIS) server role

    To perform this procedure by using Windows PowerShell, open PowerShell, type the following command and then press ENTER. Install-windows feature Web-Server -IncludeManagementTools

    In Server Manager, click Manage, and then click Add Roles and Features. The Add Roles and Features Wizard open.
    In Before You Begin, click Next.
    Note The Before You Begin page of the Add Roles and Features Wizard is not displayed if you have previously run the Add Roles and Features Wizard and you selected Skip this page by default at that time.

    1. On the Installation Type page, click Next.
    2. On the Server selection page, click Next.
    3. On the Server roles page, select Web Server (IIS) and then click Next.
    4. Click Next until you have accepted all of the default web server settings, and then click Install.
    5. Verify that all installations were successful, and then click Close.

    These errors occur when Update is superseded, Update is already installed, the Wrong update for architecture, Missing prerequisite update. so if the problem persist do follow the advanced version using the below link

    https://learn.microsoft.com/en-us/windows/deployment/update/windows-update-troubleshooting

    Hope this answers all your queries, if not please do repost back.
    If an Answer is helpful, please click "Accept Answer" and upvote it : )

    Regards,

    jainth S

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.