An error occurred during port configuration means that the printer's port is in use. Another reason is that the print driver is outdated or corrupted.