I have an MVC site hosted on Azure and a SharePoint App on Office 365.
This Office App open the MVC Site that provide a button to make the provisioning.
When I start the provisioning the Mvc Controller is called and the provisioning is working and I see that the browser is waiting for the response.
After a lot of time the browser return a 500 error without message but the provisioning is still working because I have put a breakpoint on the final code of the controller.
So it seems that the provisioning went wrong, but it is still working.
I try to put this on the MVC controller
HttpContext.Server.ScriptTimeout = 900;
without any success.
How can I manage with this problem ?