怎么回事?在win2000下好好的,到了XP就不行了

解决方案 »

  1.   

    把虚拟目录的权限改成“脚本和可执行程序看看”
    或者把cmd.exe的安全属性里添加EveryOne试试
      

  2.   

    问题是,你调用这个CMD是去做什么操作呢?ASPNET用户的权限可不是很大啊。比如说想删除一些文件之类的可能就因为权限不足而出现这个问题了。
      

  3.   

    运行rar解压缩文件夹的说,我把<identity  impersonate="true" />给注掉了,现在cmd可以执行,但是
    rar命令行好像没起作用的说
      

  4.   

    With New Process
                        With .StartInfo
                            .UseShellExecute = False
                            .RedirectStandardInput = True
                            .RedirectStandardOutput = True
                            .RedirectStandardError = True
                            .CreateNoWindow = True
                            .FileName = "cmd.exe"
                        End With
                        .Start()
                        .StandardInput.WriteLine(strCmd)
                        .StandardInput.WriteLine("exit")
                        Do While Not .HasExited
                        Loop
                    End With
    start的时候异常。现在异常的问题解决了,可是rar好像没调用成功的样子不知道为什么?
      

  5.   

    郁闷,改了<identity  impersonate="true" />以后SQL Server不能访问了,只好又改回来
    白弄了半天