Link to home
Start Free TrialLog in
Avatar of Jsmply
Jsmply

asked on

Why can't we add a TCP/IP network printer on this Windows XP box?

Hi Experts,
We have a computer in our kids computer lab that is giving us an issue.  We are unable to add a tcp/ip network printer to it.  Whenever we try to create a new TCP/IP port connection when setting up a new printer we get an error saying cannot access the tcp mib library.  

Have tried several times, tried manually though adding a printer, tried via the pritner drivers, etc.  It all goes back the same error and crashes explorer.  

Any ideas?
Thanks!
Avatar of cwstad2
cwstad2
Flag of United Kingdom of Great Britain and Northern Ireland image

Hi there. If you navigate to  C:\Windows\System32\spool\PRINTERS. Delete any content in the directory. the click on start run then type in cmd. should open a dos prompt. Then type net start spooler
1.go to C:\WINDOWS

2.find these files: Wsnmp32.dll, Ntprint.dll, Tcpmib.dll, Mgmtapi.dll, or Snmpapi.dll, you might find 1 or you might find all.

3.delete them, or move them to another folder.

4.restart.

Good luck,
Rabih
Avatar of Jsmply
Jsmply

ASKER

Hi, thanks for the reply.  There were four objects in the folder and they were cleared out (by the way, went ahead and stopped the printer spooler before deleting and then restarted after deleting as you said).  Unfortunitely, it didn't fix the problem, still the same error loading tcp mib library message.  

Found this on the Microsoft site: http://support.microsoft.com/kb/261302 and although the error message is the same, the MS fix doesn't seem to help here.
Avatar of Jsmply

ASKER

Thanks Rabih83, unfortunitely we found that in the MS KB article but it doesn't seem to apply here.  None of those files are in the %SystemRoot% folder.
did you try "show hidden files" and unchecked "hide system files"?
Avatar of Jsmply

ASKER

Yep, still don't see any of those files there.
ASKER CERTIFIED SOLUTION
Avatar of akahan
akahan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jsmply

ASKER

Right, however it seems in the MS KB article the point is if the files exist in the systemroot folder, that would be what causes this error as they are superceding the system32 copy:

From MS Article:

"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.

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. "
Right, exactly; but if they're missing from BOTH %systemroot% and %systemroot%/system32 (perhaps due to a botched attempt by someone else to solve this problem), you'll still have the problem, and would also have it if the wrong versions of the files are in system32 (but not in %systemroot%).
Avatar of Jsmply

ASKER

After sfc /scannow we were able to add the printer, thanks!
Great!  Thanks for reporting back!
Avatar of Jsmply

ASKER

Thank you for your help (and everyone else)!