The following screenshot displays the error.
Figure 1: Error
This error occurs due to the mismatching of DLL version referred in your sample, when the assemblies referred in the application and the .NET Framework version of the application are different.
To resolve this issue, you need to refer the assembly DLL version that matches with the framework version used in the application.
And also, all the assemblies referred inside the web.config file should match your .NET framework version.
When you are using 22.214.171.124 and the frame work version is 4.6, then the DLL version should be 13.4460.0.53. Check the bin folder and refer the following table for DLL reference.
Table 1: DLL Reference
Follow the given steps:
When the assemblies are referred from GAC reference, follow the provided steps.
Figure 2: Properties tab
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:||Product Version:|
|3355||01/22/2015||02/04/2016||ASP.NET Web Forms||General||126.96.36.199|
or the page will be automatically redirected to sign-in page in 10 seconds.