This, of course, leads to the fact that your version of the DLL is different from the others. There is no dll in this environment.
A few steps required to verify:
Cors DLL should be in your BIN [On Azure] directory
If there, then the version of the DLL deployed on the server and your local one should both be the same. [You can check the properties]
- If your version of the Cors DLL is higher on the Azure server, compare it with the local one, you can
<dependentAssembly> <assemblyIdentity name="System.Web.Cors" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="1.0.0.0-5.0.0.0" newVersion="5.0.0.1" /> </dependentAssembly>
Your new version may be your version of the DLL, available in the BIN directory.
source share