Home » Getting started » Configuring » General » Web.Config
Web.config are restructured in Litium Studio 4.5. Please read Technical changes in Litium Studio 4.5 for more information about changes made.
Account settings
General settings for users in Litium Studio
Section: litium / foundation / accountsettings
- AccountType: Set account type to be used for users. Allowed values, "INTERNAL" / "AD" / "NOVELL". AD should only be used if AD users are involved.
- EnableSessionTimeoutsInGUI: Standard IIS settings allow a user to be inactive in 20 minuters before the session timeouts. By set false you will not be logged out even if you are inactive in more than 20 minutes.
System user
All settings for the system user.
Section: litium / foundation / accountsettings / systemUser
- Password: System password. Needs to be changed according to license.
- Enabled: If system user could login in Litium Studio.
Password policy
Define the password policy, used for all users in Litium Studio.
Section: litium / foundation / accountsettings / passwordPolicy
- LockoutCount: How many wrong password attempts will Litium Studio allows before the accounts locks. -1 is unlimited.
- ExpirePeriodInDays: In how many days must the user change password. -1 is unlimited.
- ComplexityRule:
- LengthRule: Set to true if password must be at least 6 characters.
DirectorySettings
Contains all settings for Active Directory integration
Section: litium / foundation / accountsettings / directorySettings
- SyncInterval: Internal to syncronise users. -1 means never, instead a check will be done for each login.
- AutomaticAccountCreation:
- EnforceMinimumOneGroupMembership:
- HierarchicalGroupMembership:
Directory
Add a directory element for each domain which is used in this solution.
Section: litium / foundation / accountsettings / directorySettings / directory
- Domain: Domain to be used
- Server: Full name of the sync server.
- User: The account name of the sync user to use
- Password: The account password of the sync user to use
This section includes the possibility to add own defined pages into “My Settings” and into “System Settings”. Read more about how to configure control panel pages.
Section: litium / foundation / controlPanelPages
My settings
Section: litium / foundation / controlPanelPages / mySettings
Add a controlPanelPage element for each page that you want to include under “My Settings”.
- Page: URL to that page. Path starts from /LitiumStudio/Foundation/
- Icon: The path to the icon which will be used for that page.
- SystemStringKey: The key for which value that should be used as page name. Language dependent.
- Permission: Define what kind of permission that users need to have access to this page. Read more about permission types (Optional)
System settings
Section: litium / foundation / controlPanelPages / system settings
Add a controlPanelPage element for each page that you want to include under “System Settings”.
- Page: URL to that page. Path starts from /LitiumStudio/Foundation/
- Icon: The path to the icon which will be used for that page.
- SystemStringKey: The key for which value that should be used as page name. Language dependent.
- Permission: Define what kind of permission that users need to have access to this page. Read more about permission types (Optional)
This section includes the possibility to add scheduled tasks or start up tasks.
Section: litium / foundation / taskSettings
Scheduled Tasks
Section: litium / foundation / taskSettings / scheduledTasks
Add a scheduledTask element for each task you want to be executed in a specific range of time.
- Type: Fullname and Assambly of class to run
- Start time: Time to start task, if task runs more than once per day, first possible occurance will be found based upon interval
- Interval: Periodicity, can be D,H,M. eg 2d(every second day), 30M (every 30 minutes)
- Parameters: Parameters sent to task, optional
Startup task
Section: litium / foundation / taskSettings / startupTasks
Add a startupTask element for each task you want to be executed during solution startup.
- Type: Fullname and Assambly of class to run
- Parameters: Parameters sent to task, optional
This section handles files directory, SMPT-server and startupinformation
Section: litium / foundation / general
Files directory
Section: litium / foundation / general / filesDirectory
- Value: Upload folder to store files.
SMTP-server
Section: litium / foundation / general / smtpServer
- Value: SMTP-server to use inside Litium Studio.
StartUpInformation
Section: litium / foundation / general / startupInformation
Define a page that can be displayed if Litium Studio has been restarted.
- Page: Startup information-page, if empty, use default. EXAMPLE: value="~/LinkToMyPage.aspx
- AutoRedirect: Automatic redirect after xx seconds. -1 = no automatic redirection, 0 = direct redirection
EventLog settings
Section: litium / foundation / general / eventLog
If you would like to configure the settings for how the event log is treated, you need to make the following addition to the Web.Config file:
<eventLog maxAgeInMinutes="60" deleteIntervalInMinutes="60" pollingIntervalInSeconds="5"/>

