469,623 Members | 911 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,623 developers. It's quick & easy.

CLR ignores <bindingRedirect> in Web.config.

Hi,

After deploying ASP.NET webservices to clients testing environment, some
problems occured with assembly versioning. Exception log showed that CLR
ignores <bindingRedirect> tag and it's contents in Web.config file, which
worked fine on our development environment:

<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="MyAssemblyName" publicKeyToken="67bed195da6662dc"
/>
<bindingRedirect oldVersion="0.0.0.0-9.9.9.9" newVersion="2.1.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>

Assembly version 2.0.0.0 was loaded instead of 2.1.0.0 (Both versions are
installed to GAC).
Moving this code to Aspnet.config file, eliminates the problem, but this is
not the solution.
Win 2k and Framework v1.0.3705 installed on both computers, security
settings are also the same.
I have no idea how I can solve this problem. If any one can give me some
suggestions I would greatly appreciate it.

Thanks,
Rokas
Nov 18 '05 #1
0 1440

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.