This is because that vulnerability is patched. You can practice on Windows Server 2000

Before exploiting, first find information related to that vulnerability

`msf> info exploit/windows/smb/ms03_26`

Also when you set your exploit then use the command `check`

It will tell you if the vulnerability exists in victim or not