从ASP.NET中的目录播放音频文件 [英] Playing audio file from directory in ASP.NET

查看:72
本文介绍了从ASP.NET中的目录播放音频文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有Gridview,当我点击播放它将播放音频文件它将从数据库获取目录并通过打开Windows媒体播放器播放音频它在视觉工作室正常工作我正在使用系统.Diagnostics.Process在我的代码中。我在IIS中托管应用程序,操作系统是Windows 7,当我尝试播放它没有打开Windows媒体播放器而不播放音频文件时。



我尝试了什么:



我在互联网上看到了一些建议,我需要授予IIS管理服务与桌面应用程序交互的权限但我没有在Services.msc中看到任何IIS管理服务。



任何人都可以建议我

Hi,
I have Gridview when i click play it will play audio file it will get directory from database and play the audio by opening windows media player it working fine in visual studio i am using System.Diagnostics.Process in my code.I hosted application in IIS where OS is Windows 7 when i try to play its not opening windows media player and not playing audio file.

What I have tried:

I had seen suggestions in Internet where i need to give permission to IIS admin Service to interact with desktop applications but i hadn't seen any IIS admin Service in Services.msc.

Any one can suggest me

推荐答案

Google搜索中有许多答案: asp.net播放音频文件 - Google搜索 [ ^ ]
There are a number of answer for this in Google Search: asp.net play audio file - Google Search[^]


这篇关于从ASP.NET中的目录播放音频文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