What exaclty do you mean by "connected to the server"? Did you join the laptop to the domain? Or just connected to a share on the server or what?
Do you have an IT department at work? There may be security policies in place that prevent corporate computers from connecting. Our laptops will not connect to secure wireless networks unless they are properly setup to do so with sertificates, encryption and anti-virus software all working properly. It may be your IT department setup similar restrictions. You should also make sure that you are getting the correct IP addresses from the wifi networks and that your proxy in the web browser is turned off.