Questions tagged [servermanager]

93 questions
1
vote
1 answer

Programmatically create Virtual Directory in Root of website

How can I programmatically (vb.net or C#) create a Virtual Directory in the Root of website in IIS7? Using this link, it only shows you how to make one inside an application but I need it at the ROOT level of the website.
RichC
  • 7,829
  • 21
  • 85
  • 149
1
vote
0 answers

To run nodejs file on a real domain

Citations: To run nodejs file on my domain Is there a way to do like this? npm run app.js --someAction? realdomain.com:80 my case is just to run a simple single file. don't want use any web server Apache or nginx. don't want any env file. don't…
1
vote
1 answer

C# Add two HTTPS bindings with two different certificate with the ServerManager not working

I am trying to create two different bindings on two different site on IIS with C# from my website. Those 2 binding needs to be set with a certificate (one specific for each bindings). The problem is, the bindings are correctly created but the two…
ThibaultQ
  • 13
  • 2
1
vote
0 answers

Server manager, Internet information Services, Credential Service Bridge

I'm trying to create a Credential Service Bridge on a windows Machine, each time i try to Add Roles and Features through Server Manager i get this message shown below.
1
vote
1 answer

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 exist I want to take physical path and check does…
Mat Rat
  • 105
  • 1
  • 11
1
vote
1 answer

Intercepting IIS 7.0 Http requests without HttpModule (and not ISAPI)

I am working on a project that is based on the ability to 'intercept' incoming HTTP requests in IIS 7.0. I only need some basic information on what URL's are being requested within IIS at the current moment, for further processing. Is there a way to…
Denis
  • 4,718
  • 5
  • 18
  • 20
1
vote
1 answer

.Net Core Microsoft.Web.Administration ServerManager from Linux

.net core version: 2.1.500 OS: Debian 9 (4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux ) I am trying to stop/start application pool from Linux OS via ServerManager but no success. According api catalog it should…
P.A. Donak
  • 13
  • 3
1
vote
1 answer

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 windows authentication at the application level, I was…
Satish
  • 445
  • 2
  • 4
  • 15
1
vote
1 answer

how to install cPanel on docker

we have a host with Centos 7 and we installed Docker for use a container we use custom image that this custom image has active systemd . but we can not install cPanel in container. Tnx for you'r help.
1
vote
0 answers

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 ApplicationsCollection array: String application_name…
Notaras
  • 611
  • 1
  • 14
  • 44
1
vote
0 answers

ApplicationPools For Remote Server

I am trying to get a list of all the app pools for a remote server. Trying to execute my code I get this error: Retrieving the COM class factory for remote component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344} from machine '{ServerName}'…
Gericke
  • 2,109
  • 9
  • 42
  • 71
1
vote
2 answers

Why the IIS application pool is not created at all?

There is something terribly wrong below but i just cannot figure out what. Although the website is created like a charm, the Application pool that should be associated with it, is not created at all. public string Create(string sitename) { …
OrElse
  • 9,709
  • 39
  • 140
  • 253
1
vote
1 answer

How can I use Microsoft.Web.Administrator to get sites by Port number

I've an application that remotely stops/restarts app pools/sites and checks the status of the app pools/sites as well. At present these are managed using the DirectoryEntry class e.g. private DirectoryEntry FindSite(int nPort) { using (var sites…
paulmcm
  • 93
  • 4
  • 14
1
vote
1 answer

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 > Easyapache 3. all PDO check boxes are checked…
1
vote
2 answers

Why websites don't always use SSL

SSL is very important to protecting users private data on your website. The more I see SSL used on websites; I have noticed that it is not used all the time like Facebook, Ebay, Google (Youtube) etc... So my question is: Why pay for a SSL and have…