I am lost in getting a use of a real config file while the user sees a
local one.

I tried this :
AppDomain.CurrentDomain.SetData("APP_CONFIG_FILE", "\\server\path")

unfortunately that will try to write data when in turn I'm trying to read
the data:
If AppName = "ChargeIt" Then
            ConnString = ConfigurationManager.ConnectionStrings(
"mycompany.mybrand.ChargeIt.My.MySettings.ConnectionString"
).ConnectionString

This throws an error that I already have connection string entity.

So how to I change the app.config to any file I want?

TIA


Stephen Russell
AutoZone Contractor
Desk 901.495-7916
Cell  901.246-0159

Memphis TN

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to