2022 Developer Survey is open! Take survey.

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
0 votes
0 answers
44 views

Exception while batch processing document with Google Cloud DocumentAI V1 - StatusCode="DeadlineExceeded"

I am trying to create PoC for Google Cloud DocumentAI V1 using this I am using DocAI to convert .pdf files into text using DocAI BatchProcessing. I have created console application with below code, ...
user avatar
  • 101
0 votes
1 answer
35 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....
user avatar
  • 103
0 votes
0 answers
131 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 ...
user avatar
  • 111
0 votes
0 answers
58 views

SSL authentication failed with 403.7 on windows server 2022

We have a list of web services & wcf project [Sslprotocols.TLS12 as hardcoded] configured with selfsigned certificates, which will be deployed in IIS & able to access the webservices ...
user avatar
  • 121
1 vote
0 answers
92 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. . . . ...
user avatar
0 votes
0 answers
41 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 ...
user avatar
  • 103
0 votes
1 answer
37 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:...
user avatar
0 votes
0 answers
21 views

.NET runtime missing after it used to exist

We manage deployment of our applications using Azure Devops. We have an application which was deployed to our UAT environment back on 9/14. It was successfully built and released within Devops, and it ...
user avatar
0 votes
0 answers
260 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. ...
user avatar
  • 145
0 votes
0 answers
38 views

Is there any inbuilt K8S.Model class for AuthConfig just like in Docker.DotNet.Models

I am having a Dokerswarm application(.Net) that is using Authconfig class for storing information [username, passord, serveraddress, tokens etc] for authenticating with the registries. The same ...
user avatar
  • 255
0 votes
0 answers
49 views

Random End of Stream encountered before parsing was completed occurs after changing server

ClickOnce client (.NET 2.0, .NET Remoting, IIS) randomly returns unhandled exception of "End of Stream encountered before parsing was completed" for some users at the start up. Some days ...
user avatar
  • 1
0 votes
0 answers
30 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 ...
user avatar
  • 1
1 vote
0 answers
94 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 ...
user avatar
1 vote
1 answer
44 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 ...
user avatar
  • 255
-2 votes
1 answer
1k 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 ...
user avatar
  • 143
1 vote
0 answers
197 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 ...
user avatar
  • 11
0 votes
1 answer
1k 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 ...
user avatar
  • 101
1 vote
1 answer
374 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 ...
user avatar
0 votes
0 answers
285 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 ...
user avatar
0 votes
0 answers
1k 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 ...
user avatar
0 votes
0 answers
1k 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 ...
user avatar
  • 1
0 votes
1 answer
860 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 ...
user avatar
  • 125
1 vote
1 answer
1k 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 ...
user avatar
  • 121
-1 votes
1 answer
235 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 ...
user avatar
  • 1
0 votes
0 answers
82 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 ...
user avatar
0 votes
1 answer
211 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 ...
user avatar
0 votes
1 answer
254 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 ...
user avatar
  • 175
3 votes
1 answer
151 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: ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
  • 113
1 vote
0 answers
206 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 ...
user avatar
  • 11
2 votes
2 answers
85 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 ...
user avatar
0 votes
1 answer
204 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 ...
user avatar
0 votes
1 answer
66 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 ...
user avatar
1 vote
3 answers
6k 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 ...
user avatar
  • 745
0 votes
2 answers
65 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 ...
user avatar
0 votes
0 answers
665 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 ...
user avatar
1 vote
1 answer
542 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 ...
user avatar
  • 185
1 vote
0 answers
124 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 ...
user avatar
0 votes
0 answers
244 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: ...
user avatar
0 votes
2 answers
521 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 ...
user avatar
3 votes
0 answers
1k 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 (...
user avatar
  • 131
0 votes
1 answer
348 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?
user avatar
  • 2,876
0 votes
0 answers
210 views

FlunetFTP and AlexFTPS unable to connect to Filezilla server under VPN

Hi i am using FluentFTP to make my own little files and folders sync software. The problem is that the connect method of FluentFTP is not working when i try to connect to a Filezilla FTP Server under ...
user avatar
  • 101
1 vote
1 answer
162 views

Windows server hardware id on Google Cloud

I have a Windows Server 2008 VM running on Google Cloud. I have a mechanical design software installed on the VM so that I can access it while on the go. The software uses a hardware id (obtained from ...
user avatar
  • 119
4 votes
2 answers
14k views

.NET Framework 4.7.2 stuck on installation and roll back on Windows Server 2016

When trying to install the .NET Framework version 4.7.2, it gets stuck on the installation and freezes here: I waited for over an hour for the .NET Framework to install, and it stayed at the same ...
user avatar
1 vote
0 answers
3k views

Windows Task Scheduler claims successful execution despite return code of -1 (0xffffffff, 4294967295)

Having a very strange case here, where a windows task scheduler job executes a C# console application at a specific time, that returns -1 in case of an error. The job is configured to rerun itself if ...
user avatar
  • 191
0 votes
0 answers
298 views

Install .Net 2.0 on Windows 10 1809 failed

I have 4 identical computers with fresh install of Windows 10 1809 pro x64 french, workgroup, no antivirus, no WSUS. The first were cloned 3 times, i made a sysprep after each clone. I want to ...
user avatar
  • 61
1 vote
0 answers
525 views

Npgsql No such host is known

No Such Host Exception I am getting the Npgsql Exception No Such Host is Known, but it only happens intermittently. This is an error being generated in a .Net application written in C#. It is trying ...
user avatar
0 votes
1 answer
165 views

Trying to connect to a REST API on my LAN using a C# program, but I get a WebException (Timeout). Telnet and browser works fine

I am running a very simple REST service using Flask on a Ubuntu Server on my local area network at home. I am trying to connect to this REST service using a simple .NET Core C# program. When I run the ...
user avatar
0 votes
1 answer
269 views

IIS does not load site bindings for HTTP protocol

I have an applicationhost.config file which is configured for both http and https protocols. <site name="Application.Namespace" id="2"> <application path="/" applicationPool="...
user avatar

1
2 3 4 5
10