Recently, I blogged about an issue with SQL Server 2005 tools. You might get the below error when using these tools:

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Input string was not in a correct format.

You can check my blog here.