简体   繁体   English

用于执行命令行解释器的IIS 7应用程序池配置

[英]IIS 7 Application Pool configuration for executing command line interpreter

I am facing a strange issue with my site in IIS 7 . 我的IIS 7网站面临一个奇怪的问题。 I have 10 sites with different sub-domains hosted on IIS 7. I am using .NET framework 3.5 and SQL Server 2008 R2 . 我在IIS 7上托管了10个具有不同子域的站点。我正在使用.NET framework 3.5SQL Server 2008 R2 Three sites I have configured on DefaultAppPool while for others I have created separate application pool for each and configured them with their specific. 我在DefaultAppPool配置了三个站点,而对于其他站点,我separate application pool for each站点创建了separate application pool for each并为其配置了特定的separate application pool for each

I allows user to upload video, after upload completes I used to hint it (a process to make bit rates of video equal for on-line streaming on android) using MP4BOX - a command line interpreter , with server side code. 我允许用户上传视频,上传完成后,我使用MP4BOX - a command line interpreter带有服务器端代码MP4BOX - a command line interpreter (a process to make bit rates of video equal for on-line streaming on android)hint(a process to make bit rates of video equal for on-line streaming on android)

What issue I am facing is while using DefaultAppPool the MP4BOX works fine but when I configured site to its specific appPool, MP4BOX stops working. 我面临的问题是在使用DefaultAppPoolMP4BOX可以正常工作,但是当我将站点配置为其特定的appPool, MP4BOX停止工作。 I have go through the settings but haven't find any issue. 我已经进行了settings但是没有发现任何问题。 Can anyone help me to overcome this issue. 谁能帮助我克服这个问题。

Awaiting for your valuable response. 等待您的宝贵回应。

Resolved it myself by assigning read/writes permission to the application pool to the directory . 我自己解决了此问题,方法是assigning read/writes permission to the application pool to the directory After lots of research I have found that it was happening due to read/write permission of this exe to the specific directory. 经过大量研究,我发现这是由于此exe对特定目录的读/写权限所致。 MP4BOX need to have read/write permission to create video file in the IIS directory. MP4BOX需要具有读写权限才能在IIS目录中创建视频文件。 So I have added application pool as a user to the specific directory to which mp4box was accessing for read write. 因此,我已将应用程序池作为用户添加到mp4box进行读写访问的特定目录中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM