Remove as much material from the services you can using either a spoon or a dull knife. Do not scrub the area, as this can damage carpet fibers.
Fill a plastic sandwich bag halfway with ice cubes, and place the bag directly on the sticky candy stain. Leave the bag to sit for about 10 minutes. This should harden the candy, so it can be removed by gently scraping. Once the bulk of the material is gone, vacuum the area to remove smaller pieces.
To remove any sugar that is left behind, make a solution of 1 cup warm water and 1 teaspoon dish soap. Gently sponge the area then blot dry with a clean towel.