How to recognise and resolve .NET errors