94 questions
0
votes
1
answer
6k
views
How to fix 0x80073701 error while installing IIS service on Azure Windows Server 2019?
I am facing error while installing IIS service on my Azure Windows Server 2019 from both the options i.e., through Server manager and via PowerShell command.
I checked various article to fix it but ...
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 ...
3
votes
0
answers
5k
views
error ServerManager' object has no attribute 'user_info' in pgAdmin 4, when trying to connect to a remote Server
When I try to connect to a remote database using pgAdmin 4 this error appears after having put all credentials info correctly
image of the issue
Version of my pgAdmin is what appears in the image
...
0
votes
0
answers
853
views
Can’t find Active Directory after installing it on the Server 2019
I installed AD step-by step as required PS query, but in result can’t find it anywhere. I can only access that through Powershell by commands.
The exact problem is that there are no such option in ...
0
votes
0
answers
277
views
php my admin to link my sql database localhost directory doesn't exist
This is what I get when trying to log into phpmyadmin through wamp server:
I have tried all of the solutions that could be found on the internet excluding the one using server manager because i don't ...
1
vote
1
answer
7k
views
Server Manager.exe - .NET Framework Initialization Error
I'm using Azure VM with Windows Server 2022 Datacenter 21H2. Two weeks back, I created it, and from the end of last week, the server manager was not working. It gives an error.
" To run this ...
0
votes
0
answers
791
views
Access requirements to start/stop IIS application pools remotely
When trying to stop/start IIS application pool on a remote server using
Invoke-Command -ComputerName $HostName -ScriptBlock {
param($ServiceName)
Start-WebAppPool -Name $...
0
votes
0
answers
169
views
Error while updating web.config via ServerManager - Cannot write configuration file - shows wrong path of web.config in error
As part of installer code, we are trying to make changes to IIS (check and create virtual directory, followed by adding a section to its web.config file.
Installer was working fine till recently a ...
0
votes
0
answers
612
views
ServerManager.CommitChanges() caused exception on applicationHost.config
When applying code like
using (ServerManager serverManager = new ServerManager())
{
var site = serverManager.Sites.SingleOrDefault(s => s.Name == siteName);
...
0
votes
1
answer
313
views
Configuring WebDav through ServerManager
I want to configure my IIS virtual folder to enable WebDav publishing. I can easily do it manually but I wanted to do the same thing via code, in C#.
I have no problem in creating sites or virtual ...
0
votes
1
answer
268
views
Gracefully scale down heroku web dynos
Heroku has great utilities to manage web dynos. When we do a small release we use Preboot to gracefully switch over web dynos over to the new release.
However, if you want to scale down your web dynos,...
1
vote
1
answer
677
views
ServerManager iis check default site wasnt change c#
I need to overwritte Default Site if isnt use, overwrite it if the user decides so or create a new one.
I am trying check all sites, and take this with port 80 and name "Default Web Site". Next if it ...
0
votes
2
answers
442
views
How do I modify an IIS FTP Authorization Rule for a specific path in C#?
In Server 2008+ I am programatically creating new folders in a virtual directory, Reports, in the FTP site. I can create a new FTP Authorization Rule for each new file path with:
using (...
0
votes
1
answer
199
views
ServerManager.GetAdministrationConfiguration is empty on IIS 7.5
I want to manage IIS (versions 7-10) by using C# ServerManager сlass.
Locally GetAdministrationConfiguration method returns 1 section group and 2 sections in administration config (see code below).
...
2
votes
1
answer
425
views
Set windows authentication at individual service level using Microsoft web Administration C#
Need your guidance on an issue I am facing currently.
We have a web application, which have some asp.net web services(asmx) under sub directories of the application.
Whenever we are configuring ...
0
votes
1
answer
275
views
WCF Service running under app pool impersonating domain user account prints to network printer for one domain account but not another
I am using Windows Server 2016. Running on Windows 10 machine.
We had a system administrator who recently left our company. He set up the web server so I had rights to it and such. If I impersonate ...
1
vote
0
answers
106
views
insufficient permissions while iterating through SiteCollection of a ServerManager object
I'm writing a function which will determine whether a particular web application exists in IIS. It works by iterating through the available sites and then checks if the particular key is in the ...
2
votes
0
answers
98
views
ServerManager not finding the correct Webserver
Im using Microsoft.web.administration class to find all sites in IIS. It executes without any issue, but returning sites from another webserver. I guess its IIS express on my PC as part of VS. So how ...
2
votes
2
answers
19k
views
Controlling a minecraft server with python
I've searched a lot for this and have not yet found a definitive solution. The closest thing I've found is this:
import shutil
from os.path import join
import os
import time
import sys
minecraft_dir ...
0
votes
1
answer
787
views
Stop App Pools from Application's Physical Path - ServerManager C#
Using the ServerManager class is it possible to get the app pool name from the physical path for an application? I have been testing with the following code:
using (var manager = new ServerManager())
...
0
votes
0
answers
76
views
Import IIS Application (With WebDeployPackage) programmatically
I'm creating an MVC Application installer and I need to update a given application with packages that my company gives.
I already tried to use ServerManager class from System.Web.Administration, but ...
1
vote
1
answer
359
views
Cant Enable PDO features from whm panel
I have dedicated server and installed WHM and cPanel as well on server but I can access PDO features. It gives message like
Fatal error: Class 'PDO' not found in /home...
I checked from WHM panel > ...
0
votes
1
answer
2k
views
separate IIS binding for application
I am trying to deploy a website by using program IN IIS 7 using c#.
i want to deploy the application under Default website.
the application should have a different port number (90) that is separate ...
2
votes
1
answer
2k
views
Can I use ServerManager from Microsoft.Web.Administration without admin user as an application pool identity
I want to read some settings of the application pool using the ServerManager object from the Microsoft.Web.Administration.dll. The problem is that it works only if the identity of the application pool ...
0
votes
1
answer
1k
views
ServerManager queries throws exception
I am trying to get the Application pools on a local system which I am the administrator using this code
Dim ServerManager As New Microsoft.Web.Administration.ServerManager
colAppPools = ServerManager....