当我尝试连接到 Windows-XP 上的 WebService 时出现错误

当我尝试连接到 Windows-XP 上的 WebService 时出现错误

当我尝试连接到我的 WebService 时,我得到了以下信息:

Server Application Unavailable 
The web application you are attempting to access on this web server is currently unavailable.
Please hit the "Refresh" button in your web browser to retry your request. 

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur. 

日志如下:

aspnet_wp.exe could not be launched because the username and/or password supplied
in the processModel section of the config file are invalid.

和这个:

aspnet_wp.exe could not be started. the error code for the failure is
80004005. this error can be caused when the worker process account
has insufficient rights to read the .NET Framework files.
please ensure that the .NET Framework is correctly installed and that the ACLs on the
installation directory allow access to the configured account.

可能存在什么问题?

答案1

微软官方对此做出了如下回应:修复:ASP.NET 无法与域控制器上的默认 ASPNET 帐户配合使用它为您的问题提供了几种解决方法。


但我会看看脚踏实地地解决错误。

步骤Setting the userName attribute to SYSTEM in the <processModel> section of the Machine.config file

  • 找到 Machine.config,它可能位于以下位置:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config
  • 现在将 ProcessModel 条目更改为:<processModel userName=”SYSTEM”/>
  • 重新启动 IIS 使用Start -> Run -> IISRESET

相关内容