Thursday, June 10, 2021

Error: Specified cast is not valid. Please correct before proceeding.(You might rename the current web.config and add a new one).

 This is a strange error with apparantly no reason. Closing and reopening visual studio resolves it.

No comments:

c# httpclient The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch

 If we get this error while trying to get http reponse using HttpClient object, it could mean that certificate validation fails for the remo...