By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,949 Members | 1,086 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,949 IT Pros & Developers. It's quick & easy.

CLR ignores <bindingRedirect> in Web.config.

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.