1,226 questions with .NET Runtime tags

Sort by: Updated
0 answers

License for the Spread.Net V16 EN is not found. Application execution is terminated.

I have installed Spread.net V16.2.0 within Mescius software. And using farpoint.win.dll, farpoint.win.spread.dll in my application by adding reference from C:\Program Files (x86)\MESCIUS\Spread.NET 16\Windows Forms\v16.2.20231.0\bin path. I am…

.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,226 questions
asked Apr 29, 2025, 7:29 AM
Aman Agrahari 20 Reputation points
edited the question Apr 29, 2025, 8:21 AM
Pradeep M 7,860 Reputation points Microsoft External Staff
4 answers

How to register .net 8 build activex so that test program can run access it from different folder

I can run C:\Windows\syswow64\regsvr32 to register my activex.dll which is stored at the C:\Program Files (x86)\AA but the test program, test.exe, could not access it from C: \Program Files (x86)\BB folder. Any thought?

.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,226 questions
asked Apr 17, 2025, 7:07 PM
Oliver Lan 0 Reputation points
edited a comment Apr 29, 2025, 7:08 AM
RLWA32 48,386 Reputation points
0 answers

Response.Write PDF page by page to avoid timeout excepction

Hello, everybody I have a page which Response.Content is "application/pdf" This PDF is returned by a lot of api requests putting files together in an unique Byte Array variable. Sometimes, the return could last too much time and pdf file could…

.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,226 questions
asked Apr 28, 2025, 10:18 PM
Sergio Moreira de Menezes 0 Reputation points
1 answer

IP blocked from accessing Microsoft services via .NET HttpClient

Hello, Since today, April 24th, I'm experiencing connectivity issues to most Microsoft services from my public fix IP address given by my hosting provider. Specifically, with dotnet tools (dotnet add package, dotnet restore, or actually anything that…

.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,226 questions
asked Apr 24, 2025, 7:23 PM
Stéphane Royer 0 Reputation points
edited a comment Apr 28, 2025, 5:50 PM
Bruce (SqlWork.com) 74,936 Reputation points
1 answer

Implementing OIDC client in ASP.NET Framework 4.8 application

Hi, We have our ASP.NET web application which has been developed using .Net Framework 4.8. We have done the authentication using WS Feb (Auth0). It has been configured in Web.Config. I would like to change it to OIDC. Kindly suggest how it can be…

.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,226 questions
asked Apr 25, 2025, 8:01 AM
Banu 20 Reputation points
answered Apr 28, 2025, 5:26 PM
Bruce (SqlWork.com) 74,936 Reputation points
0 answers

User Context (cs-username) Not Logged in IIS log file After Migrating from .NET Framework to .NET 8 Web API

After migrating .NET Framework Web API to .NET 8, you noticed that the user context (cs-username) is no longer being logged in the IIS log file. In .NET Framework Web API, I'm using FormsAuthenticationTicket to set the user context in Global.asax…

.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,226 questions
asked Apr 28, 2025, 4:08 PM
SSGANAPATHY 0 Reputation points
edited the question Apr 28, 2025, 4:27 PM
SSGANAPATHY 0 Reputation points
1 answer

Will .net8 support 32 bit Application when built on "Any CPU" Configuration

I am not able to run an application that is built on "Any CPU" configuration in 32 bit OS, but if i explicitly provide the architecture as x86 the application works properly. Will .net8 still support 32 bit application when built on "Any…

.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,226 questions
asked Apr 28, 2025, 7:09 AM
Sreekanth N Kartha 20 Reputation points
commented Apr 28, 2025, 12:22 PM
Viorel 121.3K Reputation points
2 answers

Azure SignalR "Handshake Cancelled" Error During WebSocket Connection — How to Debug and Resolve?

Hi everyone, I'm facing an issue while connecting to Azure SignalR using a .NET 8 app. The connection consistently fails during the WebSocket handshake. 📋 Environment: .NET Version: 8.0 Azure SignalR Client Library: Microsoft.Azure.SignalR Transport…

.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,226 questions
asked Apr 28, 2025, 3:30 AM
Harish Gudella 0 Reputation points Microsoft Employee
answered Apr 28, 2025, 5:26 AM
Miyari 001 0 Reputation points
1 answer

Kudu/SCM Failure on Azure Functions Flex Consumption - Deployment Blocked (404)

Update [Date - e.g., 2025-04-27]: We have since successfully migrated the application to the Classic Consumption plan, where Kudu/SCM is accessible and deployment works as expected (after resolving separate build/runtime issues detailed elsewhere).…

.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,226 questions
asked Apr 25, 2025, 5:16 PM
James Newlin 0 Reputation points
edited the question Apr 27, 2025, 10:09 PM
James Newlin 0 Reputation points
0 answers

getting error code on newest .net installation in registry editor 0x80131700

whenever i try to start powershell it just closes but i see a flash of it's screen, but i can open x86 version of powershell fine. i wanted to run something on it so i thought why not on this version, but when i run it it says version 4.0.3....…

