Hi, I'm running a program on my IIS server that's written in C# that is
supposed to make screen captures of the server's display.
The problem is that the images that get created are all black although
they are always the right size. I have tried everything from spawning
an exe that takes the screenshots to using window handles to take the
screenshots and all I get are black pictures.
Now I know that the code to take the screenshot is correct because when
I manually run the exe on the server images are displayed correctly but
the same exe displays a black image when run from IIS. Also all of this
code works fine when run on the Microsoft ASP.NET Development Server
which means this problem has something to do with some limitations in
IIS.
I'm not that experienced with IIS so if any experts out there know any
special configurations I have to run IIS under or if anyone knows any
workarounds for this problem please let me know.
Thanks!
Kris