Shane Bartholomeusz

Geek and lover of all things tech related

Tag: Error (page 1 of 3)

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

How To: Clone GIT Repo Using Personal Access Token

Overview

In this post I’ll show you how you can clone a Git repository using a Personal Access Token instead of a regular password.

Personal Access Tokens are useful in a variety of situations. I recently opted to use an access token on a work laptop rather than using my ‘god mode’ credentials. That way, if I needed to hand the laptop back to my employer I could easily revoke the access.

Enough talk … lets get to it!

GitHub Icon
Continue reading

Fixed: Windows 10 Search Crashing

Problem

In this post I’ll show you how to fix an issue with Windows 10 Search disappearing.

While trying to use the Windows 10 Search I noticed that after I entered a few characters the Search Box would crash and clear out the text I had entered. No search results were being displayed.

Continue reading

Solved: “You Need Microsoft Dynamics 365 License To Continue” Error

Problem

While trying to reactivate a workflow in our Dynamics 365 environment we encountered the following error. In this post I’ll show you how you can solve this issue.

You Need Microsoft Dynamics 365 License To Continue

You need a Microsoft Dynamics 365 license to continue error
Continue reading

Fixed: Windows Update – There were some problems installing updates (0x80240fff error)

Problem

Have you encountered the dreaded 0x80240fff Windows Update error in Windows 10? In this article I’ll show you how to fix the issue.

There were some problems installing updates, but we’ll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x80240fff)

Windows Update Error (0x80240fff) Screenshot
Continue reading
Older posts

© 2023 Shane Bartholomeusz

Theme by Anders NorenUp ↑