views:

15

answers:

0

I just converted a block of code that was running fine, but a bit slowly, to using the Page.ExecuteRegisteredAsyncTasks() call to run the slow parts in a separate thread. See MSDN for more info on this.

There are various exceptions being thrown relating to invalid permissions and access denied errors. I have even tried running the converted function under a SPSecurity.RunWithElevatedPrivileges() call, but continue to receive errors.

Any ideas?