Follow the steps to connect project professional 2007 to Project server 2007:
Open Project Professional.
Goto Tools -> Enterproze Options -> Microsoft Office project server Accounts
When clicked , following window is opened that shows the current accounts from which project professional is running
Next Add a new Account , and fill in the required description.
restart project professional and you will see in status bar that it is connected to project server.