DLL Reference Not Found Error

Possible Fix 1: In solutions with multiple projects, if you get an error with DLL reference not found even though you have the reference project, check to make sure all projects in the solutions are using the same version of .NET. Go to the “properties” section of each project and make sure the “Targeted Framework”... » read more

SSRS member not found DISP_E_MEMBERNOTFOUND

Error: SSRS “member not found (exception from HRESULT: 0x80020003 DISP_E_MEMBERNOTFOUND” Visual Studio2019 Community Must be a bug in Visual Studio Community 2019 (v16.8.1)You can Add an Existing RDL and change it up Fix: Sources: https://stackoverflow.com/questions/64824124/ssrs-member-not-found-exception-from-hresult-0x80020003-disp-e-membernotfound

Integrate Reporting Services Using the Report Viewer Controls

The Report Viewer controls can be used to integrate Reporting Services RDL reports into WebForms and WinForms apps.  Install the Report Viewer control NuGet package via the NuGet package manager console. .aspx page Authentication with Report Server https://stackoverflow.com/questions/671694/passing-credentials-to-sql-report-server-2008 CustomReportCredentials.cs Sources: https://docs.microsoft.com/en-us/sql/reporting-services/application-integration/integrating-reporting-services-using-reportviewer-controls-get-started?view=sql-server-ver15

Force Cache Refresh

Ctrl – F5 forces a cache refresh, and will guarantee that if the content is changed, you will get the new content.

Publish with Remove additional files at destination option

Publish in Visual Studio. “Remove additional files at destination” option Remove additional files at destination The most common and easiest way to resolve this error is to re-publish your code, but with the options to “Remove additional files at destination” turned on. This will ensure that Visual Studio’s web deploy process will delete all existing... » read more

Deploy Blazor App to Azure

Make sure you check the following before deploying (Publish) to a Azure hosted web site. When creating a new App Service in Azure Portal, select .NET 5. When creating a new Blazor WebAssembly App in Visual Studio, select .NET 5 framework. When deploying from Visual Studio, deploy the .Server project and not the .Client project.... » read more

No connection could be made because the target machine actively refused it

Error: An unhandled exception occurred while processing the request. SocketException: No connection could be made because the target machine actively refused it. System.Net.Http.ConnectHelper.ConnectAsync(string host, int port, CancellationToken cancellationToken) HttpRequestException: No connection could be made because the target machine actively refused it. System.Net.Http.ConnectHelper.ConnectAsync(string host, int port, CancellationToken cancellationToken) Fix: In solutions with both web api and... » read more

Update-Database

Package Manager Console … Updates the “Identity” database to the last migration or to a specified migration. Note: You will run into errors if there is already existing identity tables from previous versions. Recommend creating a new database to create the identity tables and then apply updates to the existing identity database. The Update command will create... » read more

EF Core tools version is older than that of the runtime

Error: Getting the following error in NuGet Package Manager Console … The EF Core tools version '3.1.3' is older than that of the runtime '3.1.5'. Update the tools for the latest features and bug fixes. Fix: Run the following in NuGet Package Manager Console … Install-Package Microsoft.EntityFrameworkCore -Version 3.1.5Install-Package Microsoft.EntityFrameworkCore.Tools -Version 3.1.5 Note: Make sure... » read more