I have a .NET library executing as part of our website that renders HTML to image formats. It uses the IE rendering engine, and will happily run any javascript if present to do the rendering.
To clarify. The code is rendering the HTML onto the server. No client is involved.
The problem is we just moved the code to a new server, and javascript seems to be disabled.
I tried changing (briefly the Application Pools Process Model Identity from NetworkService to LocalSystem, and that worked fine.
Hence it must be a permissions problem.
Another clarification: Everything works fine ALWAYS except for the javascript. In otherwords as long as no JS is in the HTML, we can pass the URL to the IE rendering engine and get back a bitmap. If JS is in the HTML the HTML is rendered as if JS was disabled UNLESS we are the pool identity = LocalSystem.)
So my questions are this:
1) What is the specific permission I need to set to allow the IE rendering engine to execute javascript, inside the IIS application pool?
2) What is the best way to enable that in my application pool? Do I just somehow set it in NetworkService, or create a new identify (how is that done?)
Thanks!