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.


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:

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

Assembly version was loaded instead of (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.

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.