i am using below code to play sound

system.media.systemsounds.Beep.play();  // working fine on local pc

but from server its not working.