.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,226 questions
asked Apr 25, 2025, 11:58 AM
Balkaran Singh 0 Reputation points
commented Apr 25, 2025, 12:44 PM
RLWA32 48,386 Reputation points
0 answers

Best Practice for Managing Multiple .NET Hosting Bundle Versions on the Same Server

Hi, We currently have a self-contained .NET project (Project A) running on our Windows server, built with .NET Runtime 8.0.10. The application is hosted using IIS, so we also installed the .NET 8.0.10 Windows Hosting Bundle to support it. Now, we are…

.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,226 questions
asked Apr 25, 2025, 4:25 AM
Song Xu 0 Reputation points
0 answers

problem of aspnetcore-browser-refresh.js connection failed.

Microsoft Team, I am working with Visual Studio version 17.13.6 and facing the aspnetcore-browser-refresh.js:350 WebSocket connection to 'wss://localhost:' failed:. issue. Also, I found the below solution from Microsoft, but unfortunately, I cannot find…

.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,226 questions
asked Apr 25, 2025, 4:03 AM
Veerasamy, Shankar (COT) 0 Reputation points
2 answers

Get USB Info with impersonation is not working

Hi, Without impersonation I get USB info. With impersonation is not working. I'm using .NET 9 , MAUI on windows. I got driver is not ready!!! Can you please help ? My code with impersonation is : `if…

.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,226 questions
asked Apr 22, 2025, 2:06 PM
Dani_S 4,461 Reputation points
answered Apr 23, 2025, 8:39 AM
Dani_S 4,461 Reputation points
2 answers

How to add Nuget packages into Visual studio?

How to add Nuget packages For newly installed visual studio

.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,226 questions
asked Apr 23, 2025, 5:27 AM
Chintalapudi Lavanya - Contractor 0 Reputation points
answered Apr 23, 2025, 7:08 AM
Gitanza 2 0 Reputation points
2 answers

NET 3.5 install error 50 - Parent features must be enabled before this feature can be enabled -

I refer to this thread which was archived. The solution was to reboot the PC and run a repair. I am in a company acnd just can't just repair all computers with problems. I wonder if there is a solution to this issue. I try to install NET3.5 with: …

.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,226 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
2,027 questions
asked Jan 4, 2022, 9:07 AM
Stefan K 106 Reputation points
commented Apr 22, 2025, 6:52 PM
Patrick Wahlmüller 5 Reputation points MVP
0 answers

How can I use BinaryFormatter in .net 8 application

I'm migrating .net application from .net 4.7.2 to .net 8. I had used BinaryFormatter for serialization and deserialization in my application but it is obsolete in .net 8. Still I want to use binaryFormatter in upgraded .net 8 application temporarily…

.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,226 questions
asked Apr 21, 2025, 10:47 AM
Aman Agrahari 20 Reputation points
commented Apr 21, 2025, 11:46 AM
RLWA32 48,386 Reputation points
1 answer One of the answers was accepted by the question author.

Delete folder from bit locker throw exception

Hi, The exception: 2025-04-08 16:09:51,501 [1] ERROR GssdDesktopClient.Maui.ViewModels.CopyViewModel - DeleteFolderCommandExcute System.IO.IOException: No mapping for the Unicode character exists in the target multi-byte code page. : 'E:\גגגגגגג'.    at…

.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,226 questions
asked Apr 8, 2025, 1:17 PM
Dani_S 4,461 Reputation points
accepted Apr 20, 2025, 8:57 AM
Dani_S 4,461 Reputation points
1 answer One of the answers was accepted by the question author.

Directory.EnumerateFiles vs Directory.Delete

Hi, Are this code: var dir = new DirectoryInfo(viewDeviceItem.Path); dir.Delete(true); Equivalent to: using System; using System.IO; class Program { static void Main() { string directoryPath = @"C:\path\to\your\directory"; // Specify your…

.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,226 questions
asked Apr 15, 2025, 3:40 AM
Dani_S 4,461 Reputation points
accepted Apr 20, 2025, 8:54 AM
Dani_S 4,461 Reputation points
1 answer One of the answers was accepted by the question author.

What are the alternatives available for System.Messaging package in .net 8

I'm migrating .net 4.7.2 to .net 8.0. The System.Messaging package is not available in .net 8. How can I resolve the errors below errors - The type or namespace name 'Messaging' does not exist in the namespace 'System' (are you missing an assembly…

.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,226 questions
asked Apr 9, 2025, 4:47 AM
Aman Agrahari 20 Reputation points
accepted Apr 19, 2025, 6:33 PM
Aman Agrahari 20 Reputation points
3 answers

.NET 6 / .NET 8 migration, downward compatible

Hi, we started migrating parts of our large project from .NET 4.x to .NET 6 in beginning of 2023. When we started, .NET 8 hadn't existed. It was quite some big effort to do this. Now we will release our product soon. Until the product is at the customer…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,226 questions
asked Jan 17, 2024, 3:39 PM
Sponsel, Carsten 5 Reputation points
commented Apr 18, 2025, 3:08 PM
Bruce (SqlWork.com) 74,936 Reputation points