Questions tagged [shared-config]
7 questions
2
votes
0 answers
Live Unit Testing "Unable to open configSource file" error
I have a Helper project H, with a config file that is to be used as a shared configSource file from other projects.
The code in file (SharedConnectionString.config):

Fábio
- 477
- 5
- 12
0
votes
0 answers
Why is IIS shared config ignoring "make Server unavailable" from the GUI Settings in Management and Monitoring
we have an NLB with two servers and a shared config. A web farm with two other servers is set up on both servers. If I use "make server unavailable gracefully" on one of the web farm servers via management and monitoring, this setting is not…

Shatterator
- 13
- 3
0
votes
0 answers
IIS Shared Configuration > HTTP Error 500.21
I'm trying to run my dotnet core app in IIS Clustered environment. It runs perfectly when shared configuration is disabled. But soon I enable shared configuration, the application fails to start, and gives error:
HTTP Error 500.21 - Internal Server…

Zeeshan
- 2,884
- 3
- 28
- 47
0
votes
0 answers
Updating a shared configuration file atomically (php)
[PHP 7 on Linux]
I'm trying to create a shared configuration file between several asynchronously running PHP scripts.
One script is the "Writer". It will know when new configuration data is available, and is responsible for writing this…

Ryan Griggs
- 2,457
- 2
- 35
- 58
0
votes
1 answer
IIS shared config on network drive - if network is down for a bit, IIS doesn't recover
We have several servers using shared IIS config stored on a network storage. After access to that storage is down for a few seconds (and then comes back), IIS isn't working until you do iisreset.
The problem seems to be that the local app pool…

PeterLi
- 71
- 5
0
votes
1 answer
Do I need to specify MachineKey for iis instances using shared configuration? And Why?
I am setting up iis webfarm using shared configuration following this tutorial:
http://www.iis.net/learn/manage/managing-your-configuration-settings/shared-configuration_264
In this article, it mentioned how to export iisConfigurationKey to import…

bigbearzhu
- 2,381
- 6
- 29
- 44
0
votes
1 answer
Where have my config settings gone?
After some long and complicated stories, I came upon code very similar to this, and have been using it fine for months. Yesterday I changed a great many things, and now this code no longer works.
public void OpenConfig(string configDir)
{
if…

ProfK
- 49,207
- 121
- 399
- 775