1,136 questions with .NET Runtime tags

Sort by: Updated
2 answers

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.

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2021-01-20T13:44:05.103+00:00
WindowsGeek 21 Reputation points
commented 2021-01-22T16:27:11.187+00:00
WindowsGeek 21 Reputation points
0 answers

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…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2021-01-22T15:22:28.61+00:00
Pappas Alexandros 1 Reputation point
2 answers One of the answers was accepted by the question author.

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,869 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2021-01-19T21:12:11.747+00:00
Richard Arnold 181 Reputation points
answered 2021-01-21T21:21:45.663+00:00
Richard Arnold 181 Reputation points
1 answer One of the answers was accepted by the question author.

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. …

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,579 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2021-01-20T16:42:16.71+00:00
Anandhan Sathyanarayanan 141 Reputation points
commented 2021-01-21T19:48:31.627+00:00
Castorix31 82,846 Reputation points
2 answers

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? …

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,302 questions
asked 2021-01-05T11:37:15.3+00:00
sundarapandi subbu 1 Reputation point
answered 2021-01-21T11:11:01.227+00:00
Giambelli, Floriano 21 Reputation points
1 answer

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…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2021-01-20T22:37:37.113+00:00
Galen Pellitteri 1 Reputation point
commented 2021-01-21T09:05:13.313+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
1 answer

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,869 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
719 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,579 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2021-01-20T06:12:29.877+00:00
JohnCTX 636 Reputation points
commented 2021-01-20T08:20:54.047+00:00
Daniel Zhang-MSFT 9,621 Reputation points
2 answers One of the answers was accepted by the question author.

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…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,214 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,579 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2021-01-18T16:51:47.347+00:00
vb 276 Reputation points
commented 2021-01-18T18:32:37.883+00:00
vb 276 Reputation points
4 answers

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…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2020-12-21T05:46:15.313+00:00
Pritam Savagavi 1 Reputation point
answered 2021-01-18T16:36:12.423+00:00
AlbaneseQuattroLife 1 Reputation point
1 answer

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…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2020-12-27T16:17:44.813+00:00
David Thielen 2,526 Reputation points
commented 2021-01-14T14:54:30.247+00:00
David Thielen 2,526 Reputation points
0 answers

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…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
719 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2021-01-14T10:50:45.65+00:00
Marco Salvatori 191 Reputation points
2 answers One of the answers was accepted by the question author.

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>…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
785 questions
asked 2021-01-09T16:46:45.027+00:00
Magnus Vinterhav 61 Reputation points
accepted 2021-01-14T09:10:04.963+00:00
Magnus Vinterhav 61 Reputation points
1 answer

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. …

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2021-01-13T18:38:07.1+00:00
Shailendra Sute 1 Reputation point
commented 2021-01-14T01:37:55.007+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
1 answer

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,706 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2021-01-05T05:13:20.263+00:00
S Abijith 346 Reputation points
answered 2021-01-13T21:22:59.187+00:00
Abdulhakim M. Elrhumi 356 Reputation points
0 answers

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,…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,579 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2021-01-12T13:34:56.08+00:00
Jeyakumar Guruchandran 1 Reputation point
commented 2021-01-13T06:47:03.037+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
1 answer

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…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2021-01-12T10:25:00.277+00:00
Mavliwala, Adnan 1 Reputation point
answered 2021-01-13T02:10:22.74+00:00
Jerry Cai-MSFT 986 Reputation points
0 answers

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,573 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,706 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,828 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2021-01-11T22:15:41.93+00:00
Sri 1 Reputation point
commented 2021-01-12T08:01:34.793+00:00
Jerry Cai-MSFT 986 Reputation points
2 answers

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,706 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
785 questions
asked 2021-01-08T02:28:34.823+00:00
Magnus Vinterhav 61 Reputation points
answered 2021-01-11T11:24:23.8+00:00
Peter Fleischer (former MVP) 19,306 Reputation points
1 answer

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.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,214 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2021-01-09T07:34:54.777+00:00
udhayan d 181 Reputation points
commented 2021-01-09T19:09:17.833+00:00
Erland Sommarskog 105.8K Reputation points MVP
2 answers One of the answers was accepted by the question author.

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…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,579 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2021-01-07T20:32:50.747+00:00
Magnus Vinterhav 61 Reputation points
accepted 2021-01-07T21:54:35.05+00:00
Magnus Vinterhav 61 Reputation points