How to fix SQL72014: Framework Microsoft SqlClient Data Provider: ALTER DATABASE failed because a lock could not be placed on database

Error

SQL72014: Framework Microsoft SqlClient Data Provider: ALTER DATABASE failed because a lock could not be placed on database

Solution

Clear all transactions and locks on database server:

USE master;
GO
ALTER DATABASE [InsightDictionary] SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
ALTER DATABASE [InsightDictionary] SET MULTI_USER;

Tested on Microsoft SQL Server 2022 Developer Edition.

Angular Signal Forms — Set-up and validation rules | by Alain Chautard | Nov, 2025 | Angular Training

Signal Forms are available with Angular 21 as an experiment, which means the API described in this tutorial is subject to change, but stable enough to give you a first overview of Angular Signal Forms.Rather than replacing template-driven forms or reactive forms, signal forms are a third option. In this brief tutorial, I will highlight how the new paradigm works and what the differences are compared to previous approaches.

Source: Angular Signal Forms — Set-up and validation rules | by Alain Chautard | Nov, 2025 | Angular Training

Enable or Disable Notification Center in Windows 11 | NinjaOne

The notification center in Windows 11 is a handy panel for your calendar, quick settings, and pop-up alerts, allowing you to stay informed. Despite its benefits when enabled, it can be distracting and give out too much information.Some users and organizations disable notification center to prevent distractions, ensure important alerts aren’t accidentally dismissed, and maintain a secure interface. In this guide, we will provide approaches using Group Policy, Registry Editor, and PowerShell to modify your

Source: Enable or Disable Notification Center in Windows 11 | NinjaOne

Zod in Angular. Typescript Schema validation library

Using Zod in an Angular project is a great way to introduce runtime validation with static typing. Zod is a TypeScript-first schema declaration and validation library, which complements Angular’s type system and form handling. Why Use Zod in Angular? Type-safe validation Works well with Reactive Forms or standalone services Generates types from schemas automatically Useful for form validation, API response validation, and runtime checks
eraoftech.medium.com/zod-in-angular-8dcefc2a20ec

Nushell

Nushell

A new type of shell

Cross-platform

Nu works on Linux, macOS, BSD, and Windows. Learn it once, then use it anywhere.

Everything is data

Nu pipelines use structured data so you can safely select, filter, and sort the same way every time. Stop parsing strings and start solving problems.

Powerful plugins

It’s easy to extend Nu using a powerful plugin system.

Screenshot showing using the ls command

Nu works with existing data

Nu speaks JSON, YAML, SQLite, Excel, and more out of the box. It’s easy to bring data into a Nu pipeline whether it’s in a file, a database, or a web API:

Screenshot showing fetch with a web API

Nu has great error messages

Nu operates on typed data, so it catches bugs that other shells don’t. And when things break, Nu tells you exactly where and why:

Screenshot showing Nu catching a type error

www.nushell.sh/

Angular – Reload page (and its components) even if on same url

Tested in Angular 19.

Add router to component constructor:

import { Router } from '@angular/router';
...

  public constructor(
    private _router: Router
  ) {}

Navigate and reload page, even if currently on same url

this._router.navigateByUrl('/', { skipLocationChange: true }).then(() => {
  this._router.navigate(['my-page']);
});

Above code navigates to root path without changing url in browser, then navigates to current url /my-page. E.g. “reloads” current page (which has path /mypage).