Create SDDL failed, Error: 1332

IisSslIis Express

Iis Problem Overview


I'm trying to use IIS Express with Visual Studio 2010 SP1.

I'm following this tutorial. When I run this command.

netsh http add urlacl url=https://Melnibone:443/ user=everyone

I get this message:

Create SDDL failed, Error: 1332

What's happening?

Iis Solutions


Solution 1 - Iis

Well, I have found the problem.

I'm running Windows 7 in Spanish, so the right command is:

netsh http add urlacl url=https://Melnibone:443/ user=todos

Funny, isn't it?

UPDATE:

If you want, you can add a comment to this question telling us how it is in your language.

Solution 2 - Iis

For me, this issue was caused because there was already an HTTP reservation for the address and port I was using when tried to add an HTTPS reservation.

I found out what was going on when I ran NETSH HTTP SHOW URLACL and saw that the address was already reserved with a different protocol.

Solution 3 - Iis

I recently ran into this issue. The solution for me was to run the command prompt as an administrator.

Solution 4 - Iis

I want to add that it might be the installation language. I had to use the german word "jeder" though my system language was english.

Solution 5 - Iis

I know this question was asked a long time ago, but as there is no general answer yet, so i thought i'll share my approach. There's an easy way to filter for this with a few batch commands.

for /f "skip=1delims=" %%a in (
   'wmic sysaccount where "SID='S-1-1-0'" get name'
) do set "sid=%%a"&goto next
:next

The loop is necessary because the "get name" part gives the whole table with the heading so we filter for the second line. This code then stores the value of the SID according to your locale in the "sid" variable, so you only have to refer to this when you want to use it.

In this case the whole code would look like this:

for /f "skip=1delims=" %%a in (
   'wmic sysaccount where "SID='S-1-1-0'" get name'
) do set "sid=%%a"&goto next
:next
netsh http add urlacl url=https://Melnibone:443/ user=%sid%

NOTE: How you filter for the second line is up to you, the real "magic" happens in this line:

wmic sysaccount where "SID='S-1-1-0'" get name

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionVansFannelView Question on Stackoverflow
Solution 1 - IisVansFannelView Answer on Stackoverflow
Solution 2 - IisJoshView Answer on Stackoverflow
Solution 3 - IisJeannine LeeView Answer on Stackoverflow
Solution 4 - IisValon_IncView Answer on Stackoverflow
Solution 5 - IisKevin ScheerenView Answer on Stackoverflow