Fix mantis issue 4159: Microsoft .NET Framework exception window pop up when click dataspacesync icon on taskbar to correct user credentials.