IIS - everytime I start up the website Event log shows this error

Warning: Could not create stdoutLogFile \?%home%\LogFiles\stdout_4020_201992312543.log, ErrorCode = -2147024893.

- System

|||- Provider

[ Name ] IIS AspNetCore Module

|||- EventID 1004

Any suggestions
UD 2.5.3 and 2.6

permissions in the appPool all ok? as in does any user have access to %home% ? I know I had to fiddle a bit with sharing and permissions when I first configured my iis…does that dashboard load ok? Just the fact it cannot create a log file in the given destination?

Unless there’s something to recognize %home% behind the scene, this is not a valid variable.
Go in your web.config then change the stdoutLogFile for a valid Windows path (e.g. c:\Path_To\logs).

Alternatively, you could set stdoutLogEnabled to false if you don’t want the log output.

<aspNetCore processPath=".\net472\universaldashboard.server.exe" arguments="" stdoutLogEnabled="true" stdoutLogFile="\\?\%home%\LogFiles\stdout" forwardWindowsAuthToken="false" />

1 Like

Yep dashboard runs fine, its just an annoying warning in the event log for an OCD type guy :slight_smile:

Thanks, was trying to figure out where it came from.