Strange Resource Errors under Citrix Presentation Server

Rick Wargo

I’ve been beleaugured with strange resource errors in a VBA-based Excel application while running it under Presentation Server. I had missing bitmaps, incorrectly drawn WMF images, unloadable bmp files, and error messages such as “Not enough system resources to display completely.” These issues would appear intermittently and were difficult to determine the cause. Oddly enough I didn’t receive error messages from the ICA client and these issues did not appear while running under Terminal Services. The issues seemed related to running out of GDI resources. After a lot of strife (mostly with the computer) I found the issue: the amount of memory dedicated to video. I had 5625KB memory dedicated to it and it needed more. I also had checked “Degrade resolution first” and would prefer to to “Degrade color depth first” so the application does not get confused with a different size display. After increasing the amount of display memory to 8192KB and also setting the published application to 16-bit color, my problems disappeared.

Leave a Reply

stop spam with honeypot!