Do you know this error message? Do you know how to solve the it?
What I am doing: I am trying to use codeBase with http:// href in web.config of simple asp.net application to force use of specific assembly.
Sample of the config:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="ReferencedAssembly"
publicKeyToken="89385387c078b157"
culture="neutral" />
<codeBase version="5.0.0.0" href="http://localhost/assembly/ReferencedAssembly.dll"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
Note, that for console application, the <codeBase version="5.0.0.0" href="http://localhost/assembly/ReferencedAssembly.dll"/> works fine.

1 answers
This post was imported from csharpfriends, if you have a similiar question please ask it again.
All previous members have been migrated, hope you enjoy the new platform!