Common Issues
If you do encounter issues, please drop us an email at: hello@iglootheme.com.
Access denied writing igloo-variants.css
If wwwroot\App_Plugins\Igloo\dist\css\igloo-variants.css is missing and you see an error like the one below, the site doesn't have permission to write the generated variants CSS to that folder.
System.AggregateException: One or more errors occurred. (One or more errors occurred. (Access to the path 'C:\YourWebsitePath\wwwroot\App_Plugins\Igloo\dist\css\igloo-variants.css' is denied.))
---> System.AggregateException: One or more errors occurred. (Access to the path 'C:\YourWebsitePath\wwwroot\App_Plugins\Igloo\dist\css\igloo-variants.css' is denied.)
---> System.UnauthorizedAccessException: Access to the path 'C:\YourWebsitePath\wwwroot\App_Plugins\Igloo\dist\css\igloo-variants.css' is denied.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.File.WriteToFileAsync(String path, FileMode mode, ReadOnlyMemory`1 contents, Encoding encoding, CancellationToken cancellationToken)
at Igloo.Services.Utilities.DesignVariantCssGeneratorService.GenerateCss()