Javascript does not work on IIS
        Posted  
        
            by Cat Mitch
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Cat Mitch
        
        
        
        Published on 2010-05-10T15:01:06Z
        Indexed on 
            2010/05/10
            15:04 UTC
        
        
        Read the original article
        Hit count: 348
        
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.
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.
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!
© Stack Overflow or respective owner