As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [.net]

The .NET Framework is a software framework for Microsoft Windows operating systems. It includes a large library, and it supports several programming languages which allows language interoperability

Filter by
Sorted by
Tagged with
3 votes
1 answer
1k views

Problems after installation of KB5025229/KB5025230 on Azure VM with Windows Server 2019/2022

After installation of KB5025229/KB5025230 we are getting errors in our software: System.IO.IOException: The process cannot access the file '{file}' because it is being used by another process. After ...
Poiter's user avatar
  • 131
0 votes
0 answers
100 views

How do I can make mTLS using HttpClient to check the certificate on the server

I want to check the SSL/TLS certificate on the server side, so, on the client, when I do var webHandler = new WebRequestHandler(); var cert = new X509Certificate2(Path, Pass); webHandler....
Roman DotNetDev's user avatar
1 vote
2 answers
136 views

.NET Framwork 3.5 Offline Unattended Install

I'm trying to install dotNet 3.5 on Windows 10 22H2. The target has no monitor and no access to the internet. When using the flags suggested by Microsoft /q /norestart, the package is not installed. ...
sailektiv's user avatar
0 votes
0 answers
30 views

ASP.NET application not accessible through Apache proxy on Linux

I need to clarify the process of pointing a web domain to a running ASP.NET application on a raspberry pi. The application is developed and ready, and the website is up and running. I have researched ...
Alex S's user avatar
  • 1
0 votes
0 answers
297 views

nginx proxy redirect to login changes hostname to IP

I have dockerized .net core 3.1 app and ngxin running on linode server. App uses jwt tokens and redirects user (302) to controller Auth/Login, when i access my subdomain app.e-this.net nginx detects ...
edis1409's user avatar
0 votes
1 answer
342 views

grpc_pass nginx configuration

