Article ID: 2885205 - View products that this article applies to.
Consider the following scenario:
- You have a Windows Server 2012-based file server
- Windows Server 2003, Windows Server 2003 R2 or Microsoft Windows XP Professional-based client computers are accessing the file server with SMB v1 protocol
- or any other SMB v1 protocol based computer with 3rd party CIFS implementation is accessing the file server
In this scenario, you see multiple events with Source Srv ID 2012 in the system event log:
Log Name: System
Date: 07.08.2013 10:23:04
Event ID: 2012
Task Category: None
While transmitting or receiving data, the server encountered a network error. Occassional errors are expected, but large amounts of these indicate a possible error in your network configuration. The error status code is contained within the returned data (formatted as Words) and may point you towards the problem.
0000: 00040000 002C0001 00000000 800007DC
0008: 00000000 C0000184 00000000 00000000
0010: 00000000 00000000 00000634
Explanation of these 'Words' logged in this event:
800007DC = EVENT_SRV_NETWORK_ERROR,
C0000184 = STATUS_INVALID_DEVICE_STATE , The device is not in a valid state to perform this request.
00000634 hex = 1588 decimal, this points to line 1588 in Windows Server 2012 code for downlevel Clients.
This number depends on Operating System, Service Pack and possibly on SRV.SYS Hotfix level.
Frequently Asked Questions (FAQ):
Is such Srv 2012 an indicator for a serious error?
No this is a event of type WARNING, typically you can ignore it. See below for some typical scenarios, where such Event is expected.
Administrators should just ignore the warning.
What should a normal SMB communication look like?
According to CIFS protocol specification (http://msdn.microsoft.com/en-us/library/ee442092.aspx
NEGOTIATE DIALECT - SESSION SETUP - TREE CONNECT - TREE DISCONNECT - LOGOFF
After upgrading our file server to Windows Server 2012 we encounter this Event more often, why?
- you have an environment with many downlevel SMB1 clients like Windows XP or Windows Server 2003.
Unsuccessfull logon attempts (SESSION SETUP Resonse with error status) followed by TCP FIN result in Event 2012.
These clients tend to end their last SMB session with a LOGOFF and TREE DISCONNEcT SMB command, then they terminate the transport session gracefully with a TCP FIN.
This sequence of SMB commands is not fully CIFS compliant, see above, resulting in Event 2012.
- you have an environment with some SAMBA / UNIX / MAC based downlevel SMB1 clients.
These clients often terminate SMB sessions not CIFS conform (omitting a LOGOFF command), resulting in Event 2012.
- downlevel clients with redirected folders on the Windows Server 2012-based file server are disconnected from the network without a proper shutdown.
The file server sends in such situation TCP KeepAlive packets to inactive clients and resets the TCP transport connection if there is no more response from the client.
- SMB1 clients encounter some network problems (File server is not answering their outstanding SMB command within one minute (SessTimeout = 60 sec), so the client won't send a LOGOFF, but termiates the TCP session with RESET and then establishes a new TCP / SMB session with a new virtual circuit (VcNumber: 0).
The file server was not aware of the clients network issue and scavenges the former client session as soon as it detects the same SMB1 client IP with SESSION SETUP (VcNumber: 0) coming in.
(this can happen in NAT Scenario for different clients resulting in same IP address in the file server subnet as well)
For more information about this topic, click the following article number to view the article on the Microsoft Web:
[MS-CIFS]: Common Internet File System (CIFS) Protocol
907546 Event ID 2012 is logged when you try to access files on a Server Message Block (SMB) file share that resides on a Windows 2000 SP4-based computer
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.
Article ID: 2885205 - Last Review: September 2, 2013 - Revision: 4.0