Wednesday, October 30, 2024

MSIX : Install failure: Invalid value for registry


It was fixed by resetting the app installer. You 

Find the app called “App installer”, click on it and select Advanced), then press reset.

This app installer seems to be running in an appcontainer so that would probably explain why it would work for other users on the same machine.

 

Some user don't have "App Installer". In that case, to resolve that,

  • Download the installer package from here https://aka.ms/getwinget
  • Since there was no installer to install the installer, Run the PowerShell command to install the installer, like this:
Add-AppxPackage -Path "PathToTheInstaller.msixbundle"

Wednesday, October 23, 2024

Cyber slavery is a form of modern exploitation that begins with online deception and evolves into physical human trafficking.

 

It is essential to make everyone aware of the online scams and be more cautious.

Indians had lost over ₹1,776 crore in 89,054 cases of financial crimes such as digital arrest, stock market scam, investment scam and romance or dating scam and there had been a “spurt in the organised crime from south-east Asia.” These complaints were received on national cyber crime portal — cybercrime.gov.in and 1930 helpline 


Thursday, March 21, 2024

Reference article to Add dynamic meta tags

 


https://blog.logrocket.com/adding-dynamic-meta-tags-react-app-without-ssr/


https://www.javatpoint.com/add-page-title-and-meta-tags-using-angular-9or8-seo


https://medium.com/@baunov/dynamic-meta-tags-for-angular-app-part-1-dc5957af202c

Thursday, February 1, 2024

SQL Server Database Installation Fail Windows 11

Credits and Thanks to  https://blog.nimblepros.com/blogs/sql-server-windows-11-fiasco/

If you’ve run into an issue with LocalDB or SQL Server where the process fails to start and you see an error message about misaligned log IOs, you’re not alone. This issue can be particularly frustrating, especially if you’re not sure where to start in terms of troubleshooting. Here’s what I did to fix the problem and get LocalDB working again.

First things first, you’ll want to check the SQL Server log files to see if there are any clues as to what might be causing the issue. If like me you notice a message stating something like “there have been 256 misaligned log IOs which required falling back to synchronous IO”, you’re in luck. Well, you’re in luck in the sense that you’re reading the right article and hopefully we can get you out of this mess. If you don’t see this message, but something entirely different, sorry friend, it’s back to googling for you.

Ok, here’s what’s most likely going on. You have a modern SSD and you either:

  1. Tried installing SQL Server (or localDB) on a Windows 11 machine.
  2. Installed SQL Server (or localDB) on a Windows 10 machine, then upgraded to Windows 11.

Maybe you’re running into problems trying to install SQL Server or just starting it up. Either way, if you’re seeing the “misaligned log IOs” error message, the root cause is the same: Windows 11 doesn’t behave the same way as Windows 10 when it comes to disk sector sizes on modern SSDs.

From PowerShell, as an administrator, run the following command:

 New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device" -Name "ForcedPhysicalSectorSizeInBytes" -PropertyType MultiString -Force -Value "* 4095"


https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/database-file-operations/troubleshoot-os-4kb-disk-sector-size