Problem :- Configured the custom logo for the SASE client on Windows client but its reflecting 



Solution:- Check the configuration on the Director, for the logo URL


 

1. The Logo Image URL is Inaccessible

   - The client’s machine may be unable to access the logo URL, preventing the logo from downloading.  

   - Please ask the client to open the URL "<URL for LOGO>" with and without a VPN connection.  


2. Corrupted or Missing Logo File

   - The logo may have been downloaded but is corrupted.  

   - Request the client to navigate to:  

     C:\Users\TT1500089\AppData\Local\Versa Secure Access\Branding\logo\

     - Check if the file **Digiserve.png** is present.  

     - If found, attempt to open it manually.  


Identified Issue:

In this case, the issue was due to the **SVG format**, which is **not natively supported** in Windows but works on macOS.  


Error Logs:

2025-01-22 13:38:12,113 [1] ERROR VersaSecureAccessClient.Utilities.BrandingUtil:0 - Error while fetching enterprise specific logo
System.NotSupportedException: Es wurde keine passende Imagingkomponente zum Abschließen dieses Vorgangs gefunden. ---> System.Runtime.InteropServices.COMException: Die Komponente wurde nicht gefunden. (Ausnahme von HRESULT: 0x88982F50)
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
   bei System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
   bei System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
   bei System.Windows.Media.Imaging.BitmapImage.EndInit()
   bei VersaSecureAccessClient.Utilities.BrandingUtil.GetBitmapImage(Uri uri)
   bei VersaSecureAccessClient.Utilities.BrandingUtil.UseEnterpriseLogo()

  


Resolution Steps:

1. Identify the Image Format

   - Verify the logo format (e.g., TIFF, WebP, HEIC, SVG).  

   - Windows WPF/WIC natively supports PNG, JPEG, and BMP, but not SVG.  

   - Convert the logo to a standard format (PNG/JPEG) using tools like Photoshop, GIMP, or online converters.  


2. Install Missing WIC Codecs (If Needed) 

   - If the logo is in a format requiring additional support (TIFF, HEIF), install the necessary Microsoft or third-party codec.