Skip to content

IIS logs provider can't read file that is in use. #2260

@jhermsen

Description

@jhermsen

Describe the bug

IIS logs provider can't read file that is in use.
Error shown:
Error occured processing file c:\inetpub\logs\LogFiles\W3SVC1\u_ex250325.log. Reason: The process cannot access the file 'c:\inetpub\logs\LogFiles\W3SVC1\u_ex250325.log' because it is being used by another process.

ℹ Computer information

  • OS: Windows 11
  • Analogy Version .Net 9 version 8.0.0
  • Data Provider used IISLogsProvider

📝 Provide detailed reproduction steps

  1. Open log file of running IIS server

✔️ Expected result

See logged results

❌ Actual result

Error returned:
Error occured processing file c:\inetpub\logs\LogFiles\W3SVC1\u_ex250325.log. Reason: The process cannot access the file 'c:\inetpub\logs\LogFiles\W3SVC1\u_ex250325.log' because it is being used by another process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions