How is your wireless network configured? Are you using WPA2/AES? Did you enter the SSID correctly and use the correct password? What actual error message did you get when you tried to connect to the network?
It helps if you provide your network configuration details, so we can properly diagnosis the problem.