Stockholm, Sweden provided for much of the setting of The Girl with the Dragon Tattoo .