Before you can upgrade to version 4 you first have to upgrade your 3.6 installation to SP3. This is the minimum required service pack for an upgrade scenario from 3.6 to 4.0. Also check this KB article
http://www.blackberry.com/knowledgec...65854&vernum=0