Use this tag for questions about Machine.config, a configuration file used by various incarnations of the .NET Framework. Questions should also be tagged with the appropriate framework, for example [.net].
Questions tagged [machine.config]
121 questions
5
votes
1 answer
Getting 64 bit version of machine.config
Right now, I'm calling the following line
System.Configuration.Configuration cnf = ConfigurationManager.OpenMachineConfiguration();
the result is the following
cnf.FilePath == C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config
I…

Lareau
- 1,982
- 1
- 26
- 47
5
votes
1 answer
Writing to Machine.config using Powershell assistance required
Powershell and Machine.config help
I am very new to powershell and I need a quick hand if at all possible (I am sure this is a common sentence). I am writing a script that optimizes a server to become a webserver, I need to write to the…

Iggy Castillo
- 75
- 1
- 9
5
votes
3 answers
"When the site administrator has locked access to this section using from an inherited configuration file."
So I get this error when publishing my ASP.NET MVC application. It works fine locally:
" This happens when the site administrator has locked access to this
section using from an inherited
configuration file.
I…

Cleon
- 157
- 1
- 2
- 13
5
votes
0 answers
App_Code.dll is already loaded in another appdomain
I am running an ASP.NET 3.5 web application in developments. Development means that I need to modify App_Code fairly often. When I upload updated .cs files into App_Code, on the next page load, I get this error:
The assembly…

Tim Westover
- 327
- 1
- 14
5
votes
2 answers
Cannot find connection string for connection name 'ApplicationServerWorkflowInstanceStoreConnectionString' (machine config))
I registered a connection string named 'ApplicationServerWorkflowInstanceStoreConnectionString in machine config (both the 32bit and 64bit version of machine config). However, the application cannot sees it even though the IIS Manager sees it (in…

Lorem Ipsum
- 53
- 6
4
votes
1 answer
How do you modify the machine.config using Inno setup?
How do you modify the machine.config using Inno setup?
I have looked at the documentation and searched google and can't find anything so it makes me feel like I'm asking the wrong question or missing something obvious.
I'm guessing that if it is not…

Beth Lang
- 1,889
- 17
- 38
4
votes
1 answer
is system.net connectionManagement maxConnection per domain or shared when using wildcard address?
The documentation for the maxconnection configuration value in the system.net connectionManagement section of a config file is confusing me. When you use a wildcard in the address - is that limit per host or is that limit shared by all hosts (that…

Andrew M
- 9,149
- 6
- 44
- 63
4
votes
1 answer
Visual Studio - UserName/Password management for deployment/source control / source code sharing
I'd like a streamlined methodology behind being able to run locally (work is done on more than one machine), deploy, and commit to version control where the sensitive information up to and including (password, username, port(s), hostnames, database…

Maslow
- 18,464
- 20
- 106
- 193
4
votes
1 answer
Processmodel Configuration in web.config
To configure Process model for Asp.Net I have seen,
asp-net-processmodel-configuration-optimization
asp-net-processmodel-configuration
This does not give me clear information and im having a scenario-
i want to configure a custom processmodel for…

Rezoan
- 1,745
- 22
- 51
3
votes
1 answer
Unable to override crypto providers in Mono-2.10.8
I am unable to map my crypto provider to a name in the machine.config file. At first glance everything appears in order, am I overlooking something silly? I'm using Mono-2.10.8
…

reidhoch
- 39
- 5
3
votes
1 answer
ASP.Net Machine.Config Transformations
I am creating a strongly signed class library that contains an ASP.Net HttpModule and HttpHandler.
I have created a visual studio setup project for my library that installs the library in the GAC, however i want to add an assembly reference and the…

Doug
- 6,460
- 5
- 59
- 83
3
votes
1 answer
Setting validationKey at server vs. site vs. app level
Our production environment has three load-balanced servers. On each server, there are nine sites in IIS. In each site, there are between 1 and 15 different apps.
To maintain proper encryption/decryption across all three servers, the same…

mattsmith321
- 6,793
- 5
- 28
- 18
3
votes
4 answers
Why can't I add this to machine.config
I would like to add this section to my machine.config in exactly the same way many articles and microsoft are suggesting:
…

dexter
- 7,063
- 9
- 54
- 71
3
votes
1 answer
machineKey attributes in machine.config & web.config. Are they combined or overriden?
I have a machine.config with this configuration:
And a web.config with this attribute
…

X.Otano
- 2,079
- 1
- 22
- 40
3
votes
1 answer
After modifying machine.config VS crashes, also many components
I am just trying to add
section to the end of my machine.config local file so I test out a transaction that lasts for too long.
The…

Срба
- 463
- 3
- 17