1,125 questions with .NET Runtime tags

Sort by: Updated
1 answer

How to fix the random crashing error with 1000, 1023 and 1309 event ID in our web application? Debug log captured but no idea on how to fix

We have deployed a web application but experience random crash several times daily. Event ID 1000, 1023 and 1039 was found but there was not enough information to debug. It is running on Windows 2019 Standard Server with IIS 10, .NET Framework as 4.6.1.…

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,272 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,125 questions
asked 2023-11-29T10:10:41.49+00:00
Emily Fung 5 Reputation points
edited a comment 2023-11-30T03:10:39.0633333+00:00
Sam Wu-MSFT 7,036 Reputation points Microsoft Vendor
6 answers

The request was aborted: Could not create SSL/TLS secure channel

.Net Class Library is based on 4.5 and using HtmlAgilityPack, I was calling an https URL and it was working fine. After the website is updated and will not support old browsers which are not TLS v1.2 compliant. Getting the error - The request was…

.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,125 questions
asked 2020-11-24T13:02:23.38+00:00
SGH 1,221 Reputation points
commented 2023-11-29T06:27:37.3066667+00:00
Anonymous
2 answers

Why can't run my app after visual studio update?

I have updated Visual Studio 2019 from 16.6.1 version to 16.11.23 version. The update operation was finished successfully. When I want to run my MVC project in Debug mode, nothing happens. No error is displayed, the app is not running. What do I have to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,627 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,125 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
945 questions
asked 2023-01-26T12:35:02.9366667+00:00
Ionut Dragomir 26 Reputation points
answered 2023-11-28T12:56:45.67+00:00
Kesava Subhash Gullapudi 30 Reputation points
1 answer

System.Net.Sockets.SocketException (0xFFFDFFFE): Unknown socket error

Hi, We started receiving this SocketExceptions after we updated the .Net version from 3.1 to 6, and restart was required to fix it. This is an intermittent error. Previously in the .Net Core 3.1 this error did not occur. Configuration .NET 6 …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,188 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,125 questions
asked 2023-11-24T10:02:24.8066667+00:00
Dani Kurniawan 0 Reputation points
commented 2023-11-27T09:19:11.0233333+00:00
Qing Guo - MSFT 886 Reputation points Microsoft Vendor
2 answers

I have enabled >NET 8 (LTS) (Early Access) but my .net 8 app will not start

As you can see from the screenshot below the app service has been configured to support .NET 8.0 but the app fails to start because the runtime is somehow missing. I have tried to explicitly install .net 8 runtime via the site extensions but that did not…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,188 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,125 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,909 questions
asked 2023-11-17T22:34:19.5633333+00:00
Goran Zidar 10 Reputation points
commented 2023-11-22T10:07:57.5066667+00:00
Aaron Smith 90 Reputation points
2 answers

how to post Stream as parameter to dllImport function?

If the c++ function need Stream? how to post it ?

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,537 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,125 questions
asked 2023-11-20T06:23:33.02+00:00
mc 3,701 Reputation points
commented 2023-11-22T00:41:33.6633333+00:00
mc 3,701 Reputation points
11 answers One of the answers was accepted by the question author.

IIS AspNetCore Module V2: Failed to start application '/LM/W3SVC/1/ROOT', ErrorCode '0x8000ffff'

I have a .NET Core 3.1 Web API project that I am hosting using IIS. Project Details (see target framework): <Project Sdk="Microsoft.NET.Sdk.Web"> <PropertyGroup> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,188 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,125 questions
asked 2022-05-19T15:05:55.903+00:00
Boris Dzevel 21 Reputation points
commented 2023-11-20T07:44:38.9266667+00:00
Lebret Pierre-Vincent 0 Reputation points
1 answer One of the answers was accepted by the question author.

how to lock memoryStream?

I create multi threads to operate the MemoryStream how to lock it to prevent other thread to write it?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 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,125 questions
asked 2023-11-17T03:29:39.01+00:00
mc 3,701 Reputation points
accepted 2023-11-17T09:33:24.1633333+00:00
mc 3,701 Reputation points
1 answer One of the answers was accepted by the question author.

how to read byte and write byte at the same time?

how to read byte and write byte of a stream at the same time? when I read some bytes it will give exception because I will write bytes to the stream and the Position of the stream will be the end of the stream I can not read any data.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,188 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,125 questions
asked 2023-11-10T08:08:11.43+00:00
mc 3,701 Reputation points
commented 2023-11-17T01:31:11.4333333+00:00
mc 3,701 Reputation points
1 answer

How to get `dotnet` to tell me the actual dependencies contained in a self-contained package?

Hello everyone. I am trying to understand the .deps.json file that dotnet publish creates. Where can I find more information about this? If I make a random .net project that just contains the dependency DeepCloner and publishes to osx and target…

.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,125 questions
asked 2023-11-09T19:58:07.7033333+00:00
Michael Park 0 Reputation points
commented 2023-11-16T10:05:02.6966667+00:00
Jiachen Li-MSFT 26,671 Reputation points Microsoft Vendor
2 answers

