各位老大,帮帮小弟我参照MSDN中的在特定页面用代码模拟方式,在xp环境下模拟成功,怎么在windows 2000 下失败,
不知道怎么办好,特来此求助,各位高手帮帮忙了

解决方案 »

  1.   

    what version of .NET are you using? note the small print inhttp://support.microsoft.com/?id=306158Note The identity of the process that impersonates a specific user on a thread must have the "Act as part of the operating system" privilege. By default, the Aspnet_wp.exe process runs under a computer account named ASPNET. However, this account does not have the required privileges to impersonate a specific user. You receive an error message if you try to impersonate a specific user. This information applies only to the .NET Framework 1.0. This privilege is not required for the .NET Framework 1.1.
      

  2.   

    .net 用2003
    系统是2000 专业版
      

  3.   

    思归大哥,其实我的问题是这样的:我在Web页面上打印,在web的服务器端有一个打印监控程序会记录打印的信息,现在的问题就是:打印池里的打印任务信息中的所有者名字(发送此打印任务的用户名称)默认为aspnet或IUSER_*,而我的目的是要求监控程序得到的是我在Web上用普通用户登陆后的名字,就想到了身份模拟,可惜一直失败,郁闷中,思归大哥帮我想想办法