dbruzzone79
asked on
Problem with the c# System.Media.SoundPlayer on a web host
i have an asp.net (c#) web app that uses the Syste.Media.SoundPlayer class. i have no problems playing sounds on my local machine but when i deploy the exact same code on my dev server the sound does not play (also, i get the same result on production).
what makes this situation more confusing is that there is no error message. i have tried using .wav files and the system sounds with no success.
any ideas as to why this is happening? thanks
what makes this situation more confusing is that there is no error message. i have tried using .wav files and the system sounds with no success.
any ideas as to why this is happening? thanks
code-behind is executed on the server, not on the client. It works locally because your machine is the server. It is likely playing the sound on the server.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ahhhh, you are right dstanley9. i will research silverlight and see if there is a reasonable solution.
No objection here:)
Gary
Gary