Questions tagged [httpcfg.exe]

9 questions
21
votes
2 answers

.NET or Win32 Equivalent of "netsh http add urlacl" command

There are several questions around how to allow a self-hosted WCF application to use BasicHttpBinding with HTTP.SYS without requiring administrative privileges. It boils down to needing to grant permission (from an admin context) to the URL, then…
Travis
  • 2,654
  • 4
  • 26
  • 46
16
votes
3 answers

Getting Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error

I know there are a lot of questions related to same topics at stackoverflow, but here i have some different issues: I used the installer class to reserve a port and bind it with hash on win7/Winxp: if (Environment.OSVersion.Version.Major > 5) { …
Amit Pal
  • 10,604
  • 26
  • 80
  • 160
3
votes
3 answers

Configuring Namespace Reservations on Windows XP 64 bit

I need to register HTTP URL namespace to a particular group of users. On MSDN it is explained that I have to use HttpCfg.exe which appears that doesn't exists for Windows XP 64 bit. Does anyone has an idea on how to do this? Regards, Mita
Mita
  • 243
  • 5
  • 11
2
votes
1 answer

wcf System.ServiceModel.AddressAlreadyInUseException

Apologies if this question appears twice on stackOverflow Im trying to run a wcf service on a windows server 2003 box. Im getting a System.ServiceModel.AddressAlreadyInUseException exception when the servicehost calls Open() and it tells gives me…
Dav Evans
  • 4,031
  • 7
  • 41
  • 60
2
votes
3 answers

Configure a Port with an SSL Certificate w\o using Httpcfg

When one develops a self-hosted WCF http server, one of the steps needed is to bind an SSL certificate to a port number: httpcfg set ssl -i 0.0.0.0:8012 -h 0000000000003ed9cd0c315bbb6dc1c08da5e6 as stated…
Dudi
  • 2,340
  • 1
  • 24
  • 39
1
vote
1 answer

WCF service httpcfg issue

We currently have a situation where we have a WCF service which generates custom excel reports for clients. This service is hosted in a windows service and uses net.tcp bindings. We have redeveloped this service to add a http binding so ASP.NET…
Mick Walker
  • 3,862
  • 6
  • 47
  • 72
1
vote
1 answer

Use DNS with IIS Express Under Windows XP

I'm setting up VS2010 SP1 with IIS 7.5 Express so I can use SSL in my Dev environment. Following Scott Hanselman's excellent post here is working for me. The only problem is he's running on Windows 7 (I assume), where I'm on XP. The bit that trips…
Ben McIntyre
  • 1,972
  • 17
  • 28
0
votes
1 answer

PCF auto drop and start application in non-buisness hours

I am new to pcf and working on a task for drop all instances on a particular time. I need drop all apps instances during non business hours and bring it back before start of business hours?
-1
votes
2 answers

Can I distribute Windows Support Tools with my package?

I'm using httpcfg.exe tool from my program. So for the computers that don't have httpcfg in them, can I distribute this tool packaged with my program? Or if I could include Windows Support Tools msi, that would work too, although that would…
rabin
  • 369
  • 5
  • 15