Forum Bugs

Security Exception in 64-bit ASP.NET on Windows Server 2008

apoco
On our Windows Server 2008 R2 server, we're getting this generic exception and stack trace:

[SecurityException: Request failed.]
Prince.ConvertString(String xmlInput, Stream pdfOutput) +0

The application is hosted in ASP.NET. On our Windows 7 and Windows Server 2008 (non-R2) servers, all 64-bit, things are working fine. Are there any known issues with running Prince on this platform with workarounds? I'm using the .NET library.
mikeday
Sounds like a permissions issue, where the .Net wrapper does not have permission to execute other processes. Can you check the server configurations for the working vs. non-working servers?
apoco
mikeday wrote:
Sounds like a permissions issue, where the .Net wrapper does not have permission to execute other processes. Can you check the server configurations for the working vs. non-working servers?


There was a configuration difference between the two servers. R2 must have different defaults. The server that worked had "Load User Profile" for the application pool set to True; the one that didn't had it set to False. After changing the broken one so it did load the user profile, Prince seems to be working. Thanks!