Skip to content

0x80131045 Strong name signature could not be verified after updating to 7.0.0 #567

Closed
@cancakar35

Description

@cancakar35

Please clearly describe what the SQL Sink is doing incorrectly:

After updating Serilog.Sink.MSSqlServer 6.6.0 to 7.0.0 ASP.NET MVC application crashs with 0x80131045 error code.

Please clearly describe the expected behavior:

Not getting error.

List the names and versions of all Serilog packages used in the project:

  • Serilog: Serilog 4.0.0
  • Serilog.Sinks.MSSqlServer: 7.0.0

Target framework and operating system:

.NET Framework 4.8

OS: Windows 10

Provide a simple reproduction of your Serilog configuration code:

Log.Logger = new LoggerConfiguration()
.MinimumLevel.Information()
.WriteTo.MSSqlServer(ConfigurationManager.ConnectionStrings["logConn"].ConnectionString,
sinkOptions: new Serilog.Sinks.MSSqlServer.MSSqlServerSinkOptions { TableName = "Logs", AutoCreateSqlTable = true, AutoCreateSqlDatabase = true })
.CreateLogger();

Provide a simple reproduction of your application code:

https://github.com/cancakar35/serilog-mssql-error-reproduce

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions