PrinterOn KB Powered By ePRINTit USA

PAS00127 or PAS00103 errors occurring intermittently - c06316554

Within our software, we are doing a resolve for "localhost" (using Microsoft's gethostbyname( ) function), and it can occasionally fail.

When it fails it causes a series of issues to occur that result in the 127 errors.

This is generally related to DNS configuration on the server and will be seen more in standlone servers not connected to a domain.

From experience, the solution was simply to add a mapping of "localhost ->" in the O/S hosts file manually.

In most cases, that just involves un-commenting the line already included in the hosts file.

Hosts file located here: C:\Windows\system32\drivers\etc Remove the "#" from the front of the line that reads " localhost" and save changes.