987 questions
3
votes
0
answers
145
views
C# service doesn't run on Windows Server, but runs on Windows 10
I'm trying to build a background service with autostart in the background.
Core logic in console app executing from OnStart, however after several failures at debugging root cause - modified code by ...
1
vote
1
answer
70
views
Get-WmiObject : Invalid class "Win32_DCOMApplicationSetting"
When I run the below PowerShell command on a Windows Server 2016 Standard host I get the following error:
Get-WmiObject -query ('SELECT * FROM Win32_DCOMApplicationSetting WHERE AppId = "{...
1
vote
0
answers
141
views
Performance difference between two operating systems: Windows Server 2022 & Windows Server 2016
We are using 32 bit VB6 application and facing slowness in our application when using windows 2022 server. When we check in task manager, our application is split into multiple processes and executed ...
0
votes
0
answers
53
views
Get-BPA Model errors
While trying to run Get-BpaModel I'm running into:
Get-BpaModel : There has been an error while trying to set the process wide execution policy. (Inner Exception:
Windows PowerShell updated your ...
0
votes
1
answer
200
views
Unable to run WinUI3 App on Windows Server 2016 (V-1607 OS Build 14393.2248) (Virtual Machine)
I have developed one WinUI3 application and I tried to run in Windows Server 2016 V-1607(OS Build 14393.2248) (VM),
I was getting below issue (Please check the image), when I tried to run in my VM ...
0
votes
0
answers
63
views
Running Python Script via Task Scheduler returns weird characters in JSON File
I'm running a Python Script ("run whether user is logged on or not") on Windows Server 2016 every hour.
The Python Script basically just calls an API and exports the results into the JSON ...
0
votes
0
answers
42
views
Migrating an ASP application between services shows ODBC Driver error: data source name not found [duplicate]
I'm migrating an ASP application from Windows Server 2003 to Windows Server 2016, with an Oracle database located on another server.
I have already installed all the extensions that the application ...
0
votes
2
answers
3k
views
Cannot open database aspnet requested by the login. The login failed. Login failed for user IIS APPPOOL
I'm getting this error trying to access the local SQL DB for entity framework.
Would be grateful for any tip that could help.
Production server: ASPNET Core 7 web application on IIS 10, Windows server ...
0
votes
1
answer
710
views
BPA - Best Practices Analyzer is failing to run despite having 'Unrestricted' process execution
OS: Windows Server 2016 -- ver 1607 (OS Build 14393.6452)
PowerShell: 5.1.14393.6343
When attempting to run a BPA scan, it returns an error of...
get-bpamodel : There has been an error while trying to ...
1
vote
2
answers
2k
views
targetFramework="4.7.2" in web.config giving a runtime error / not recognizing ASP.NET 4.7.4076.0 is installed and enabled in IIS
We are trying to solve a rather perplexing error in an ASP.NET application (DNN / DotNetNuke) after upgrading our webservers from the EOL Windows Server 2012 R2 to 2022 (currently experiencing the ...
0
votes
0
answers
343
views
Connecting to MS Graph using TLS1.2 - SecurityProtocol resets from TLS1.2 when server is rebooted
I have a C# program which is installed on Windows Server 2016, and connects to Exchange Online via MS Graph. However, the program stops working for several hours whenever the server is rebooted. ...
0
votes
0
answers
132
views
The problem of connecting to the database from the application. The remote host forcibly terminated the existing connection
My application is on C# .net core 7 Winforms with Entity Framework 7.0. MS SQL server version 11.0.7507.2.
When connecting to the database, it gives an error
A connection was successfully established ...
-1
votes
1
answer
41
views
GlassFish hostname mapping on an AWS Ligthsail instance's public IP does not seem to work
The instance is a Windows Server 2016. It runs an Apache server (for the ports 80 and 443), and a GlassFish server (on ports 8080 and 8181). On the machine itself, everything seems to work fine when I ...
0
votes
1
answer
1k
views
Docker installation fails on Windows Server 2016
I'm trying to install Docker on my Windows server 2016 using PowerShell, but I'm encountering an issue. Here's the command I'm using:
[Net.ServicePointManager]::SecurityProtocol = [Net....
1
vote
1
answer
1k
views
IIS App Pool Crashing when App Pool User connects to fileshare
At my workplace, we use Visual Studio to create ASP.NET MVC websites for most of our in-house applications. We have one particular site that is being... obstinate with file connections. What we have ...
1
vote
0
answers
431
views
Why does .NET keeps selecting "SslProtocolsv= Default" for my app in this specific environment
I have a .NET Framework 4.8 application that I release and run of 3 environments.
This app calls a REST API that supports Tls1.2.
In one of the three environments, the app triggers the following error:...
0
votes
1
answer
162
views
WPF Custom Dictionary is NOT working after Windows Server 2019 and Windows 10 latest versions
We are running a old WPF application and due to some reasons stick with .NET 4.5 version only.
Using the following code, we are adding some custom dictionaries for every RichTextbox controls.
public ...
0
votes
1
answer
64
views
How to prepare key - value table of stored procedure arguments?
I’m preparing template for procedures with different number of arguments that process data. Long story short I’d like to return a HTML table as an output for TRY CATCH block.
Very simplified template:
...
0
votes
0
answers
36
views
How can I make my web application running on Windows Server access the network drive using Apache Tomcat?
I use Apache Tomcat as my web application services, and I installed service.bat .
when my application access the network drive I get this trouble.
firstly the applicaiton logs notice that I dont login,...
0
votes
1
answer
317
views
many postgres.exe processes show on RAMMap with 4k private bytes
Here's my software environment
OS: Windows Server 2016 version 1607
Database: PostgreSQL 12.12
Backend application: Django 4.0.8
RamMap: v1.61
I have memory leakage issue on this server and tried ...
0
votes
1
answer
4k
views
Powershell: The term 'powershell' is not recognized as the name of cmdlet
I need to run powershell/powershell.exe from commandline, in windows server 2016 which is a vm im vSphere, but it does not work, the error is as follows:
the goal I want to achive is to run ...
1
vote
1
answer
2k
views
How can I know which version of .Net is using an application in IIS?
We have migrated an application from Net version 3.5 to 4.8. The truth is that we are encountering many problems. Everything seems right, but it doesn't seem to work returns a 500 error without any ...
1
vote
1
answer
1k
views
Upgrade windows from 2012 r2 to 2019 will affect installed SharePoint 2013 [closed]
We have SharePoint 2013 installed on Windows Server 2012 R2 and we need to upgrade Windows from 2012 to 2016. My question is, will this process affect installed SharePoint or not, and what will we ...
1
vote
0
answers
445
views
Access denied for outbound DCOM authentication, but not inbound
I found an old reporting tool has been failing to run this powershell on ServerA, to query WMI from ServerB:
Get-WmiObject -Class Win32_OperatingSystem -ComputerName ServerB
Get-WmiObject : Access is ...
0
votes
1
answer
245
views
Is Internet Explorer group policy setting "EnableGlobalWindowListInIEMode" available on Windows Server 2016 / 2019?
One of our applications runs as an ActiveX component and it required the use of Internet Explorer. As Internet Explorer has now been retired, the users now access the application using Edge in IE ...