- Go to Tools > Options > NuGet Package Manager > Package Sources
- Add or enable the official NuGet source:
- Name: nuget.org
- Source: https://api.nuget.org/v3/index.json
Amir Hoshang Kioumars
“No problem can be solved from the same level of consciousness that created it.” Albert Einstein (1879-1955)
Tuesday, 25 November 2025
NU1101 Errors in Blazor Projects
Wednesday, 22 October 2025
Connect PowerBI to SQL Server - TrustServerCertificate
Under the server that Power BI installed,
- Go to System Properties -> Advanced -> Environment Variables
- Add this Variable Name PBI_SQL_TRUSTED_SERVERS
- Set the Variable Value to the servers that are trying to reach out to this Power BI box
- Restart the machine
Sunday, 21 September 2025
Setup Windows Local Account without the Internet
During the Windows setup,
- On the WiFi screen, press SHIFT + F10 or FN + SHIFT + F10
- This will open the command prompt window with administrator rights
- Type: start ms-cxh:localonly and hit Enter
Thursday, 3 July 2025
Analysis Service in Power BI Report Server
We couldn’t connect to the Analysis Services server. Make sure you’ve entered the connection string correctly... link
Tuesday, 1 July 2025
Setup PowerShell Universal Dashboard
# Run PowerShell as Administrator
Install-Module -Name UniversalDashboard.Community
# Check PowerShellGet version
Get-Module -Name PowerShellGet -ListAvailable
# If you do not have PowerShellGet version 2.0 or higher
Install-Module -Name PowerShellGet -Force
# Check PowerShellGet version
Get-Module -Name PowerShellGet -ListAvailable
# Delete old version of PowerShellGet
# for x64
Get-ChildItem -Path 'C:\Program Files\WindowsPowerShell\Modules\PowerShellGet'
Remove-Item -Path 'C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1' -Recurse -Force
# for x86
Get-ChildItem -Path 'C:\Program Files (x86)\WindowsPowerShell\Modules\PowerShellGet'
Remove-Item -Path 'C:\Program Files (x86)\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1' -Recurse -Force
# Copy new version from x64 to x86
Copy-Item -Path 'C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\' -Destination 'C:\Program Files (x86)\WindowsPowerShell\Modules\PowerShellGet\'
# Copy new version from x86 to x64
Copy-Item -Path 'C:\Program Files (x86)\WindowsPowerShell\Modules\PowerShellGet\' -Destination 'C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\'
# Close the PowerShell session and reopen it
# Install the universal dashboard community module
# If you run into a command already available error, explicitly allow the new module to override the existing commands by using the -AllowClobber
Install-Module -Name UniversalDashboard.Community -AllowClobber
# Check
Get-Module UniversalDashboard.Community
Saturday, 22 February 2025
Activate Office Permanently
- Run cmd as administrator
- Switch to Powershell mode
- Execute the following command
- irm https://get.activated.win | iex
Sunday, 29 December 2024
SQL: Generate a range of numbers
FROM
(VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9)) ones(n),
(VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9)) tens(n),
(VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9)) hundreds(n),
(VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9)) thousands(n)
ORDER BY 1
NU1101 Errors in Blazor Projects
These NU1101 errors in your Blazor project suggest that the required NuGet packages aren't being found in the configured sources. To res...
-
//convert BASE64 string to Byte{} array function base64ToArrayBuffer(base64) { var binaryString = window.atob(base64); var binar...
-
var htmlToPdf = new NReco.PdfGenerator.HtmlToPdfConverter(); htmlToPdf.PageFooterHtml = @"<div style='text-align:right; font-s...
-
Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated...