Getting the following error when clicking a link in an application, ‘Input string was not in a correct format’.Tried changing things around several times but no luck so this my last resort.
Heres the line of code that brings up the error
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Problem is
Request[UrlParameters.UrlParameterName.ComplianceActionRisk]is not of type int. So, instead of usingParse, useTryParsewhich will convert the value to int if its compatible otherwise default value-1will be used –