Tuesday, November 29, 2011

Memory error when trying to print pictures

As mentioned in my previous blogs, I am building a XenApp 6 environment for my organisations to replace the current PS4 farm. I am fixing all of the little niggles at the moment and I came across a really annoying issue.

Environment
=======================
Windows 2008 R2 Standard
VMware vSphere 4.1
6GB Ram
2vCPU
XenApp 6.0

Issue
=======================
When right clicking an image and selecting Print from the context menu, a number of error messages appearing saying
Your pictures can't be printed because this error occurred:
There isn't enough available memory to print your pictures. Close some open programs, and then try again.
Now, troubleshooting was a little difficult but this is the approach I took
Memory - 6GB for 2 users...no issues showing in task manager etc.
Permissions - occurs for all users, even local administrators
Applications - uninstalled all other applications from server, problem still occurred
Process Monitor - Took a log during a repro but couldn't see any obvious faults occuring.
Print Drivers - removed all print drivers, problem still occurs
Searched Internet - nothing other than idiots stating that you need more RAM..........if only it were that simple!!!

Fix
=======================

Now at this point I was a little stumped, and I remebered the system file checker utility.


I wondered if a system file or registry key had become corrupt so a scan would not do any harm
open command prompt and type (make sure you run as administrator)

sfc /scannow

reboot and try printing the image again, the fault does not occur.

I hope this saves you a few minutes, it would of done in my situation!!!

Sam

9 comments:

  1. Thank you. This helped me.

    ReplyDelete
  2. Very helpful. Thanks!

    ReplyDelete
  3. You are totally right - a bunch of idiots....
    Yours was THE ONLY post that helped and spoke intelligently about solving the issue. THANKS!!

    ReplyDelete
  4. what if the drive is encrypted and sfc fails?!?!

    ReplyDelete
  5. Superup!
    It worked!!!

    ReplyDelete
  6. Beni
    i Have Terminal server 2008R2, and sfc /scannow finish with "windows resource protection did not find any integrity violations" and the problem was not solved

    ReplyDelete
  7. Nice one mate - fixed the problem and also fixed the issue with my scanner.

    ReplyDelete