Share via


odbcLogging Element [IIS Settings Schema]

Note

For more information about the odbcLogging element, see the following topic on the Microsoft IIS.net Web site: ODBC Logging <odbcLogging>.

Configures Open Database Connectivity (ODBC) logging.

Syntax

Attributes and Elements

The following sections describe attributes, child elements, and parent elements for this section.

Attributes

Attribute

Description

dataSource

Optional string attribute.

Specifies the system DSN (data source name) for the database to which the log is written.

The default value is "InternetDb".

password

Optional string attribute.

Specifies the ODBC database password that you use when you write information to the database during event logging. By default, this value is encrypted.

The default value is "[enc:AesProvider::enc]".

tableName

Optional string attribute.

Specifies the name of the ODBC database table where Windows writes information during event logging.

The default value is "InternetLog".

userName

Optional string attribute.

Specifies the ODBC database user name that is used for writing information to the database during event logging.

The default value is "InternetAdmin".

Child Elements

None.

Parent Elements

Element

Description

configuration

Specifies the root element in every configuration file that is used by IIS 7.

system.webServer

Specifies the top-level section group (in ApplicationHost.config) in which this element is defined.

Remarks

For more information about the odbcLogging element, see the following topic on the Microsoft IIS.net Web site: ODBC Logging <odbcLogging>.

Element Information

Configuration locations

Machine.config

ApplicationHost.config

Root application Web.config

Application Web.config

Directory Web.config

Requirements

Microsoft Internet Information Services (IIS) version 7.0