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.…
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…
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…
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 …
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…
how to post Stream as parameter to dllImport function?
If the c++ function need Stream? how to post it ?
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> …
how to lock memoryStream?
I create multi threads to operate the MemoryStream how to lock it to prevent other thread to write it?
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.
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…
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…
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?
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?
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:…
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…
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.
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…
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…
.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…
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…