Taking a screenshot with C# WebBrowser doesn't work properly on windows
server 2012
I've written a function that uses WebBrowser to get a screenshot of a web
page in my C# MVC application(this is the reference of the code that I
used
http://www.codeproject.com/Articles/95439/Get-ASP-NET-C-2-0-Website-Thumbnail-Screenshot).
In more details, on the web page that I'm going to capture there is a
youtube iframe and I need the preview of that video is captured on my
screenshot.
When I run the function on my computer(OS Windows 8) it works properly,
but when I run the function on the published project(on Windows Server
2012) the iframe on the screenshot is not captured(is blank).
I think that probabily the issue is related to something in IE10 on
Windows Server, since I use WebBrowser.
I tried to set the configuration of IE on the Server as they are in my
computer, and I tried also to install flash player on the server but it
doesn't work.
Does anyone have some suggestions? Thanks.
No comments:
Post a Comment