Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Handle is invalid when printing

10 Mar 2014   #1
Jasonchen

Windows 7 64 bits
 
 
Handle is invalid when printing

I have a HP M1530 printer working fine on Windows 7. I get the error message:the handle is invalid after I update .Net framework to V4.0. I tried to uninstalled/re-installed printer driver. It seems the printer can only print for one time after that , then show up same error message. Any ideas? Thanks


My System SpecsSystem Spec
.
11 Mar 2014   #2
TVeblen

Microsoft Community Contributor Award Recipient

Windows 7 64 Bit Home Premium SP1
 
 

Hello Jasonchen. Welcome to the forum.

You should post the entire error message. Not much to go on there.

Also: when does the error come up? Ex: "I click print, the printer starts printing then stops, and then the message comes up", or "I click print, the message comes up, and the printer never starts".

My guess is a bad .Net install. You might try using System Restore to restore the PC to before you installed .NET 4.0. Then check to see that the printer works OK. If it does then install .NET again.
My System SpecsSystem Spec
11 Mar 2014   #3
Jasonchen

Windows 7 64 bits
 
 

Hi TVeblen, the printer works well with notepad or MS word, it doesn't work with a specific software.

I run the specific software and click print , the message comes up, and the printer never starts..

On the problem computer, I also connect to another network printer, still not able to print with same error message.

However, the specific software works well with other printer on other computers.
My System SpecsSystem Spec
.

11 Mar 2014   #4
TVeblen

Microsoft Community Contributor Award Recipient

Windows 7 64 Bit Home Premium SP1
 
 

You should post the entire error message.
My System SpecsSystem Spec
12 Mar 2014   #5
Jasonchen

Windows 7 64 bits
 
 

When I click print, the printer didn't start, just showing "The handle is invalid". That's the entire error message.
My System SpecsSystem Spec
12 Mar 2014   #6
TVeblen

Microsoft Community Contributor Award Recipient

Windows 7 64 Bit Home Premium SP1
 
 

"The Handle is Invalid" in progammers terms means an attempt to open a file with low-level read capability failed.

Have you tried a System Restore yet?
My System SpecsSystem Spec
12 Mar 2014   #7
Jasonchen

Windows 7 64 bits
 
 

I believe it will work if I restore system, but I can't. This is production environment. I need to re-install a lot application software if restore system. any idea how to troubleshooting and fix this issue?
My System SpecsSystem Spec
12 Mar 2014   #8
TVeblen

Microsoft Community Contributor Award Recipient

Windows 7 64 Bit Home Premium SP1
 
 

Just to be sure we are talking about the same thing: I'm talking about System Restore utility in Windows, to restore the System Registry going back a few days to a week - (30 days is the max for Restore saves).
Not reinstalling the OS or an image file.
Have you installed that much application software in the period since you installed .NET 4.0?

I will look into it, but programming is not my strong suit. The only thing I can think of off the top of my head would be to uninstall .NET 4.0, then see if you can reinstall the printers.
My System SpecsSystem Spec
12 Mar 2014   #9
A Guy

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1
 
 

Welcome to Seven Forums Jasonchen. Have a look at this thread, specifically the "Answer". Another user clarifies where to look for this folder in the comments;

Quote:
Folder 3 is under the next route: C:\Windows\System32\spool\drivers\w32x86 and in this folder are the drivers for printers, if you have any other printer installed you will need to reinstall.
Handle is invalid when printing - Microsoft Community

This appears to be a driver issue, even though it started after installing .NET 4. Suggestion seems to be uninstall drivers, and perhaps printers. Reinstall both.

I think there are .spl (spool) files that can cause this as well?

http://support.microsoft.com/kb/264662

A Guy
My System SpecsSystem Spec
13 Mar 2014   #10
Jasonchen

Windows 7 64 bits
 
 

Yes, we are talking about same thing, restore the System Registry will affect application software.

I already rename the folder 3, re-install printer driver, no luck.

Don't find any file under C:\Windows\System32\Spool\Printers directory.
My System SpecsSystem Spec
Reply

 Handle is invalid when printing




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Can't backup - Invalid window handle (Error code: 0x80070578)
On a Windows 7 laptop, I noticed that Windows Backup hadn't backed up anything in about a year since the USB drive it was backing up to was full. (I thought Windows 7 would delete old backups if the backup drive was full, but that's another issue.) So I deleted all the backups off the USB drive...
Backup and Restore
BSOD-Invalid Kernel Handle-ntoskrnl.exe
the other day i went to shut down my computer and i got an error dialog box popup from evga precision x, then it blue screened on me. invalid kernel handle, driver-ntoskrnl.exe, address-ntoskrnl.exe+7efc0. i would like to try and fix this problem. i have attached the dump file
BSOD Help and Support
What is "Invalid Handle" and how can I fix it?
I volunteer at the State of California's Employment Development Department Experience Unlimited job club. A few weeks ago the state installed 15 identical HP AU1245AV workstations with a customized image. The bureaucracy, a bit better than DMV, doesn't give me access to the person who build the...
Installation & Setup
invalid kernel handle
hi, have recently started getting a bsod on startup. I am running windows 7 professional 64 bit on a recently built pc by myself. thanks in advance for your help
BSOD Help and Support
createFile invalid handle
I could use some help figuring out why createFile will fail on some machines and not on others. Customer's are installing a USB drive on their machines and then running my security application. The security app runs fine for most of the customer except for about 3. It fails every time with an...
Software
Backup error: The handle is invalid
I have setup the backup utility to use my network drive and create an image and copy the my doc folder. When I run the utility it will go through it's process for a long time before providing the following error information: Check your backup One of the backup files could not be created. ...
Backup and Restore


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 15:56.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App