The issue is fixed after we have done two changes, remember that this was happening in Hoster server, it was working fine in my local machine First we add the following into the Custom trust <IPermission class="WebPermission" version="1" Unrestricted="true"/> I were...