What network are you trying to connect to? Eduroam or an other company network? Did you set it up correctly? WPA2 enterprise requires some more configuration than just a simple password.
Often, there are configuration apps to handle that for you. I also struggled a couple of times setting it up manually
Anyway a more detailed error report/description would be helpful. As well as a log.