| Previous | Next |
| FWP_E_WRONG_SESSION | FWP_E_TXN_IN_PROGRESS |
FWP_E_NO_TXN_IN_PROGRESS
FWP_E_NO_TXN_IN_PROGRESS means that this WFP API requires an explicit transaction, but the current engine session has none. It is not a general instruction to begin transactions around every failed API call: only the operation that requires explicit transactional context should be performed inside one.
Diagnose the call sequence
- Log the exact WFP API, engine handle, transaction flag, and preceding transaction result.
- Check that the code did not commit, abort, or close the engine handle before the dependent call.
- Use one owner for the transaction scope; a session can have only one transaction in progress at a time.
Repair
Begin the appropriate read-only or read/write transaction, execute the intended cohesive sequence, then commit or abort it on every path. Avoid opening a transaction merely as a retry wrapper around unrelated network activity, because WFP transactions protect policy management state rather than packets already in flight.
Microsoft: WFP error codes · Microsoft: WFP transaction semantics · Microsoft: FwpmTransactionBegin0
Looking for a different code? Search another status or error code.