473,499 Members | 1,589 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

App.Config cached for DLL called by ASP.Net?

I've been trying to figure out an issue that's happened twice when
deploying changes to configuration file for a .Net DLL used by an
ASP.Net 2.0 Web Service. We deploy to servers using RANT and portions
of the config files that could be different between servers are
represented by tokens that are filled in as the files are deployed to
each server.

The relevant version numbers are: Windows 2000 Server w/latest service
packs, ASP.Net 2.0 Web Service, Code Library/DLL written in Visual
Basic.Net 2005.

The symptoms are that we change the token, redeploy the file, observe
that the file is changed on the server, but don't see the change
reflected in the DLL's behaviour when invoked by the Web Service.

I've tried redeploying all of the files, stopping/starting IIS, and
editing the ASMX and VB files in the Web Service to force recompiles,
but the changes to the DLL's App.CONFIG don't appear to be forthcoming.

No doubt there is a simple, elegant answer that I'm blindly
overlooking...

Thx,

Gilbert Marlowe

Dec 20 '06 #1
1 2386
try modifying the date modified on the web.config file to force iis to
reload its settings ..
--
With Regards
Shailen Sukul
..Net Architect
(MCPD: Ent Apps, MCSD.Net MCSD MCAD)
Ashlen Consulting Services
http://www.ashlen.net.au
"CrazyOnYou" <Cr******@gmail.comwrote in message
news:11*********************@73g2000cwn.googlegrou ps.com...
I've been trying to figure out an issue that's happened twice when
deploying changes to configuration file for a .Net DLL used by an
ASP.Net 2.0 Web Service. We deploy to servers using RANT and portions
of the config files that could be different between servers are
represented by tokens that are filled in as the files are deployed to
each server.

The relevant version numbers are: Windows 2000 Server w/latest service
packs, ASP.Net 2.0 Web Service, Code Library/DLL written in Visual
Basic.Net 2005.

The symptoms are that we change the token, redeploy the file, observe
that the file is changed on the server, but don't see the change
reflected in the DLL's behaviour when invoked by the Web Service.

I've tried redeploying all of the files, stopping/starting IIS, and
editing the ASMX and VB files in the Web Service to force recompiles,
but the changes to the DLL's App.CONFIG don't appear to be forthcoming.

No doubt there is a simple, elegant answer that I'm blindly
overlooking...

Thx,

Gilbert Marlowe

Dec 20 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
6494
by: Dan Olson | last post by:
My question is not about how to update an application's config file during run-time, but how to invalidate the cached copy so that if a change to the config file is made, the application can use the...
16
4163
by: DraguVaso | last post by:
Hi, I have a Windows Service running (made in VB.NET), and wanted to be able to change from time to time some parameters by changing them in the App.config. But it seems that the application...
4
1202
by: Holly Li | last post by:
Hi, I have an aspx page that has an image button on it. The image url of this button is another aspx page that output an image. <asp:imagebutton id="ibtnMap" runat="server"...
3
1704
by: Mads Brydegaard | last post by:
Hi, I have created a custom Config handler for reading a custom config section in my .config file(s) It works very well! I have placed a web.config in my root directory and then I use sub...
1
2422
by: Jay Hilyard | last post by:
Hi all, I was playing with the new ConfigurationManager class in the Feb CTP drop of VS 2005 and I noticed that if you make changes to the configuration inside of an ASP.NET page, those changes...
17
3221
by: Fred Nelson | last post by:
Hi: I have written several web applications that obtain their connection strings from the web.config file. This is very easy to use and it makes it easy to move an app from development into...
4
1228
by: John Bailo | last post by:
What's the cost of using a web.config key in a web method? Is the value cached at start up? Or at first run? Or read on each access? Is web.config always "read off the disk" or can the...
6
1413
by: NickP | last post by:
Hi there, I am implementing a simple "/U" command line argument for a .NET application that instructs the application to delete the following folders... ...
0
2543
by: Gauls | last post by:
Hi, 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...
5
7807
by: mmcd79 | last post by:
I built a VB.net application that makes use of a machine level DB connection string setting, and a user level starting location setting. The machine level setting and the default user based...
0
7132
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7009
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7390
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
3103
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3094
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
302
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.