When I do the same with resolver and set grpc_pass it fails: `server { listen 443 http2: server _name opc.org.com; ssl....; location / { resolver 127.0....
Константин's user avatar
0 votes
1 answer
368 views

Issues updating .NET Core - what patch am I supposed to use?

For a while now our vulnerability scanner has been detecting out of date .NET components on one of our servers and a management workstation; this is related to some software we recently deployed on it....
The ITea Guy's user avatar
0 votes
0 answers
526 views

How to debug random Outlook crashes (only happening with specific Add-in enabled)?

From a lot of our customers, we have been getting reports that Outlook unexpectedly crashes (complete process restart). So far it has been impossible to reproduce, we can only analyze the logs after ...
JakeDunn34's user avatar
0 votes
1 answer
625 views

Why docker container is not using all CPU available?

I'm comparing the performance of an application running within a docker container (windows server image, legacy .NET framework app) against the same application running directly in the host machine. ...
Thomas C. G. de Vilhena's user avatar
0 votes
0 answers
42 views

changing my WAN IP breaks API connectivity

I have a IIS (server2012 r2) website that uses an external API to activate serial numbers. I am trying to change my WAN IP which will also include changing the websites IP in the domain dns manager. ...
Four21's user avatar
  • 21
2 votes
0 answers
42 views

Found a bug in the URL rewrite module that we can't fix. Need suggestions for outbound URL rewriting

I'm looking for some high-level options for coding around a bug I discovered in the URL rewrite module for outbound URL's. We're at an impasse with Microsoft because they need a full crash dump, which ...
Jonathon Anderson's user avatar
0 votes
0 answers
951 views

.NET Framework 4.8 install failing and rolling back on Win Server 2016 Core Edition

I'm unable to install .NET Framework 4.8 on a Windows Server 2016 Core Edition. Initial installation starts and gets to the point of: Installation completed successfully with success code: (...
jshizzle's user avatar
  • 351
0 votes
0 answers
63 views

Is there a practical limit on web services running in IIS?

Our company have 3 virtual machines allocated for software developers to deploy internal web services. The servers are setup as a server farm behind a net scalar load balancer. Each server has 12GB of ...
ninja coder's user avatar
0 votes
1 answer
456 views

Nginx server blocks not redirecting

I am working on a project at https://modernamedia.no/ and I am trying to do a multiple of things redirect all calls to www.modernamedia.no to https://modernamedia.no/ proxypass localhost:5000 to api....
Stanley's user avatar
  • 103
1 vote
1 answer
2k views

Application Pool set to AlwaysRunning does not Auto Start The Hosted Service

I have configured an pool to auto-start and never sleep. I am having problems with the auto-start. My understanding is that a thread pool worker will be started after a recycle when that happens I ...
Ross Bush's user avatar
  • 121
2 votes
0 answers
244 views

.net core 6.0 on CentOS installs wrong version

These are 2 commands I ran trying to install .net core 6.0 on CentOS 8 Stream: sudo dnf install dotnet-runtime-6.0 Last metadata expiration check: 0:12:04 ago on Tue 23 Nov 2021 17:38:47 UTC. . . . ...
Boppity Bop's user avatar
0 votes
0 answers
73 views

New Epyc vmware host slow for .net applications

We have a EPYC Rome 7502 host running vSphere v7.0.3, and for .net applications we're seeing a performance hit of around 50%, compared to the old host which is Xeon E5-2630. The performance hit in the ...
BJury's user avatar
  • 103
0 votes
1 answer
173 views

Windows scheduled task - task with cmd script runs, but .NET console app doesn't

I'm creating Windows scheduled tasks in a Docker container with Powershell. As a test, I've got a simple batch file which writes the current date/time to a text file once an hour. This works perfectly:...
user873725's user avatar
0 votes
0 answers
2k views

systemd service starts ok, but hangs after restart

I am having a weird problem, I have set up a custom systemd service running a dotnet project. When the system first starts up, the service also starts just fine, however when I restart it, it hangs. ...
Aviad P.'s user avatar
  • 105
0 votes
0 answers
40 views

Domain name does not work

I created an app with azure, a such link https://viva.azurewebsites.net I got in the end. After that I bought a domain name. The domain provider created a A-Record and CNAME-record, everything is well ...
Sonic's user avatar
  • 1
1 vote
0 answers
229 views

Asp.net core To elastic beanstalk error 404 after deployment

I have an asp.net core web api that run an 404 after it get's deployed to elastic beanstalk. Any version from 1.0 to 5.0 all show the same error 404. The api works just fine on localhost but once it ...
Aboubacar Traore's user avatar
1 vote
1 answer
173 views

How to check application responding in Kubernetes

I have a .net framework application written in C# running in K8s orchestration. I simply want to check in fixed interval (lets say in every 300sec) that my application which is running inside pod is ...
solveit's user avatar
  • 265
-2 votes
1 answer
2k views

How to downgrade from default .NET Framework on Windows Server 2019?

I have a VM running Windows Server 2019 Standard. The O/S came out of the box with .NET Framework 4.8. I need to run some custom software that, according to the vendor, specifically requires 4.7.2. (I ...
Don R's user avatar
  • 143
1 vote
0 answers
357 views

Active Directory OU Access Control Entry ACE Issue .Net PowerShell and dsa.msc Discrepancy

I’m attempting to automate delegated permissions of an Active Directory (AD) Organizational Unit (OU) using Access Control Entries (ACE). However, I don’t fully understand Active Directory schema and ...
atothek's user avatar
  • 11
1 vote
1 answer
3k views

SQL Server: A connection was successfully established with the server, but then an error occurred during the pre-login handshake

When I try to connect to the SQL Server I get the following error: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP ...
Pawel's user avatar
  • 121
1 vote
1 answer
509 views

Deploying .NET 5 to IIS Server with SSL disabled

I am currently working on an .NET 5 & SignalR application and in localhost everything seems to be working fine. When I try to deploy it to IIS pre-production Server which doesn't have a SSL ...
Shpend Palushi's user avatar
0 votes
0 answers
760 views

How to update windows time zones list?

I have front-end and back-end systems using the System.TimeZoneInfo for retrieving Timezone by ID. There are several time-zones missing from the back-end machine (running windows Server 2012) and I'm ...
Abir Stolov's user avatar
0 votes
1 answer
2k views

My windows Task Schdulrer is raising this error "0xE0434352"

I have windows server 2012 R2, and i have some tasks inside Windows Task scheduler which use to work well, but yesterday they start to return this error 0xE0434352, as follow:- I checked the Event ...
test test's user avatar
0 votes
0 answers
2k views

Client sends "FIN, ACK" instead of "Client Hello" | Connection closed during SSL handshake | Haproxy

I am trying to establish SSL connection between the .NET WebSocket Client and my server by calling "wss://domain.xyz". Haproxy is handling the SSL handshake and once that is done it connect ...
Panays's user avatar
  • 1
0 votes
1 answer
1k views

new .NET version not showing up in Server Manager

I've installed .NET 4.7.2 on an EC2 running Windows Server 2016 but when I go to Server Manager > Add Roles and Features, I can't see that version anywhere in the Roles or Features lists for Web ...
JacobIRR's user avatar
  • 125
1 vote
1 answer
2k views

How to secure a certificate private key in Windows?

I'm trying to secure a certificate's private key in Windows 10, but it looks like I'm misunderstanding what "Manage Private Keys" does. This is the process I followed: Edit - I tried ...
jimasp's user avatar
  • 121
-1 votes
1 answer
616 views

An hour difference in a Microsoft Web Server

All IIS logs on my server appear with and hour difference than what the server clock is set on. In addition if I execute getdate() from my app the result will be again with an hour difference. Any ...
Petar's user avatar
  • 1
0 votes
0 answers
120 views

Is it possible to install Windows Debugging Tools via Powershell?

I've installed LeanSentry on one of my web servers to try and diagnose some performance issues I've been having. I need to install Windows Debugging Tools (from the Windows SDK) to get some memory ...
andrewm's user avatar
  • 101
0 votes
1 answer
253 views

What is the best Azure service for running a .net core 3.1 console app on a schedule?

I have a .Net Core 3.1 console application that runs on a schedule (currently hosted on a VM). It gets some settings from it's config file and uses http to grab data from an API and feed it into a ...
R2Bleep2's user avatar
0 votes
1 answer
468 views

Is there a utility that will report the NET Framework versions installed on all computer in a domain? [closed]

I'm not a sysadmin myself but am asking this question on behalf of a client of mine, a "mom and pop" company without about 50 computers on a Windows Server network. They want a way for their ...
Tim's user avatar
  • 173
3 votes
1 answer
220 views

Derive IP Address of DNSNode record in Reverse Lookup Zone using LDAP query

Wanted to ask a question: How is it possible to derive IP address from querying a DNS Node in Reverse Lookup Zone with LDAP? To be more precise, I want to show you what I've been trying to achieve: ...
user3191591's user avatar
1 vote
1 answer
2k views

.net core 3 with Nginx reverse proxy redirect to port 5001, but no page is loaded

I'm trying to setup an ubuntu 18.04 droplet to run .Net Core 3.1 Web app. I'm following this tutorial. So far I have the nginx working (or at least I can see the nginx welcome page) if I write the ...
Peyu's user avatar
  • 123
1 vote
0 answers
271 views

RDP connection with gateway credential sharing between browser and RDP client

Our department is responsible for giving courses that, amongst others, rely on a fully working Windows domain. Let us call these environments simply System1, System2 and so on. The aim is to provide a ...
Muqq's user avatar
  • 11
2 votes
2 answers
131 views

What is this scripting and how it is using .NET 4.5? Is it C# scripting? PowerShell Scripting? VBA Scripting?

What is this scripting and how it is using .NET 4.5? Is it C# scripting? PowerShell Scripting? VBA Scripting? I've found this answer in another question and was curious about it. As it's using .NET ...
Daniel Paiva's user avatar
0 votes
1 answer
288 views

Azure Virtual machine scale set and .NET Core application

I am experimenting with Azure Virtual machine scale sets in order to achieve load balancing of the .NET Core application. Configuring actual scale set seems straightforward. Now, it comes with the ...
Dimitri's user avatar
0 votes
1 answer
187 views

iis virtual directory application using non admin custom account in app pool

web server Microsoft Windows Server 2019 DataCenter version 10.0.17763 there is a physical folder on the d drive folder1 --app1 --app2 --app3 --web.config folder 1 is set up as a web application in ...
Bryan Dellinger's user avatar
1 vote
3 answers
7k views

offline install.NET 3.5 with Windows 10

I have a work computer running windows 10, and with the way win10 does everything for you under the hood I would like clarification/help on the following because it seems like I am at a point of this ...
ron's user avatar
  • 805
0 votes
2 answers
100 views

In my registry I have the 4.5 .NET framework indicated as installed, but I can still patch 4.5.2 manually

I was trying to patch my Windows Server 2012s through a patching service, however the 4.5.2 patch was not showing up as applicable. After some digging with the service, we figured out that the ...
Kendall's user avatar
0 votes
0 answers
901 views

Could not create SSL/TLS secure channel error when both client and server support TLS 1.2

We have upgraded our server to only accept TLS 1.2 and disabled SHA/MD5. Now from this server, we are calling a third party API that supports TLS 1.2, TLS 1.1 and TLS 1.0. Now, whenever I call this ...
user960567's user avatar
1 vote
1 answer
730 views

How to install .net framework 4.6.1 runtime on Windows Server 2012 R2

I spun up a aws EC2 instance Windows Server 2012 R2. It comes pre-loaded with .Net 4.5. But I'm running code that requires 4.6.1. I tried both the online and offline installers. I'm an admin. I'm ...
sapbucket's user avatar
  • 195
1 vote
0 answers
218 views

SQL The operation has timed out

I have 3 K8S clusters and 3 databases (Postgres 11) in 3 VPC (dev, stage, stage2). All databases have INTERNAL IPs. When I connect on dev to database - it's ok. When I try to connect on stage/stage2 I ...
Alexander SKyzZz's user avatar
0 votes
0 answers
353 views

HTTP Error 500.19 - Internal Server Error Config not found error IIS 7

I am trying to deploy a .net core 3.0 MVC application to a web server via IIS 7 and I am getting the following server error: HTTP Error 500.19 - Internal Server Error Config Source: -1: 0: ...
adam cooke's user avatar
0 votes
2 answers
840 views

Is a Docker Container good for an application that runs 24/7?

I have a .Net Core Console application that I need to run 24/7. I am trying to decide how to host this application. I am leaning towards hosting this in a Docker Container, as I may like to use ...
Holland Risley's user avatar
3 votes
0 answers
2k views

Getting Authentication Negotiate instead of NTLM while consuming SOAP WCF Service in Net.Core 2.1

I was trying to connect to a WCF SOAP service using NTLM Authentication Scheme, I succeeded at it when using .Net Framework 4.x but when I try to consume the same service in .NET Core 2.1 it fails (...
dennisbot's user avatar
  • 131
0 votes
1 answer
427 views

How to automate the installation of .net framework 3.5 with terraform and powershell?

The operating system is Windows Server 2012. This dialog box pops when a process starts on the server. Is it possible to automate the installation of the feature?
Anthony Kong's user avatar
  • 3,198

1
2 3 4 5
10