I am working with webservice in C# and I am unable to run the webservice file.
Eventhough the target assemby is set to 4.5.1 I am unable to solve the error.
Could not load file or assembly 'System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The module was expected to contain an assembly manifest.
Below is the configuration:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.5.1" />
<httpRuntime targetFramework="4.5.1" />
</system.web>
</configuration>
Below are the images displaying error message and Stack trace: