BASYS2 - Verilog: how to properly edit ucf file?
Go to project->Design Properties and under Project Settings make sure that everything is configured correctly for the BASYS2. Make sure you have the correct family and device selected.

I've attached an image which I believe has the correct settings for your board. Check to make sure yours match!