Email notification & File filtering
Email notification
Outscaling includes the option of sending email notifications when certain errors occur. This feature is activated when the Outscaling Background Component's registry key contains the setting EmailAddress.
An email notification will be send when one of the following conditions is met:
- When an server instance is (temporarily) switched offline (in memory) due to the fact that the number of successive errors exceeds the configured SwitchOfflineOnErrorCount value (registry parameter Outscaling Background Component, defaults to 5).
- When sending an event to a subscriber fails and the option NotifyFailedEvents has been set to 1 (=True).
- When synchronizing an item to a subscriber fails and the option NotifyFailedEvents has been set to 1 (=True).
The option NotifyFailedEvents can be set using a registry setting with the same name within the Outscaling Background Component's registry key.
The email notification will contain information about the item/event that failed and the reason why it failed, or in case of an server instance is switched offline the url of the server instance and the (last) error description (if any).
The subject of the email will always be "Outscaling - Warning".
Notice that Messaging/SMTP must be configured correctly within the registry, otherwise email messages can not be send.
File filtering
Another new Outscaling option, introduced in Smartsite iXperion 1.2, is automatic file filtering on protected operating system files, such as configuration files (web.config, smartsite.config, etc.), assemblies and executables.
Before any file is send to a subscriber (because it is an AIM reference, or because Synchronize Files is used), its filename/url is checked against an file exclusion list. If the filename/url matches an entry in the exclusion list, the file will not be synchronized.
The default built-in exclusion list contains the following filename patterns:
- *.config
- *.exe
- *.dll
- thumbs.db
- *.dws
- *.asax
- *.asa
- desktop.ini (1.3 build 3 and later)
You can change this built-in exclusion list by setting the registry parameter FileExclusionList (defaults to "thumbs.db;*.dws;*.config;*.dll;*.exe;*.asax;*.asa") within the Outscaling Background Component's registry key. However, the first four (five) exclusions listed above (that is *.config, *.exe, *.dll and thumbs.db, and desktop.ini since 1.3 build 3 and later) will always be added to the list if the specified FileExclusionList doesn't include them.
Since both the (relative) file url and the filename only are matched against the filename patterns within the exclusion list, it is possible to exclude (files within) complete subfolders from being synchronized. For example, when adding the pattern /intranetdocuments/* every file within this folder (and subfolders) will be excluded.