c# - Authentication.asmx gives error - Sharepoint 2010 -


i have added reference authentication.asmx web service of sharepoint fba site. have below code:

 authentication auth = new authentication();             loginresult lresult = auth.login("******", "******"); 

the login method throws exception shown below:

system.web.services.protocols.soapexception: server unable process request. ---> system.servicemodel.faultexception`1[system.servicemodel.exceptiondetail]: not retrieve iis settings. parameter name: context @ microsoft.identitymodel.protocols.wstrust.wstrustchannel.readresponse(message response) @ microsoft.identitymodel.protocols.wstrust.wstrustchannel.issue(requestsecuritytoken rst, requestsecuritytokenresponse& rstr) @ microsoft.identitymodel.protocols.wstrust.wstrustchannel.issue(requestsecuritytoken rst) @ microsoft.sharepoint.spsecuritycontext.securitytokenforcontext(uri context, boolean bearertoken, securitytoken onbehalfof, securitytoken actas, securitytoken delegateto, sprequestsecuritytokenproperties properties) @ microsoft.sharepoint.spsecuritycontext.securitytokenforformsauthentication(uri context, string membershipprovidername, string roleprovidername, string username, string password, spformsauthenticationoption options) @ microsoft.sharepoint.identitymodel.spclaimsutility.authenticateformsuser(uri context, string username, string password) @ microsoft.sharepoint.soapserver.authentication.login(string username, string password)

i using sql membership provider setting fba.


Comments

Popular posts from this blog

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -