I'm getting this error while register user with activation link in c# what should i do??
You need to set
ServicePointManager.SecurityProtocol= SecurityProtocolType.Ssl3
Refer the below links for your reference.
Authentication failed because the remote party has closed the transport stream exception when getting a response from webservice
Authentication failed because the remote party has closed the transport stream
kalpesh says: You need to set 1 ServicePointManager.SecurityProtocol= SecurityProtocolType.Ssl3 Where i need to put that line in my web application project ..
Where i need to put that line in my web application project ..
UnsaShaikh says: Where i need to put that line in my web application project ..
You can add it before getting the HTTPResponse from request.
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.