Application Insights not tracking sql queries

后端 未结 3 1426
无人及你
无人及你 2020-12-15 01:36

I\'m trying to configure my own environment to send data to App Insight with Status Monitor and works fine except sql queries.

I have one environment on Azure VM wit

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-15 02:02

    I finally solved this problem.

    I grant modify access to IIS_IUSRS group for these paths:

    • %WINDIR%\Temp
    • %WINDIR%\System32\config\systemprofile\AppData\Local

    Then, Application Insights started to record SQL queries.

    You also can do this via the command line:

    • icacls %WINDIR%\Temp /t /c /grant IIS_IUSRS:(OI)(CI)M
    • icacls %WINDIR%\System32\config\systemprofile\AppData\Local /t /c /grant IIS_IUSRS:(OI)(CI)M

提交回复
热议问题