Police believe they prevented a rave in Devon on Saturday night.
About 30 people had turned up at Sowton near Exeter by mid-day on Saturday afternoon to what organisers said was a 30th birthday party.
But local people, fearing a rave was going to take place after previous events with loud music at the same premises, alerted the police.
Organisers have been told to get licences from the local authority before they organise further events.
The event was closed down under section 63 of the Criminal justice and Public Order Act 1994.