Key: ValidateWebconfig

From Catglobe Wiki
Jump to: navigation, search

<accesscontrol>Main:MyGroup</accesscontrol> 

Key: ValidateWebconfig

Syntax

<add key="ValidateWebconfig" value="[TRUE/FALSE]"/>

[TRUE/FALSE]: Either insert "true" or "false" into value

Remarks

If is true, a webconfig validator will be executed when you run CatGlobe the first time.

This key is optional and its default value is false.

It is used for determining whether a webconfig setting validating method will be executed when the application starts. If the value is true, the following things will be validated:

  • The connection string.
  • Is the database up-to-date?
  • The existence of temporary folders (such as FilePath, BulkPath, TempBulkPath, NevronTemp …).
  • Does Catglobe have enough access rights to these folders?
  • DefaultStyleSheet path, Catalogue pages path.
  • Some simple rules about value of boolean keys, numeric keys…

Example of key

<add key="ValidateWebconfig" value="true"/>