2
Answers

Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.

Vijay Yadav

Vijay Yadav

13y
5.1k
1
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll

Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.

I tried the below solution:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <startup useLegacyV2RuntimeActivationPolicy="true">
  <supportedRuntime version="v4.0"/>
  </startup>
</configuration>


It is working fine for Xp3 but not for windows 7. Any suggestions.


Answers (2)
0
Jignesh Trivedi

Jignesh Trivedi

NA 61k 14.2m 12y
hi,

Authentication in WCF is more or less same as authentication asp.net or web service.

please refer,

http://msdn.microsoft.com/en-us/library/bb398990.aspx
http://www.codeproject.com/Articles/36289/8-steps-to-enable-windows-authentication-on-WCF-Bao
hope this help.