How to solve this .NET error?
Hello, When I want to open an application, then it show me below .NET error. I'm using the last version of .NET Framework: Thank you.
How to read from IBM MQ in .NET 5?
We have a lot of business logic in .NET 4.0 which reads a message from an IBM MQ, does some processing, and writes to the database all in one transaction (coordinated by MSDTC). Is there some way to do this in .NET 5? As far as I know, .NET 5 does not…
Can ClickOnce install .Net Framework 3.5SP1 First before other prerequisites?
I have a C# 4.0 WinForms application, which uses ClickOnce to deploy. I have chosen to 'Download prerequisites from the same location as my application'. I have selected .NET Framework 3.5 SP1 to be installed, if the end-user's system does not have it…
dynamic vbscript execution
Hi, My requirement is to execute the vbscript from C# (not from file). Followed the below article and tried to execute a simple statement WScript.Echo "Missing parameters but it's always giving syntax error as mentioned in the below article. …
![](https://techprofile.blob.core.windows.net/images/bpqI_wINOUGg4BYYipkUVA.png?8D827C)
WebBrowser Control Support
We saw the forums, Microsoft is going to stop support for IE 11.From my understanding the web browser control uses an IE shell, but if IE is no longer supported what will happen? Are the porting it to use Edge? Developers will need to update to Edge? …
Cant download .Net Framework
Hello, Im trying to download the .Net framework in order to use Insatllmation so i can create an application for my java project i created for a local business. Whenever i try to download the .Net Framework, it says it will make changes to my device i…
Creating a generic template in C#
I have researched that C#, as well as its predecessor, C++, enable users to create generic templates. Here are the two source code snippets below: using System; using System.Collections.Generic; using System.Data.OleDb; using System.IO; namespace…
Microsoft.EntityFrameworkCore.Sqlite C# ulong (64 bit integer) could not be translated (LINQ query)
Hi! I'm testing database code migration from .NET Framework to .NET 5.last. I'm using .NET 5, Microsoft.EntityFrameworkCore.Sqlite & LINQ query. (all last varsions) Following pseudo-code fails when using correspondence C#: ulong type…
After upgrading to net5.0.1 version err in Mysql
From dotnet core 3.1 i have updated to dotnet 5.0.1 now I'm getting error... " Detected package version outside of dependency constraint: Pomelo.EntityFrameworkCore.MySql 3.2.4 requires Microsoft.EntityFrameworkCore.Relational (>= 3.1.8…
What is the best way in .Net to handle authentication & authorization protocols for downloading a file via https
Hi all; We need to implement pretty much every common authentication & authorization protocol for both reading files and OData queries from a url via https. We need this for both .Net Framework & .Net Core. Is there a way to do this…
![](https://techprofile.blob.core.windows.net/images/FA0ALqN_QU6SmYMGhVsijw.png?8D97DB)
![](https://techprofile.blob.core.windows.net/images/FA0ALqN_QU6SmYMGhVsijw.png?8D97DB)
Spatial data operations
Hello, I have to migrate some routines written in VBNET in WPF environment on AZURE (webapi net core). In these routines spatial operations such as union, intersection, etc. take place. here is an example: Private Sub example(ByVal sender…
How to use Dispatcher for thread with WPF Window and a BlockingCollection<GraphicalData>(ConcurrentQueue<GraphicalData>)
Hi. Techs used are: C#, .Net Core 3.1, WPF, BlockingCollection<> and ConcurrentQueue<> I am trying to understand how to use the Dispatcher with a WPF Window. The Window will be updated with a ConcurrentQueue<GraphicalData>…
Getting error .NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance.
Hello, I have a .NET Framework 4.6.1 Web API. Recently started getting error ".NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance. Profiler CLSID: '{71DA0A04-7777-4EC6-9643-7D28B46A8A41}'. HRESULT: 0x8007007e. …
WebClient for downloading and uploading file
Hi All, We are trying to download and upload a file to a device using HTTPS protocol using the 'WebClient' class from C#. It uses .Net framework 4.5. Once we download to the device or upload a file from the device, we get a JSON response from the…
![](https://techprofile.blob.core.windows.net/images/IWrejgBABgAAAAAAAAAAAA.png?8D8A0F)
Secure SSL Stream.read ...throws System.IO.IOException: The decryption operation failed (System.ComponentModel.Win32Exception: The specified data could not be decrypted)
we are using the SSL Stream Read to receive bytes of the files from the remote machine using TCP port .we have authentication done with X509Certificate2 certifcate for the file transfer from one machine to another. In call back of the tcplistener,…
Application consuming High CPU
Hello, Our Application is running multiple processes (.exe) and each process utilizing CPU processor is always high while processing which near to 80 to 100% CPU. There is work around to minimize CPU utilization using System.Threading.Thread.Sleep…
Visual studio 2019: not showing Target framework .net 5 while migrating a class library from .net framework 4.7.2
Hi There, We have class library project on .netframework 4.7.2 , now want to port this class library project .net 5( basically targeting .net core) We opened class library project in 2019 and migrated package.config to package reference , after…
How to start WPF in separate thread and still updating it continuously
Hi. C#, .Net 3.1, WPF I want to have a WPF window that takes data from a BlockingCollection<ColorAddress>(ConcurrentQueue<ColorAddress>) continuously. I have managed to start the window in it's own thread, but while doing this with the…
![](https://techprofile.blob.core.windows.net/images/319aafad7757470c87140361047582b7.png)
Impact of Microsoft .NET Framework Security Updates on SQL server host
New year wishes to all. I wanted to know about any potential impact to SQL server services on applying Microsoft .NET Framework Security Updates on SQL server host. Below are the details of my OS and SQL server version.
![](https://techprofile.blob.core.windows.net/images/c4mRkDtLdU6n6fSv2i9uBg.png?8D843C)
Only every third object is consumed in BlockingCollection<string>(ConcurrentQueue<string>)
Hi. I'm building a multi-threaded simulator and need to create and consume ID's in an orderly fashion. I am doing this in C# and Core 3.1 and it is a WPF application. Please note that I am just learning about multi-threading AND queues, so it is…