I have a Sharepoint 2013 application that has multiple (3) ExecuteQueryAsync calls in 3 different functions.
Two of them are referring to the Project Server project context, and one is referring to the Sharepoint client context.
I managed to nest the two querys that are used with the project context, and they are working together without any problems.
The problem is, that before this could happen, I need to access a remote domain for some information and I have a crossDomainCall.
This crossDomainCall has an ExecuteQueryAsync to the Sharepoint Client Context,
It goes through it, but if I want to run the other two querys after that, those will give back this error message : Unexpected response from server. The status code of response is '404'. The status text of response is 'Not found'.
This is the crossDomainCall
It feels to me, that the second and third Async querys are not able to get the correct URL, after this one goes through.