ow to revert to .NET 4.8 after installing .NET 4.8.1 Runtime

I was prompted by my PC to update .NET 4.8 to .NET 4.8.1 I selected the Runtime option. Now none of my apps will open. A pop-up message says the app needs .NET 4.8 HELP! How to I revert back to .NET 4.8 or fix the apps so they will run with .NET…

.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,125 questions
asked 2023-11-10T23:36:58.08+00:00
Sandi Ruther 0 Reputation points
answered 2023-11-16T09:28:51.6866667+00:00
Jiachen Li-MSFT 26,671 Reputation points Microsoft Vendor
0 answers

Is there a event that added data to the Stream?

Is there event that when the stream data added it will triggered? while(true) { offset+=m.Read(buffer,offset,1024); } can it be true that not use while when there is enough data it will read the stream and when I read the data the stream to be empty?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,188 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,125 questions
asked 2023-11-10T06:50:41.8966667+00:00
mc 3,701 Reputation points
commented 2023-11-14T06:55:58.5333333+00:00
mc 3,701 Reputation points
2 answers

receiveAsync is 0 but receive return the actual data size?

var socket=await _socket.AcceptAsync(); Memory<byte> buffer=new (); byte[]data=new byte[300]; while(true){ int recv=await socket.ReceiveAsync(buffer); int r=socket.Receive(data); // r is >0 but recv is always 0 await Task.Delay(1000); } why?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,188 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,125 questions
asked 2023-11-09T02:22:45.0866667+00:00
mc 3,701 Reputation points
edited an answer 2023-11-09T08:15:31.2433333+00:00
Jalpa Panchal-MSFT 480 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

can not load C++/CLR in a native C++ dll

Hello, I'm facing a challenge in configuring my project and I need help. My goal is to use C# code in an unmanaged native C++ project by utilizing C++/CLR. However, I'm currently encountering the following error. *Error: Unhandled Exception:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,537 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,125 questions
asked 2023-11-04T16:34:57.68+00:00
Michael Brunner 40 Reputation points
accepted 2023-11-06T09:18:22.3433333+00:00
Michael Brunner 40 Reputation points
1 answer

System.Runtime dll not found

I am trying to load a .dll file using Assembly assembly = Assembly.LoadFrom(dllPath); and then i'm looking for types in the assembly Type[] types = assembly.GetTypes(); but this is continuously giving me loader exceptions as {"Could not load file…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 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,125 questions
asked 2023-10-16T06:03:23.5266667+00:00
Dhawan, Riya 0 Reputation points
commented 2023-11-03T16:56:39.45+00:00
Martin Egli 105 Reputation points
1 answer

Problem with get referssh token when I try login with organization mail

When I try to connect with a corporate user I don't get a refresh token, with a regular user I do manage to get one.

.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,125 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,575 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,563 questions
asked 2023-10-09T09:21:42.1733333+00:00
Amir Ben Shimol 0 Reputation points
edited the question 2023-11-03T07:30:22.9266667+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
2 answers

Installing .NET and runtime on macos M1 does not work

I had the wrong version of .NET installed and removed the .NET SDKs and .NET runtimes. When I run dotnet --info to confirm, I get this output: Host: Version: 7.0.0 Architecture: x64 Commit: d099f075e4 .NET SDKs installed: No SDKs were…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 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,277 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,125 questions
asked 2023-10-11T19:20:44.2833333+00:00
Robin 0 Reputation points
commented 2023-11-01T14:09:27.5466667+00:00
Jiachen Li-MSFT 26,671 Reputation points Microsoft Vendor
0 answers

Socket Exception while generating Azure AAD Auth token

We have service bus trigger function app and in this function we make call to one of the web api endpoint from this function. Before making api call we generate auth token using client id and secret and this auth token is used to authenticate web api…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,299 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,188 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,272 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,125 questions
asked 2023-10-23T17:52:19.9566667+00:00
Abhijit Jadhav (INFOSYS LIMITED) 11 Reputation points Microsoft Vendor
edited the question 2023-10-31T09:32:59.0633333+00:00
Givary-MSFT 28,321 Reputation points Microsoft Employee
3 answers

.Net Framework 3.5 can't be installed on my Windows11 PC. The error code is 0x800F0922

I've already tried the solutions suggested in the link below, but they had no effect. https://learn.microsoft.com/en-us/troubleshoot/windows-client/application-management/dotnet-framework-35-installation-error#resolution-for-windows-10 Is there anyone…

.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,125 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,222 questions
asked 2023-10-19T04:13:20.7033333+00:00
Alpha 0 Reputation points
commented 2023-10-30T03:52:58.41+00:00
Alpha 0 Reputation points
2 answers

Application pool requested a recycle because it reached its virtual memory limit

I hosted a web application on a (Live server) shared hosting, and did not get any issue until today when I decided to test-run it. I registered and logged in the web application with the test login details; I was redirected to the dashboard, but after…

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,272 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,125 questions
asked 2023-10-11T21:27:00.65+00:00
Donald Symmons 2,856 Reputation points
answered 2023-10-26T16:38:13.0333333+00:00
Donald Symmons 2,856 Reputation points