为什么不在ms server server和iis6上运行?

时间:2014-06-18 05:54:28

标签: c# asp.net iis-6 windows-server-2003

我试图在ms server 2003和iis 6上运行进程,但它没有用。

Process _process = new Process();
_process.StartInfo.FileName = Server.MapPath("~/Content/vtourPolygon/krpanotools/kmakemultires.exe");
_process.StartInfo.UseShellExecute = true;
_process.StartInfo.CreateNoWindow = true;

string templatePath = Server.MapPath("~/Content/vtourPolygon/krpanotools/templates/normal.config");
string imagePath = Server.MapPath("~/Content/vtourPolygon/image.jpg");
_process.StartInfo.Arguments = string.Format("krpanotools makepano -config={0} {1}", templatePath, imagePath);
_process.Start();
_process.WaitForExit();

问题是什么

0 个答案:

没有答案