I've solved the problem. I just needed to delete and recreate the ActiveSync Virtual Directory. After that the iphone's and ipad's started syncing perfectly. :)
http://technet.microsoft.com/en-us/library/bb125170(EXCHG.80).aspxThanks for the help guys