Monday, October 24, 2011

bench3

0x0000007e Printer Cannot Connect Operation Failed

Windows 7 Enterprise having this problem when installing printers. And the error message that Windows gives is, "Windows cannot connect to the printer." Details: "Operation failed with error 0x0000007e".

What is the solution for this error, if we do not want to have the computers with local port definitions.

If you are an Windows administrator, try the following script: "rundll32 printui.dll,PrintUIEntry /in /q /n \\myserver\myprinter"

Here is the solution for 0x0000007e “Printer Cannot Connect Operation Failed ”:

I wanted to post my findings for people searching this.

My Environment:

Server: Windows Server 2008 32 bit

Printers: HP LJ 4100, HP LJ 4600

Driver: HP Universal Print Driver

Clients: Mixture of W7 x86 and x32

Symptoms: 32 bit clients have no issue adding printers, 64 bit clients are unable to add printers and receive an error of "Cannot Connect to Printer" with an error code of 0x0000007e.

My resolution:

Open 2 command prompts on the server and do a dir on c:\windows\system32\spool\drivers\w32x86\3\hpcpn*.dll in one window and a dir on c:\windows\system32\spool\drivers\x64\3\hpcpn*.dll in another window.

Chances are, you will not have the same file in both directories, which is what windows wants. I've tried renaming and I've tried copying the other dll file, these methods don't work. You can muck with installing new drivers all day to get these files to align, or you can do the following:

When installing for a 64 bit client:

Take note of the three digit number at the end of that dll file in the x64\3 directory

Open regedit and browse to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\<Printer Name>\CopyFiles\BIDI. Change the value of the "Module" key to end with the dll that we found in the \x64\3 directory

When installing for a 32 bit client:

Take note of the three digit number at the end of that dll file in the w32x86\3 directory

Open regedit and browse to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\<Printer Name>\CopyFiles\BIDI. Change the value of the "Module" key to end with the dll that we found in the \w32x86\3 directory

I hope this helps everyone, if it still does not work for you, just read more on this page…

I spent a long time working this issue with HP and Canon and what ended up solving the 0x0000007e error on the Win 7 x64 clients using a Windows 2008 print server:

  • Logon to the Windows 7 client machine
  • Click on the Start button
  • Click on Devices and Printers
  • Click and highlight any printer already installed on the local machine. (This should allow you to see the “Print Server Properties” button right underneath the address bar at the top of the page.
  • Click on Print Server Properties button
  • Click on the Drivers Tab
  • Highlight and remove every single driver (Make sure you are on the client machine NOT THE SERVER!!)
  • Click OK and then Close the Printer Page.
  • Go to Start /Run / and type in services.msc
  • Find the print spooler service
  • Stop the print spooler for at least 10 seconds
  • Restart the print spooler service
  • Go back to the print server and try and reinstall the printer

It works for you, that is fine.

In addition, according to Microsoft database, if the driver has color profiles, the add printer wizard will fail. It is a known bug in Windows 7.

I found a hotfix on Microsoft page which was supposed to solve this issue.

http://support.microsoft.com/kb/982728/en-us#appliesto

It might help you.

And if it does not work, I would like to know if adding the printer as local printer works. Please check if solutions on the following thread will work:

http://social.answers.microsoft.com/Forums/en/w7install/thread/a7fe6b93-5752-49a6-add7-0cf129b7b348

bench3

About bench3 -

Haja Peer Mohamed H, Software Engineer by profession, Author, Founder and CEO of "bench3" you can connect with me on Twitter , Facebook and also onGoogle+

Subscribe to this Blog via Email :

3 comments

Write comments
Anonymous
AUTHOR
June 18, 2014 at 8:12 AM delete

James says that Farrah acted professional and didn't bring her daughter,
Sophia, to the shoot. The difference between porn flicks of these times and the past is that currently, the technology is
further helping boost the overall quality and accessibility of porn films.
Who knew "Kony" 2012 would inspire so much
sexual substance when the driving point was suppose
to be about helping children in the country of Uganda.



Feel free to visit my homepage; “youtube porno” ()

Reply
avatar