R
Rokas Valantinas
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
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