North Yorkshire Council is warning people and businesses not to agree to work from tradespeople who knock on doors uninvited.