进程启动在iis中不起作用我想打开文件位置路径 [英] Process start is not working in iis i want to open file location path

查看:52
本文介绍了进程启动在iis中不起作用我想打开文件位置路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  Dim  proProcess  As 处理
Dim inStartInfo As ProcessStartInfo
inStartInfo。 WindowStyle = ProcessWindowStyle.Normal
' inStartInfo.FileName = Server.MapPath(Docs)& \& fileName5
inStartInfo.FileName = C:\inetpub
inStartInfo.Arguments = String .Empty
proProcess = Process.Start(inStartInfo)





以上我在我的asp项目中写的。
源代码中的
它正在工作,但在iis中它无法工作..



在iis应用程序池默认池中..进程模型

在标识列我对本地系统做了



当添加虚拟目录我添加了连接,因为我添加了一个用户,即系统用户ID和pwd,但仍然所有这些都没有工作..

任何soulution

解决方案

< blockquote>是的,它是。



但是......它正在服务器上工作,而不是客户端。所有VB代码都在服务器上执行,因此Process.Start调用在服务器上打开一个新窗口,客户端无法看到它。



你不能在客户端上打开一个窗口,查看客户端或服务器的文件树。


谢谢你的回复

我可能知道如何我可以解决这个..


Dim proProcess As Process
      Dim inStartInfo As New ProcessStartInfo
      inStartInfo.WindowStyle = ProcessWindowStyle.Normal
      'inStartInfo.FileName = Server.MapPath("Docs") & "\" & fileName5
      inStartInfo.FileName = "C:\inetpub"
      inStartInfo.Arguments = String.Empty
      proProcess = Process.Start(inStartInfo)



the above i had written in my asp project.
in source code it is working but in iis it is not working..

in iis application pool default pool.. process model
at identity column i made to local system
and
while adding virtual directory i added connect as i added one user i.e system userid and pwd but still all so not working..
any soulution

解决方案

Yes, it is.

But...it is working on the server, not the client. All VB code is executed on the server, so the Process.Start call opens a new window on the server, where the client can't see it.

You cannot open a window on the client to view the file tree, either of the client or of the server.


hi, thanks for your reply
may i know how can i solve this one..


这篇关于进程启动在iis中不起作用我想打开文件位置路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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