Well you can run the program as dave rook mentioned,
According to your error
HRESULT: 0x89721200 it was occurred due to the following
About hresult HRESULT is a 32-bit value, divided into three different fields: a severity code, a facility code, and an error code. The severity code indicates whether the return value represents information, warning, or error. The facility code identifies the area of the system responsible for the error. The error code is a unique number that is assigned to represent the exception. Each exception is mapped to a distinct HRESULT. When managed code throws an exception, the runtime passes the HRESULT to the COM client. When unmanaged code returns an error, the HRESULT is converted to an exception, which is then thrown by the runtime.
To solve your problem try to find and reinstall mscorlib.dll file in your VS2010 and for more reference about your error code:
About your hresult error code
At last I like to clarify that the program written by you caused the error and the software is working fine.