在IIS中托管后,process.start()无法正常工作 [英] process.start() not working after hosting in IIS

查看:92
本文介绍了在IIS中托管后,process.start()无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请有人帮我启动本地exe

解决方案

http://stackoverflow.com/questions/9090904/process-start-is-not-working-after-hosting-asp -net-web-application-in-iis [ ^ ]


我不认为,你可以在客户端启动一个进程使用IIS.Becoz上托管的网站的机器你的网站不知道你的系统进程。

你应该创建activex控件来使用Process.Start()。


< blockquote>为了允许您的桌面应用程序通过IIS运行,您必须在IIS Admin Service中启用设置。



启用IIS Admin Service进行交互桌面



要配置它,请按照以下步骤操作。



a。打开控制面板并按照下列步骤操作:对于Windows NT:单击服务。对于Windows 2000,Windows XP和.NET Server:单击管理工具,然后单击服务。



b。双击IIS Admin Service。



c。在登录选项卡上,选中允许服务与桌面交互复选框。请记住将IIS Admin Service作为本地系统运行。



d。停止并重新启动IIS Admin服务。



希望它能为您提供帮助。


Please some one help me start the local exe

解决方案

http://stackoverflow.com/questions/9090904/process-start-is-not-working-after-hosting-asp-net-web-application-in-iis[^]


I do'nt think,you can start a process on client machine using website that is hosted on IIS.Becoz your site does not know about your system processes.
you should create activex control to use Process.Start().


In order to allow your desktop application to run through IIS you have to enable setting in "IIS Admin Service".

Enable IIS Admin Service to interact with desktop

To configure this, follow this steps.

a. Open Control Panel and follow these steps: For Windows NT: click Services. For Windows 2000, Windows XP, and .NET Server: click Administrative Tools, and then click Services.

b. Double-click IIS Admin Service.

c. On the Log On tab, select the Allow Service to Interact with Desktop check box. Remember to run IIS Admin Service as a local system.

d. Stop and restart the IIS Admin Service.

Hope it will help you.


这篇关于在IIS中托管后,process.start()无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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