Skip to content

Loading this assembly would produce a different grant set from other instances #4186

Open
@iskiselev

Description

@iskiselev

Bug Report

Use Asp.NET web appliction without setting LoaderOptimization.SingleDomain results in site error 500 with "Loading this assembly would produce a different grant set from other instances"

Symptom

Describe the bug
Most IIS web-applications for .Net Framework using Otel.AutoInstrumentation are non-functional without applying
LoaderOptimization.SingleDomain through registry settings.

Expected behavior
Web applications should continue to work without registry modifications

Additional context
Origanally reported in #3839, workaround (with registry change) suggested in #3996.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions