.Net Error:- “COM object that has been separated from its underlying RCW cannot be used”

Background Last night after a long day of code rewrite, ran into an error that threatened to force me to discard the numerous optimizations I had taken the time and effort to labor over.   Error Message Here is the full error message:- Remediation Outline Code Review Code Rewrite Code Review Please review your code. … Continue reading .Net Error:- “COM object that has been separated from its underlying RCW cannot be used”

Win OS – Desktop – Toolbars – News and Interests

Background Microsoft continues down the path of partaking in the media business. In this post particular post, specific Microsoft as a "News Aggregator". WinOS Desktop News and Interests In Window 10, a "News and Interests" channel is offered. Is it enabled? If the "News and Interests" channel is enabled, you will likely see a temperature … Continue reading Win OS – Desktop – Toolbars – News and Interests

XML Encoding

Background Earlier today I found myself looking at some scripts. As I dug in more was a bit surprised at which characters actually changed when XML Encoded.   Table Ascii Character Char Symbol XML 38 Ampersand & &amp; 60 Less Than < &lt; 62 Greater Than > &gt; Summary Using Microsoft Technologies, SQL Server and … Continue reading XML Encoding

MS Windows:- Is an executable 32 or 64 bit

Background Overnight received an issue from GitHub.   Issue Here is the issue. Textual Hi. Can you please make EXE file? And write if this is 32-bit or 64-bit utility. Thank you.   Image Response Outline Here are the tools we can use to review a file and determine its bitness. Marc Ochsenmeier pestudio SysInternals … Continue reading MS Windows:- Is an executable 32 or 64 bit

.NetSDK – Build – Error – NETSDK1045 – “The current .NET SDK does not support targeting .NET Core 3.1. Either target .NET Core 3.0 or l ower, or use a version of the .NET SDK that supports .NET Core 3.1.”

Background A day or two short of a week ago, a family member ran into issues building a Microsoft  .Net application that he had downloaded from GitHub. Error Error Message - NETSDK1045 TroubleShooting Outline Project File Review Project File Project File ( .csproj ) Review Project File ( .csproj ) Text <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFrameworks>net452;netcoreapp3.1</TargetFrameworks> … Continue reading .NetSDK – Build – Error – NETSDK1045 – “The current .NET SDK does not support targeting .NET Core 3.1. Either target .NET Core 3.0 or l ower, or use a version of the .NET SDK that supports .NET Core 3.1.”

SQL Server Management Studio ( SSMS ) – Window and Font Size

Background For the last few months, I have had problems with small font sizes on the "Find Window" within SSMS.   Issue Find Window Images Image - Find Window Image - Find Window - 01 Image - Find Window and Editor Pane TroubleShooting Outline SSMS Menu Tools / Options / Environment / Fonts and Colors … Continue reading SQL Server Management Studio ( SSMS ) – Window and Font Size

.Net – Reflection

Background When programming tracking the current class/method can be helpful. Also, capturing the Stack Trace can also be informative.   C# Current Class Current Method StackTrace Output   Vb.Net Current Class Current Method StackTrace Output   Source Code .Net Fiddle C# Link Vb.Net Link Summary This post ended up being a lot of fun. Comparing … Continue reading .Net – Reflection

.Net :- String.Join returns “System.String[]”

Background Hit a curb yesterday and wanted to share about it today. I have a collection and attempted to display its contents.   Code Original Output Image   Revision Output Image Sharing Restester.com Links Visual Basic Online Compiler Link Vb.Net - Displaying Collection Contents Link Git Gist CollectionDisplayContents Link Dedicate Dedicating to:- string.Join(string, string[]) returns … Continue reading .Net :- String.Join returns “System.String[]”

Visual Studio – Error – System.IO.IOException – The process cannot access the file ispac because it is being used by another process

Background Occasionally, I run into an error when trying to build a project in Visual Studio.   Error Sample Error Images Image - Build Errors.  Run the last successful build? Textual Image - Process cannot access the file because it is being used by another process   Textual   TroubleShooting Outline File Write Lock Process … Continue reading Visual Studio – Error – System.IO.IOException – The process cannot access the file ispac because it is being used by another process

Windows Print Spooler Remote Code Execution Vulnerability – 2021/Summer

Background It is time to take a quick look at the recently disclosed security vulnerabilities that affect the Microsoft Print Spooler Service.   Vulnerabilities Windows Print Spooler Remote Code Execution Vulnerability CVE-2021-1675 Vulnerability Type:- Privilege Escalation Released:- Jun 8, 2021 Last updated:- Jul 2, 2021 https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-1675 Windows Print Spooler Remote Code Execution Vulnerability CVE-2021-34527 Vulnerability … Continue reading Windows Print Spooler Remote Code Execution Vulnerability – 2021/Summer