When I run a report via the webapi against a particular webserver, it just gets to where it's loading /api/Reports/clients/123/instances/documents/123/info indefinitely. It returns a status code of 202 Accepted, content has documentReady: false. No error or anything, it just does this indefinitely forever.
I'm using the reporting services webapi to run reports with the mvc framework. To do that I have a class which implements IReportResolver, which instantiates a InstanceReportSource and returns that in the Resolve method. I create these InstanceReportSource instances programmatically else where in the same code base, and they work fine in those instances (without the webapi).
I have a nearly identical code base with the exact same reporting implementation on another web server (Windows Server 2012, IIS 7), and there it works fine. It also works fine when I run it in Visual Studio. The environment where it does not work fine is Windows Server 2008 R2, IIS version 6.1. I am curious if upgrading the OS/IIS would fix it, but I can't do that at customer sites where this will be deployed to necessarily.
I did find originally when I ran it, it'd crash the application pool. Seemed to be a permission thing because i'm using the TEMP environment variable for file storage, but switching which account the application pool was under fixed it so it wouldn't crash, but this action happens instead.
Both webservers are setup nearly identical as far as I can tell, considering they are different versions. Unsure of where to look, if there's some underlying error or something else to be looking at. Any help is appreciated.
Any solution?