Where is the Vista IIS7 "master" configuration file stored?

In IIS7 for Vista, you can choose your computer and provide several options that you can use to customize your system. Where is this file located? There seems to be a large master.config file that stores all of my settings such as "Connection Strings" that are inherited in web pages.

Presumably it's a file named machine.config, but I don't change anything in IIS manager for changes in my machine.

+1


source to share


2 answers


If you're talking about generic ASP.NET configuration in machines, look in your .NET framework configuration directory for example. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG

- check your web.config and machine.config settings for the settings you configured.



(Note: this is a bit of an enlightened guess. Don't take it completely correct without testing it. Unfortunately, I can't do it myself at the moment ...)

+6


source


The "connection strings" seem to be in the web.config file

There may be multiple web.config files in a single web project (but not in the same directory), but here you are referencing the config system files , including:



  • windows\microsoft.net\framework\v2.0.50727\config\machine.config

    : Retains global defaults for .NET platform settings, including some of ASP.NET.
  • rootweb.config

    : same place with the rest of the settings.
+2


source







All Articles