Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 21st, 2007, 12:24 PM
Registered User
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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,



Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating database & saving it to another file OnceANewbie VB Databases Basics 1 December 1st, 2008 06:58 AM
Help Needed: Updating & Saving Database OnceANewbie BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 0 November 30th, 2008 10:05 PM
Data updating in Table & reflecting in report anukagni Access 5 May 31st, 2006 03:57 AM
Case Select Statements & Updating the Database jackiew General .NET 1 April 11th, 2006 11:47 AM
Updating & Deleting Rows from a Repeater saturdave ASP.NET 1.0 and 1.1 Basics 4 February 19th, 2004 04:35 PM

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