Custom css does not load

Problem

Custom css does not load adn default css is displayed. Configurations in profile.config are not loaded.

Solution

Typically this may happen if profile.config contains errors and cannot be loaded. If profile.config cannot be loaded the custom css will not be known and thus not loaded either.

  1. Verify that profile.config is actually loaded.
  2. In later versions, 4.5.0 and onwards, AssertWeb.log will contain information on errors in profile.config. Earlier versions may contain some information on this too.
  3. Information on which profiles are loaded into the web application will come in the log shortly after application start.

Log in version 4.5.0 and later may look something like below when an error is found. In earlier versions some information may be found.


AssertWeb.log
AssertWeb Information: 0 : 2019-07-04 10.47.40:Application_Start:Application start
AssertWeb Information: 0 : 2019-07-04 10.47.40:Application_Start:Application started as Signifikant Offline: False
AssertWeb Information: 0 : 2019-07-04 10.47.40:Application_Start:(noUrl):(noSession):(noUser):Logging enabled
AssertWeb Information: 0 : 2019-07-04 10.47.40:Application_Start:(noUrl):(noSession):(noUser):Load customization modules: C:\ProgramData\Signifikant\Assert\Customize
AssertWeb Information: 0 : 2019-07-04 10.47.40:Application_Start:(noUrl):(noSession):(noUser):Register providers
AssertWeb Verbose: 0 : 2019-07-04 10.47.41:(noUrl):(noSession):(noUser):SignifikantPriceProvider created
AssertWeb Verbose: 0 : 2019-07-04 10.47.41:(noUrl):(noSession):(noUser):SignifikantAvailabilityProvider created
AssertWeb Verbose: 0 : 2019-07-04 10.47.41:(noUrl):(noSession):(noUser):SignifikantPlaceOrderProvider created
AssertWeb Verbose: 0 : 2019-07-04 10.47.41:(noUrl):(noSession):(noUser):Signifikant Order History Provider created
AssertWeb Verbose: 0 : 2019-07-04 10.47.41:(noUrl):(noSession):(noUser):Signifikant order detail provider created.
AssertWeb Verbose: 0 : 2019-07-04 10.47.41:(noUrl):(noSession):(noUser):Loaded profile setting for the site Signifikant from file C:\inetpub\wwwroot\AssertWeb\App_Data\Signifikant\profile.config. Unique id: 2.
AssertWeb Verbose: 0 : 2019-07-04 10.47.41:(noUrl):(noSession):(noUser):Loaded profile setting for the site Test from file C:\inetpub\wwwroot\AssertWeb\App_Data\Test\profile.config. Unique id: 3.
AssertWeb Verbose: 0 : 2019-07-04 10.47.41:(noUrl):(noSession):(noUser):Loaded profile setting for the site Test2 from file C:\inetpub\wwwroot\AssertWeb\App_Data\Test2\profile.config. Unique id: 4.
AssertWeb Verbose: 0 : 2019-07-04 10.47.41:(noUrl):(noSession):(noUser):Loaded profile setting for the site Test3 from file C:\inetpub\wwwroot\AssertWeb\App_Data\Test3\profile.config. Unique id: 5.
AssertWeb Verbose: 0 : 2019-07-04 10.47.41:(noUrl):(noSession):(noUser):Loaded profile setting for the site Test4 from file C:\inetpub\wwwroot\AssertWeb\App_Data\Test4\profile.config. Unique id: 6.
AssertWeb Verbose: 0 : 2019-07-04 10.47.41:(noUrl):(noSession):(noUser):Loaded profile setting for the site Test5 from file C:\inetpub\wwwroot\AssertWeb\App_Data\Test5\profile.config. Unique id: 7.
AssertWeb Verbose: 0 : 2019-07-04 10.47.41:(noUrl):(noSession):(noUser):Error at loading profile setting for the site Test5
AssertWeb Verbose: 0 : 2019-07-04 10.47.41:(noUrl):(noSession):(noUser):Error message : There is an error in the XML-document (22, 2694).
AssertWeb Verbose: 0 : 2019-07-04 10.47.41:(noUrl):(noSession):(noUser):InnerException message: There is an error in the XML-document (1, 185).
AssertWeb Verbose: 0 : 2019-07-04 10.47.41:(noUrl):(noSession):(noUser):InnerException's inner exception message: Error at instance verification: Thumbnails is not a valid value for NodeViewType.