Key: ValidateWebconfig

From Catglobe Wiki
Revision as of 09:46, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



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"/>