将C:\WINNT\Microsoft.NET\Framework\v1.0.3705\CONFIG目录下更改machine.config文件中的<processModel 节userName="machine" 改成userName="system"

解决方案 »

  1.   

    在运行中输入:
    C:\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet_regiis.exe -i(这里的目录为系统目录)try!
      

  2.   

    Copy来的:
    第一种
    修改文件:C:\WINNT\Microsoft.NET\Framework\v1.0.3705\CONFIG\machine.config节点的
    修改前:<processModel .....userName="system" ......>
    修改后:<processModel .....userName="machine" ......>
    原来该节点的userName属性的值是system,你改成machine试一下。第二种
    1,项目属性-》调试中
    asp.net调试设为true
    2,另外web.config中要有debug=true
    3.Documents and Settings\myname\VSWebCache\WebApplicationName删除掉.
    如果不行可能是.net framework或vs.net的问题了
      

  3.   

    .net framework 1.1已解决该问题。去下载吧(你要是编程环境的话redistribute和SDK都需要下)。
      

  4.   

    To work around this problem, use one of the following methods: -----Create a weak account that has the correct permissions, and then configure the <processModel> section of the Machine.config file to use that account.-----Set the userName attribute to SYSTEM in the <processModel> section of the Machine.config file.-----Configure the <processModel> section of the Machine.config file to use an administrator account.NOTE: Allowing ASP.NET applications to run as SYSTEM or an administrator account has serious security implications. If you use either of these workarounds, code that is run in the Aspnet_wp.exe process will have access to the domain controller and the domain settings. Executable files that are started from the Aspnet_wp.exe process run in the same context and also have access to the domain controller.Therefore, Microsoft recommends that you use the first workaround. To use the first workaround, follow these steps: 
    1. Create a user account on the computer named ASPUSER, and then add this account to the Users group.NOTE: You can also use the ASPNET account that the .NET Framework created if you change the password on this account. You must know the password on this account because you add the password to the <processModel> section later in these steps.
    2. Grant the ASPUSER or the ASPNET account the Log on as a batch job user right. Make sure that this change appears in the Local Security Policy settings.NOTE: To grant the Log on as a batch job user right on this account, you may have to grant this user right in each of the following security policies (From the Control Panel/Administrative Tools): 
          Domain Controller Security Policy
          Domain Security Policy
          Local Security PolicyNOTE: You may have to reboot the server for these changes to take effect.
    3. Make sure that the ASPUSER or the ASPNET account has permission to access all of the necessary directories and files to start the Aspnet_wp.exe process and to serve the ASP.NET pages.4. Open the Machine.config file. The path to the file is: %Systemroot%\Microsoft.NET\Framework\v1.0.3705\CONFIG.
    5. In the <processModel> section of the Machine.config file, change the userName and the password attributes to the name and the password of the account that you created in step 1. For example:        userName="DomainName\ASPUSER" password="ASPUSERpassword"
    6. Save the changes to the Machine.config file.