14. maj 2015|Notater, Windows|

Visual Studio: IIS Express webserver

Documentation for IIS express:

%USERPROFILE%\Documents\IISExpress\config\application.host.config

<site name="Backend" id="2">
    <application path="/" applicationPool="Clr4IntegratedAppPool">
        <virtualDirectory path="/" physicalPath="D:\source\c5-backend-v09\c5backend" />
    </application>
    <bindings>
        <binding protocol="http" bindingInformation="*:61000:localhost" />
    </bindings>
</site>

change to

<site name="Backend" id="2">
    <application path="/" applicationPool="Clr4IntegratedAppPool">
        <virtualDirectory path="/" physicalPath="D:\source\c5-backend-v09\c5backend" />
    </application>
    <bindings>
        <binding protocol="http" bindingInformation="*:61000:*" />
    </bindings>
</site>

then

λ netsh http add urlacl url=http://*:61000/ user=everyone

What ?!?

Create SDDL failed, Error: 1332

A Google search gave an indirect answer.

It turns out the user-parameter need to be expressed in the OS locale.

That is with danish locale everone=alle so

λ netsh http add urlacl url=http://*:61000/ user=alle

URL reservation successfully added
Share this Post: