p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   .NET Web Services (http://p2p.wrox.com/forumdisplay.php?f=102)
-   -   updating the codebase & bindingredirect in config (http://p2p.wrox.com/showthread.php?t=54377)

Gauls February 21st, 2007 12:24 PM

updating the codebase & bindingredirect in config

I have webservice application that uses some assemblies whoes version number keeps changing and are stored in some folder on the same machine as my webservice. Every Time the assembly version changes i need to change the binding redirect and code base in the web.config file.

EX :


<assemblyIdentity name="ABCD" publicKeyToken="Sometoken" culture="neutral" />

<bindingRedirect oldVersion="" newVersion="1.0.1445.38584" />

<codeBase version="1.0.1445.38584" href="file:///C:\Program Files\TPA\ABCD.dll" />


Updating the web.config file is done when a particular webmethod is called. This thing works in development time, because the version number in the config was same as the actual assembly, In production system this doesn't not work as the assembly version is different then config file and gives internal Error 500.

I tired restarting IIS and deleting the web service Application folder from

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET Files

Nothing worked :(

1. What happens onces the webmethod is called , the webservices loads the assemblies based on the config file?

2. Reinstalling the webservice seems the only current solution to update the config file. In what other way can i update the config file?

Many Thanks,



All times are GMT -4. The time now is 07:45 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.