How to solve System.TimeoutException: The operation has timed out.at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End().
It is workingfine in local machine ,but getting error in server.Increased aynctime also,but still same error
Thanks

Nilesh ShahRank #42 · 34.2K reputationPosted Jun 22, 2017, 7:18 AM EDT
Rajkiran SwainRank #165 · 14.4K reputationPosted Jun 22, 2017, 7:52 AM EDT
1. Check Azure Portal select your ServiceBus and go to register configuration
2. You need the Name and Key of existing Rule (here RootManageSharedAccessKey) or insert a new Rule. We created a new rule with no manage access.
3.1 In Code:
Replace the SharedSecretCredentials with SAS Tokenprovider and add it to the endpoint behaviors like before
TransportClientEndpointBehavior sas = new TransportClientEndpointBehavior();
sas.TokenProvider = TokenProvider.CreateSharedAccessSignatureTokenProvider("NAMEofRULE","KEYofRULE");
3.2 App.Config:
Simply change the tokenprovider line from
to
Satyaprakash SamantarayRank #101 · 21.1K reputationPosted Jul 3, 2017, 2:57 AM EDT
Abhilash J ARank #1,243 · 1.4K reputationPosted Jun 22, 2017, 8:09 AM EDT