Articles in this section

Unable to start .NET application on Plesk with error 500.30: The located assembly's manifest definition does not match the assembly reference. (0x80131040)

Plesk for Windows Plesk for Linux kb: technical

Symptoms

  • Application running on Plesk hosted domain fails to start or handle requests with error 500 or 500.30.

  • It is not possible to start .NET application manually, errors like below are provided:

    dotnet %plesk_vhosts%\example.com\httpdocs\example-app.dll
    Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=a1b2c3d4f51234567'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
    File name: 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=abcdef12345678'

  • Application example-app.deps.json file contains references to other version of the package.

  • .dll files in the application directory have different version than the one specified in example-app.deps.json

Cause

Dependency file inconsistency or wrong version of the files.

Resolution

Rebuild application and install correct dependencies. Consider contacting with the application developer to apply this.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.