Chr*_*ber 9 c# asp.net iis asp.net-core
我无法再使用ASP.NET RC1和HttpPlatformHandler创建日志文件.
这是事件日志中的警告:
The description for Event ID 1004 from source HttpPlatformHandler cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Warning: Could not create stdoutLogFile , ErrorCode = -2147024843.
Run Code Online (Sandbox Code Playgroud)
相关软件版本:
我已经为stdoutLogFile参数尝试了各种值.我正在使用http://www.iis.net/learn/extensions/httpplatformhandler/httpplatformhandler-configuration-reference中的(差)文档.
我试过了:
web.config中:
<configuration>
<system.webServer>
<handlers>
<add name="httpplatformhandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" />
</handlers>
<httpPlatform processPath="..\approot\prod.cmd" arguments="" stdoutLogEnabled="true" stdoutLogFile="\\?c:\temp\wtlogs\" startupTimeLimit="3600" forwardWindowsAuthToken="false"></httpPlatform>
</system.webServer>
</configuration>
Run Code Online (Sandbox Code Playgroud)
应用程序池是:
| 归档时间: |
|
| 查看次数: |
5568 次 |
| 最近记录: |