1,241 questions with .NET Runtime tags

Sort by: Updated
0 answers

First time login after setting the password. When user tried to login with correct username and password then user is getting redirect to login page without any error

We are experiencing an issue with the Azure AD B2C login flow. After a user sets their password for the first time and attempts to log in using the correct username and password, they are unexpectedly redirected back to the login page. No error message…

.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,241 questions
asked 2025-05-10T04:51:16.02+00:00
Chandan Singh 0 Reputation points
0 answers

Connecting to SQLExpress Database takes long time

Upgraded .net 4.8 C# app to .net 8. The new version takes 30 seconds to connect to SQLExpress database on server (\ServerName\SQLExpress). Original version took less than 1 second to connect to same server. Management Studio and reporting tool also…

.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,241 questions
asked 2025-05-09T18:00:30.5266667+00:00
Lorne Johnson 0 Reputation points
1 answer

How to fix System.IO.FileLoadException: Could not load file or assembly 'file:///C:\inetpub\wwwroot\project\bin\BusinessLayer.dll' or one of its dependencies. Access is denied.

On IIS server, after hosting my Web API works fine for two or three minutes then it get crashed with below message .. Server Error in '/' Application. Could not load file or assembly 'file:///C:\inetpub\wwwroot\project\bin\BusinessLayer.dll' or one of…

.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,241 questions
asked 2025-05-06T19:28:18.9966667+00:00
Rohit Kalyanpuri 0 Reputation points
answered 2025-05-09T14:34:00.6+00:00
Samuel Lima 0 Reputation points
0 answers

Visual Studio 2022 Professional build issue -.net 4.8

I am using nuget of some organization. And when I am trying to run the sample Azure Function -https://github.com/Azure/azure-functions-dotnet-worker/tree/main i am getting below error: C:\Program Files\Microsoft Visual…

.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,241 questions
asked 2025-05-09T13:18:07.64+00:00
Abhay 0 Reputation points
edited the question 2025-05-09T13:20:33.2033333+00:00
Abhay 0 Reputation points
0 answers

I need a build a .NET project from a local DLLs present in a folder

Have project .cs file in following format │ ├───RecordingBot.Console │ │ .env │ │ .env-template │ │ Program.cs │ │ │ │ └───Properties │ AssemblyInfo.cs │ launchSettings.json │ ├───RecordingBot.Model │ …

.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,241 questions
asked 2025-05-09T10:32:34.2166667+00:00
commented 2025-05-09T11:35:13.18+00:00
AgaveJoe 30,036 Reputation points
8 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,241 questions
asked 2025-04-17T19:07:44.5333333+00:00
Oliver Lan 0 Reputation points
commented 2025-05-08T17:37:09.65+00:00
RLWA32 48,501 Reputation points
1 answer

Error facing error while building solution in tfs azure.

I am facing error while building any .net solution is tfs azure, since 5-may-2025. Error: NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. Sometimes this url works in my network. Also while I do use my internet…

.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,241 questions
asked 2025-05-08T05:21:36.8733333+00:00
Sufiyan Ansari 0 Reputation points
commented 2025-05-08T14:35:28.98+00:00
Amit Kharkade 1 Reputation point
0 answers

.NET 8.0 MVC APP returns 'Service Unavailable' after a while when deploying to IIS 10, but works well in IDE and Docker Desktop

This issue drives me crazy. I have a web app designed on .NET 8.0, MVC, and use OpenID to connect to AAD for authentication. It works well in IDE (VS 2022). The docker image also runs fine on Docker Desktop. Unfortunately, after deployed to IIS 10 on…

.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,241 questions
asked 2025-05-07T21:35:15.5766667+00:00
Kevin Wu 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,241 questions
asked 2025-04-25T17:16:53+00:00
James Newlin 5 Reputation points
commented 2025-05-07T14:11:58+00:00
Jarrad O'Brien 0 Reputation points
2 answers One of the answers was accepted by the question author.

Wrong .NET Framework 4.8 download link on Windows 2016

I'm working on legacy software running on Windows 2016 that uses .NET Framework 4.8 and when the application is first launched it pops up the expected "Do you want to install this .NET Framework version now?" dialog box: If I click…

