"Error Loading the TCP MIB Library" error when you add a standard TCP/IP printer port in Windows XP and in Windows 2000

This article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy.


When you use the Add Standard TCP/IP Printer Port Wizard in Microsoft Windows XP or Microsoft Windows 2000, you may receive the following error message:
Error loading the TCP MIB library.
When you click OK, you receive the following additional error message:
Specified port cannot be added. Operations could not be completed.
When you click OK, the Add Standard TCP/IP Printer Port Wizard quits, and no port is added.


This behavior may occur if a third-party version of the Wsnmp32.dll, Ntprint.dll, Tcpmib.dll, Mgmtapi.dll, or Snmpapi.dll file has been copied to the %SystemRoot% folder.


To resolve this behavior, rename or delete these files in the %SystemRoot% folder. These files are taking precedence over the Microsoft-supplied file in the
%SystemRoot%\System32 folder.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

The Add Standard TCP/IP Printer Port Wizard checks the root system folder for some dynamic-link libraries (DLLs) before it checks the System32 folder.

Article ID: 261302 - Last Review: Dec 16, 2009 - Revision: 1