Gathering Fusion logs from a ASP.Net app hosten in Cloud service (classic)

Anders Bergvit 21 Reputation points
2020-10-21T10:11:44.553+00:00

Hi,

After updating several Nuget packages in my application I get assembly loading errors that I wanted to debug using the Fusion logs.

For some reason the loading errors dose not occur when running on my dev machine, but only when running in the Azure Cloud service (classic).

In order to debug the assembly loading errors in the Azure instance, I remoted into the instance and did the registry edits to enable Fusion logs.

Logs start showing up for other application, but not the ASP.Net app.

Is there some other way to access the Fusion logs when running in Azure or perhaps a totally different way to debug assembly loading errors?

Kind regards

Anders Bergvit

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
668 questions
{count} votes

Accepted answer
  1. vipullag-MSFT 25,611 Reputation points
    2020-10-23T04:46:17.777+00:00

    @Anders Bergvit

    It might be an issue with the IIS worker process (w3wp.exe) account (network service) not having permissions to write to the fusion logs folder.
    This document has instructions to enable fusion logging but you probably already have done this, just need to make sure the permissions are configured on the folder.

    0 comments No comments

0 additional answers

Sort by: Most helpful