.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,241 questions
asked 2025-05-06T20:11:27.0433333+00:00
Matthew Rogers 20 Reputation points
accepted 2025-05-07T14:05:59.13+00:00
Matthew Rogers 20 Reputation points
0 answers

How to invoke taskscheduler from IIS Hosted - .Net core app running under AppPool

Hi, Am running an ASP Net core application in which am trying to invoke task scheduler - Start, read detail(last run). I can able to execute well only if i add custom account in IIS App pool. But i would like to execute - start, read 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,241 questions
asked 2025-05-07T14:05:22.2633333+00:00
Selvam M 0 Reputation points
0 answers

Microsoft.Azure.WebJobs.Script: Error configuring services in an external startup class. HRAux.API: Could not load file or assembly 'System.ComponentModel, Version=8.0.0.0, Culture=neutral, PublicKeyREDACTED (possible password or key detected)

We’ve been attempting to update our Azure Functions project from .NET 6 to .NET 8, but we're encountering an issue when deploying the function app. The error message we're seeing is: Microsoft.Azure.WebJobs.Script: Error configuring services in an…

.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,241 questions
asked 2025-05-07T05:20:18.05+00:00
siva kumar 0 Reputation points
0 answers

How to fix designer cannot be shown error

how to solve an error of "designer could not be shown for this file because none of the classes within it can be designed

.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,241 questions
asked 2025-05-06T05:33:34.43+00:00
paul kyalo 0 Reputation points
commented 2025-05-06T07:28:50.3433333+00:00
Viorel 121.6K Reputation points
1 answer

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,241 questions
asked 2025-04-28T16:08:56.4633333+00:00
SSGANAPATHY 0 Reputation points
answered 2025-05-03T16:52:40.8966667+00:00
Bruce (SqlWork.com) 75,306 Reputation points Moderator
1 answer

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,241 questions
asked 2025-04-21T10:47:18.7566667+00:00
Aman Agrahari 20 Reputation points
answered 2025-05-03T11:16:10.2733333+00:00
Shivanshu Sharma 0 Reputation points
2 answers

Is there something I can do to change all this?

I have a 2022 HP PC with 4Gb RAM and it's very slow. Sometimes it can freeze for a long time and it works at it's own time. It really doesn't do well with the internet.

.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,241 questions
asked 2025-04-30T15:11:13.4066667+00:00
Mihle 0 Reputation points
answered 2025-05-02T05:32:28.0233333+00:00
Miyari 003 0 Reputation points
0 answers

I am unable to upload a file using azure-blob js sdk given a sas token

When trying to upload via JS, I get this error: RestError: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:a441c1f7-001e-0021-2b0b-bad5b1000000 Why? Here is…

.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,241 questions
asked 2025-04-30T20:11:29.19+00:00
Ian Davis 0 Reputation points
0 answers

After upgrading MsBuild to 17.12.6 and VS to Net9 SDK, MSBuild failing with MSB4244 "The SDK resolver assembly {path} could not be loaded"

I have an app that compiles the full suite of my projects using MSBuild and since updating to 17.12.6 and net9, any project referencing an SDK (custom or Microsoft.Net.Sdk) is failing with the error The SDK resolver assembly "C:\Program…

.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,241 questions
asked 2025-04-30T16:12:36.72+00:00
Ralph S 0 Reputation points
1 answer

Is Farpoint 16.2.0 supported in .net 8 or not

Is Farpoint 16.2.0 is supported in .net 8 or not as I'm getting invalid license in my .net 8 application. Also tell me how can I use farpoint related features in .net 8 application.

.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,241 questions
asked 2025-04-30T06:45:31.7766667+00:00
Aman Agrahari 20 Reputation points
answered 2025-04-30T16:00:08.74+00:00
Bruce (SqlWork.com) 75,306 Reputation points Moderator
7 answers

Server Error in '/' Application Web.config

HI I need this problem solution. If anybody have this solution then pls reply to it. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 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,241 questions
asked 2022-08-04T18:02:00.54+00:00
Imtiaz Sami 21 Reputation points
answered 2025-04-30T02:32:32.01+00:00
Aditya 0 Reputation points