Reputation: 389
I recently installed Visual Studio IDE 2022 Version 17.6.2 and created a new Blazor Server Project targeting .NET 7.
For some reasons, unknown to me, the localdb is not listed under SQL Server on the SQL Server Explorer. I tried the following:
What could be the problem because this is my first time seeing this error.
I have attached images to this. If anyone has ever encountered this problem please explain how you overcame it. This is a new Blazor Server Project.
Thanks.
ATTACHMENTS:
Upvotes: 0
Views: 2238
Reputation: 389
I checked the error logs and saw a message stating something like “there have been 256 misaligned log IOs which required falling back to synchronous IO”.
I searched and found out that the error is usually associated with Windows 11 and Modern SSD. Windows 11 doesn’t behave the same way as Windows 10 when it comes to disk sector sizes on modern SSDs.
This article talked about how to troubleshoot OS 4KB disk sector size issues: https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/database-file-operations/troubleshoot-os-4kb-disk-sector-size
error is solved.
Upvotes: 1