Shane Bartholomeusz

Geek and lover of all things tech related

Tag: Error (page 1 of 3)

Solved: Cmder – ‘ls’ is not recognized as an internal or external command, operable program or batch file.

Problem

Recently whilst using Cmder on Windows 11, I encountered the below error while running command ‘ls’ to list the files, and in this post I’ll explain the solution that worked for me.

‘ls’ is not recognized as an internal or external command, operable program or batch file.

Cmder Logo
Continue reading

Solved: ‘Unable to find package specflow.plus.license’ error

Problem

Whilst recently installing Specflow on a new Windows PC, I ran into an unexpected error after running the below command:

dotnet tool install --global SpecFlow.Plus.License --version 3.9.7

This is the error I encountered whilst running the above command:

C:\Users\XXXX\AppData\Local\Temp\cd1e38b3-c92a-436d-b439-f1535d848adc\restore.csproj : error NU1101: Unable to find package specflow.plus.license. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages The tool package could not be restored.
Tool ‘specflow.plus.license’ failed to install. This failure may have been caused by:
You are attempting to install a preview release and did not use the –version option to specify the version.
A package by this name was found, but it was not a .NET tool.
The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
You mistyped the name of the tool.
For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool

SpecFlow logo
Continue reading

Solved: Intermittent SharePoint Framework Caching and 404 deployment errors

Problem

SharePoint Framework (SPFx) offers a flexible approach to building custom solutions for Microsoft SharePoint that leverage modern web development technologies.

Recently whilst deploying a SharePoint Framework (SPFx) solution into a SharePoint Online environment, I encountered intermittent caching issues and 404 failures. There was no clear pattern as to why the issues would occur. After staring at the code and pulling my hair out, I eventually came across a solution…

In this post, I’ll be sharing the solution that worked for me.

SharePoint Framework Logo
Continue reading

Solved: Azure Functions There is not enough space on the disk

Overview

Azure Function Apps allow developers to build and deploy event-driven applications in the cloud. However, as with any software we can sometimes run into unusual issues, in particular, I recently ran into the below error when trying to deploy an Azure Function App through a GitHub Actions CICD pipeline.

If you have also encountered this issue, then you are in luck, because in this article we’ll explore the cause of this error and how I solved the issue.

“Internal Server Error (CODE: 500)”

“There is not enough space on the disk.”

Continue reading

Solved: Dotnet EF CLI ‘Could not execute’ Error

dotnet logo

Problem

The ‘dotnet ef’ CLI command enables developers to work with Entity Framework Core (EF Core) database operations from the standard dotnet command line.

Recently I came across the below error whilst trying to run the ‘dotnet ef’ CLI commands:

$ dotnet ef
Could not execute because the specified command or file was not found.
Possible reasons for this include:
  * You misspelled a built-in dotnet command.
  * You intended to execute a .NET program, but dotnet-ef does not exist.
  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.

If you have also encountered this error whilst using the Entity Framework commands via the dotnet CLI, then you’re in luck because I’ll be sharing the fix in this article.

Continue reading

Solved: Cognitive Services – Operation returned an invalid status code ‘Unauthorized’

Problem

The Azure Cognitive Services SDK is a set of pre-built services that enable developers to easily and quickly integrate AI capabilities into their applications. It provides a wide range of cognitive services including computer vision, language understanding, speech, and search APIs.

Recently whilst using the Azure Cognitive Services SDK recently, I encountered the below error while trying to consume the Cognitive Services Computer Vision API using the Dotnet SDK.

If you’ve also encountered the same error then you are in luck, because in this post I’ll share the solution that worked for me.

Operation returned an invalid status code ‘Unauthorized’

Continue reading

Solved: Google Drive Stuck Uploading Files

Problem

Recently I came across an unusual issue where Google Drive was continually getting stuck uploading files on my Android Samsung Galaxy S20 smartphone device.

In this article, I’ll share the solution that worked for me, plus other possible solutions.

Google Drive Stuck Screenshot
Continue reading

Solved: Angular – Invalid version: “15.2-15.3”

Problem

Whilst working on a new Angular project I recently came across an unusual error when trying to build a new project generated through the Angular CLI.

In this post, I’ll explain how I resolved this issue.

> ng build

√ Browser application bundle generation complete.
An unhandled exception occurred: Transform failed with 1 error:
error: Invalid version: “15.2-15.3”
See “XXXXXX\angular-errors.log” for further details.

Angular logo
Continue reading

Solved: Azure Functions Can’t Bind Parameter ‘data’ to Type Error

Problem

Recently I came across an unusual error whilst working with C# Azure Functions. When the Function was executed, the console window showed the following error.

The ‘XXXXXX’ function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method ‘XXXXXX ‘. Microsoft.Azure.WebJobs.Host: Can’t bind parameter ‘data’ to type ‘XXXXXX’.

I checked the Activity function parameter bindings however couldn’t see any obvious issue. However after some head scratching I eventually figured out the source of the issue …

In this post I’ll show you how to resolve this issue.

Azure Functions Logo
Continue reading

Solved: BlazorInputFile ‘No File Chosen’ Error

Blazor WebAssembly Icon

Problem

Blazor is an exciting new technology for .NET developers that enables us to leverage our core strengths by writing most of the code in C# and minimising the need to write JavaScript code.

While working on a Blazor WebAssembly solution that used Steve Sanderson’s BlazorInputFile solution I came across an unusual issue where the “No File Chosen” text would not change and the selected filename did not appear even though a file had already been selected.

Hmmmm … what’s going on here?

HTML File Input Screenshot
Continue reading
Older posts

© 2024 Shane Bartholomeusz

Theme by Anders NorenUp ↑