MaxAgeInMinutes = the maximum age in minutes for values retained in the EventLog.
Note: If the value is set too high, reading of old events might lead to slower start up.
DeleteInterval = the interval for deleting old values from the EventLog.
Note: A low value shortens the event log but also increases the number of queries sent to the database.
PollingInterval = the interval for checking the EventLog for new events raised at other servers
Note: A low value increases the number of queries sent to the database. (In a single server setup there is no need to change this value.)
Search settings for current solution of Litium Studio.
Section: litium / foundation / search
- EnableChangeTracking: If true, then search indexes will be synchronizes with the underlying repository, by listening to events raised on data changes. This will affect the performance slightly. If false, indexes will not be updated until you manually update the index. That is commonly used when performing larger import jobs and is often combined with a scheduled task that updates the indexes during night.
- EnableDailyOptimization: If true, then a background job will optimize the index files, at the time defined in DailyOptimizationTimeOfDay attribute.
- DailyOptimizationTimeOfDay: The time of day for the optimization jobs to be executed. Defined as a TimeSpan
Settings for Litium Studio Web Publishing
Section: litium / studio / cms
- maxCacheSizeInMB: Define how large the cache can grow for CMS.
- EnableGoogleSiteMap: if true, it will be possible to access the Google SiteMap XML.
Routing
Settings for handling URL routing in Litium Studio Web Publishing. Add a disabledRoutingPath element for each route you want to disable. Read more about URL routing and configuration.
Section: litium / studio / cms / routing.
- Path: the path to be disabled, relative to root.
Settings for Litium Studio ECommerce
Section: litium / studio / ecommerce
- OrderExportXslt: If a XSLT file is specified here, it will be used to transform the exported orders in Order Export functionality. The user will only get the transformed xml file. XSLT file should reside in the /Bin directory
- GateWayIP: If the web server is behind a firewall with port forwarding, this need to be set to the visible public IP (EXAMPLE: "http://203.94.70.123"). Used for communication with providers.
Plugins
In this section you will find settings for defining plugins that are used in Litium Studio ECommerce. In former versions, it was located in a configuration file in bin-folder.
Each plugin that exists has its own add element. Modify it according to description below.
Section: litium / studio / ecommerce / plugins.
- Name: The plugin name. Can’t be modified.
- Type: Fullname and Assambly of class to run.
Settings for Litium Studio Product Catalog
Section: litium / studio / productCatalog
- AssortmentExportXslt: If a XSLT file is specified here, it will be used to transform the exported assortment in assortment export functionality. The user will only get the transformed xml file. XSLT file should reside in the /Bin directory
- EnablePriceAgent: if true, it will be possible to access the Price Agents XML.
- CacheSlidingTimeInSeconds: If sliding is used, time for the item in the Cache to expire, will be updated on each request.
- CacheAbsoluteTimeInSeconds: if absolute time, the item will be removed from cache after the absolute time.
- CacheArticles: Number of articles to save in cache. If cache is full, the last used will be removed.
- CacheVariantGroups: Number of variant groups to save in cache. If cache is full, the last used will be removed.
- CacheProductGroups: Number of product groups to save in cache. If cache is full, the last used will be removed.
- CacheProducts: Number of products to save in cache. If cache is full, the last used will be removed.
Settings for Litium Studio Media Archive
Section: litium / studio / mediaArchive
- StoreResizeVersions: Allow resized versions to be stored for future use, decrease cpu load and response time but increase storage needs.
- GhostscriptPath: Needed to be provided if EPS-converter are going to be used. If ghostscript is not installed the value of GhostscriptPath should be empty, if installed, provide absolute path
Settings for Litium Studio Newsletter
Section: litium / studio / newsletter
- EmailContentTransferEncoding: Define the email content encoding. Read more at AspNetMail.
- MSPickupDotStuff: In some earlier versions of Microsoft, it was a bug that identified that if the line started with a dot (.), it would remove it. If the line only had a single dot, the email would be empty and it would not be sent. Since most of the servers are patched, this is added as a parameter. Leave as false in almost every case.
Settings for Litium Studio help
Section: litium / studio / helpsettings
- CustomerSpecificOnlineHelpPath: The path to which customer specific help is found. Enter the file name of the help file placed in LitiumStudio/Help/Content/.
- CustomerSpecificOnlineHelpSystemString: The system string key for which value that should be used as link text. Language dependent.
<helpSettings
customerSpecificOnlineHelpPath=""
customerSpecificOnlineHelpSystemString="" />
This section will allow you to change the SQL time out settings for specific SQL stored procedures.
Add a commandTimeOut element per stored procedure.
Section: litium / commandTimeouts
- Command: The name of the stored procedure.
- Timeout: Time in seconds.
Comments made
No comments are made
You need to be logged in to make a comment