I have several applications targeting the .NET4 framework. All fine, except just one which is driving me crazy! When I deploy it on any PC other my own it throws the error "The type initializer for '<MyModuleName>' threw an exception". Does anyone know anything about this problem?