This is because that vulnerability is patched. You can practice on Windows Server 2000
Before exploiting first find information related to that vulneability
msf> info exploit/windows/smb/ms03_26
and you will get information related that
Also when you set your exploit then use this command :-> "check"
It will tell you is vulnerability exist in victim or not