I encountered this error "Parameter is not valid", and it is thrown from
System.Drawing.Graphics.GetHdc()
The weird thing is that it is only thrown this error on one machine, but not on other machines.
Sorry for being vague, any idea you have that can solve this problem?