Getting exception "input string was not in correct format".

Sometimes when i run my application on the browser, i am getting an exception as "input string was not in correct format". Can someone please help in finding what is the cause of this exception and how to resolve this.


Nishant Pareek

Hi Nishant ,

may be you are passing input variable in action or use in action if string is text data type may be dose not content proper string if this issue occure.

can you provide some screen shot of logic so we can see and find actual problem.


Rahul Sahu

Hi Nishant,

You should check in service center the error log in the monitor tab. There more details can be found what part of your application generated the error.

Knowing where the error happens, will help you make the proper change.