Event ID - 5140

Event Id5140
DescriptionWindows Process Activation Service (WAS) disabled protocol %1 because WAS received bad data about the protocol. To re-enable the protocol, resolve the issue and recycle WAS.
Event Information According to Microsoft :
Cause :
This event is logged when Windows Process Activation Service (WAS) disabled protocol because WAS received bad data about the protocol.
Resolution :
Stop and start WAS
If WAS fails to recycle an application pool, the problem may self-correct. If the problem persists, a possible resolution is to stop and restart WAS. Stopping the WAS service will also stop the World Wide Web Publishing Service (W3SVC) and any other services that depend on WAS. Thus, you may also have to start these other services.
To perform this procedure, you must have membership in Administrators , or you must have been delegated the appropriate authority.
To stop and start WAS:
1.Open an elevated Command Prompt window. Click Start , point to All Programs , click Accessories , right-click Command Prompt , and then click Run as administrator .
2.At the command prompt, type net stop was /y .
3.At the command prompt, type net start was .
4.To restart W3SVC, from the command prompt, type net start w3svc . Also, start any other services that were stopped when WAS was shut down.
Verify :
You can use an Internet browser to verify that a protocol adapter is functional by following these steps:
1.Select a Web site or application that is configured to respond to the protocol you want to verify.
2.In the address bar of your browser, type a protocol-specific request to the Web site or applications that you chose in step 1.
3.If the protocol adapter is working, your browser client should display the expected output page.
Note : If the protocol adapter is from a third party, refer to the documentation for the adapter. The documentation may have specific steps that explain how to verify the state of the service or process that hosts the protocol adapter.
Reference LinksEvent ID 5140 from Microsoft-Windows-WAS

Catch threats immediately

We work side-by-side with you to rapidly detect cyberthreats
and thwart attacks before they cause damage.

See what we caught

Did this information help you to resolve the problem?

Yes: My problem was resolved.
No: The information was not helpful / Partially helpful.