Rolosoft.comRolosoft Geo IP.NET Documentation
Modifying Web.Config

Modifications are required to the ASP.NET application web.config file. This file can be found in the root folder of your ASP.NET application.

Please modify the file as follows.

globalization element

Important! Please remove and culture or uiCulture attributes from the globalization element (if present) in web.config.

configSections

Please add the following to the <configSections>...</configSections> section:-

CopyRequired Modification to configSections Section
<sectionGroup name="AutoCultureThreading">
    <section name="settings" type="Rolosoft.HttpModules.ConfigurationHandler,Rolosoft.AutoCultureThreading.Net, Culture=neutral" 
        allowDefinition="Everywhere" allowLocation="true"/>
</sectionGroup>
AutoCultureThreading

Rolosoft Geo IP.NET can use one of two data sources to get its IP / Country lookups. Please configure your <settings> element according to which data source you are using.

httpModules

Please add the following to the <httpModules>...<httpModules> section:-

CopyRequired Modification to httpModules Section
<add name="AutoCulture" type="Rolosoft.HttpModules.CultureAutoThreading, Rolosoft.AutoCultureThreading.Net "/>

Note: For IIS7, you will also need to add this to the <system.webServer>...<modules> section.