[Solved] Unhandled exception when calling object

You need to change your constructor to look at location instead of userLocation (see below) in order to avoid this exception: public FSCServerLocator(string location) { if (string.IsNullOrWhiteSpace(location)) { throw new Exception(“No location included at initialization”); } //parameter filtering userLocation = location; } 2 solved Unhandled exception when calling object