my web application works fine on localhost, but when I publish it on Azure, I get the following error:
Failed to load file or assembly "System.IdentityModel.Tokens.Jwt" or one of its dependencies. The installed assembly manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
It works fine on the local host.
I am using 4.5 framework and it is also defined in web.config file. I tried reinstalling it in nuget manager, but I get
The package 'System.IdentityModel.Tokens.Jwt.4.0.2.206221351' already exists in project 'project1'
I also cannot find this assembly in the links folder. This is the first time I have finished this type of problem.
What will you advice me?
Regards, Sandy
source
share