在活动目录(Activity Directory)里找这个用户,然后设置合适的权限

解决方案 »

  1.   

    没有用过Windows 2000 Advanced Server,应该是有这个用户的。
    如果没有,你可以添加Everyone相应的权限。
      

  2.   

    在活动目录(Activity Directory)里就是没有{MACHINE}\ASPNET这个用户。
      

  3.   

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/emab-rm.asp
      

  4.   


    1:创建EventLogSourceInstaller解决方案,以及同名应用
    2:在项目应用中创建AmmicEventLogInstaller.cs文件,内容附上
    3:Build上述应用,在bin文件夹下得到EventLogSourceInstaller.dll创建得到上述的dll之后,就可以通过该dll自动创建ASPNET帐户
    4:运行start\programs\vs.net\vs.net tools\vs.net command prompt,执行installUtil EventLogSourceInstaller.dll
    5:在控制面板\管理工具\计算机管理\用户管理 下会看到ASPNET用户帐户具体可以参看
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/emab-rm.asp
    http://expert.csdn.net/Expert/topic/2260/2260855.xml?temp=1.427859E-02
    AmmicEventLogInstaller.cs内容
    -------------------------------------------
    using System;
    using System.Diagnostics;
    using System.ComponentModel;
    using System.Configuration.Install;namespace EventLogSourceInstaller 
    {
    [RunInstaller(true)]
    public class AmmicEventLogInstaller : Installer
    {
    private EventLogInstaller ammicEventLogInstaller; public AmmicEventLogInstaller()
    {
    //Create Instance of EventLogInstaller
    ammicEventLogInstaller = new EventLogInstaller(); // Set the Source of Event Log, to be created.
    ammicEventLogInstaller.Source = "ASPNET"; // Set the Log that source is created in
    ammicEventLogInstaller.Log = "Application";

    // Add ammicEventLogInstaller to the Installers Collection.
    Installers.Add(ammicEventLogInstaller);
    }
    }
    }
      

  5.   

    或者告诉我mail,我将EventLogSourceInstaller.dll发给你
      

  6.   

    to:arding123(阿拉丁) 我的Email:[email protected]发送给我