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
Satyaprakash SamantarayPosted Jul 3, 2017, 6:57 AM
Abhilash J APosted Jun 22, 2017, 12:09 PM
Rajkiran SwainPosted Jun 22, 2017, 11:52 AM
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
Nilesh ShahPosted Jun 22, 2017, 11:18 AM