Discussion:
IIS 7 error message installing on Server core
(too old to reply)
bstillion
2008-12-11 13:53:01 UTC
Permalink
Hello all,
I have successfully installed IIS 7 on a virtual machine install of Server
Core as
outlined here
http://blogs.technet.com/jorke/archive/2008/06/05/installing-ftp-with-iis7-on-2008-server-core.aspx

but have encountered this error when attempting to "add the appropriate
bindings
to the site" as the instructions describe. Here is my input and the
resulting error.
Any thoughts?

C:\>c:\windows\system32\inetsrv\appcmd.exe set site /site.name:"Default web
Site" /+bindings.[portocol='ftp',bindingINformation="*:21"]

ERROR ( message:Malformed collection indexer; format is
[@position,name='value',
name2='value2',...]. The @position specifier is optional, and be '@start',
'@en
d', or '@N' where N is a numeric index into the collection. )
--
BStillion
Portland ME
Daniel Crichton
2008-12-11 14:59:17 UTC
Permalink
Post by bstillion
Hello all,
I have successfully installed IIS 7 on a virtual machine install of Server
http://blogs.technet.com/jorke/archive/2008/06/05/installing-ftp-with-
iis7-on-2008-server-core.aspx
but have encountered this error when attempting to "add the appropriate
bindings to the site" as the instructions describe. Here is my input
and the resulting error.
Any thoughts?
C:\>c:\windows\system32\inetsrv\appcmd.exe set site /site.name:"Default web
Site" /+bindings.[portocol='ftp',bindingINformation="*:21"]
ERROR ( message:Malformed collection indexer; format is
index into the collection. )
Is that an exact copy-paste? If so, you've spelt protocol as portocol. Also,
I'm not sure if the site name is case sensitive, but you have a lower case w
for web instead of Web. And finally you're missing the : after the 21, it
should be "*:21:".

Did you have any issues with the uninstall steps? Or the install of the new
FTP service?

I've haven't touched Core (or Windows 2008 yet) although I've heard good
things, although most people will probably want to wait for the R2 release
because Core doesn't support ASP.NET on IIS7 yet (I had a long chat to the
staff on the Windows Server 2008 stand at TechEd Developer last month while
taking a break from the stand I was working on :) ).
--
Dan
bstillion
2008-12-11 15:40:29 UTC
Permalink
Daniel,
That was a direct copy/paste. I have corrected the syntax errors and pasted
both below:

C:\>c:\windows\system32\inetsrv\appcmd.exe set site /site.name:"Default Web
Site" /+bindings.[protocol='ftp',bindingInformation="*:21:"]

ERROR ( message:Malformed collection indexer; format is
[@position,name='value',
name2='value2',...]. The @position specifier is optional, and be '@start',
'@en
d', or '@N' where N is a numeric index into the collection. )

The uninstall went fine. I initially got an error when installing the latest
version of IIS 7 relating to Windows Activation Service Process Model not
being installed. Once I used the CoreConfigurator utility to install WAS and
then the WAS-process model, the error was fixed and the installation
succeeded.
--
BStillion
Portland ME
Post by Daniel Crichton
Post by bstillion
Hello all,
I have successfully installed IIS 7 on a virtual machine install of Server
http://blogs.technet.com/jorke/archive/2008/06/05/installing-ftp-with-
iis7-on-2008-server-core.aspx
but have encountered this error when attempting to "add the appropriate
bindings to the site" as the instructions describe. Here is my input
and the resulting error.
Any thoughts?
C:\>c:\windows\system32\inetsrv\appcmd.exe set site /site.name:"Default web
Site" /+bindings.[portocol='ftp',bindingINformation="*:21"]
ERROR ( message:Malformed collection indexer; format is
index into the collection. )
Is that an exact copy-paste? If so, you've spelt protocol as portocol. Also,
I'm not sure if the site name is case sensitive, but you have a lower case w
for web instead of Web. And finally you're missing the : after the 21, it
should be "*:21:".
Did you have any issues with the uninstall steps? Or the install of the new
FTP service?
I've haven't touched Core (or Windows 2008 yet) although I've heard good
things, although most people will probably want to wait for the R2 release
because Core doesn't support ASP.NET on IIS7 yet (I had a long chat to the
staff on the Windows Server 2008 stand at TechEd Developer last month while
taking a break from the stand I was working on :) ).
--
Dan
Daniel Crichton
2008-12-11 15:58:50 UTC
Permalink
Given the error message, I wonder if the double quotes around the *:21: are
correct. The message states that the format is

name='value',name2='value2'

Can you try it with '*:21:' instead?

Otherwise, I can't think of anything. Hopefully someone else who has managed
this install themselves will be able to help.

Dan
Post by bstillion
Daniel,
That was a direct copy/paste. I have corrected the syntax errors and
C:\>c:\windows\system32\inetsrv\appcmd.exe set site /site.name:"Default Web
Site" /+bindings.[protocol='ftp',bindingInformation="*:21:"]
ERROR ( message:Malformed collection indexer; format is
index into the collection. )
The uninstall went fine. I initially got an error when installing the
latest version of IIS 7 relating to Windows Activation Service Process
Model not being installed. Once I used the CoreConfigurator utility to
install WAS and then the WAS-process model, the error was fixed and
the installation succeeded.
--
BStillion
Portland ME
Post by Daniel Crichton
Post by bstillion
Hello all,
I have successfully installed IIS 7 on a virtual machine install of Server
http://blogs.technet.com/jorke/archive/2008/06/05/installing-ftp-
with-
iis7-on-2008-server-core.aspx
but have encountered this error when attempting to "add the
appropriate bindings to the site" as the instructions describe. Here
is my input and the resulting error.
Any thoughts?
C:\>c:\windows\system32\inetsrv\appcmd.exe set site
/site.name:"Default web
Site" /+bindings.[portocol='ftp',bindingINformation="*:21"]
ERROR ( message:Malformed collection indexer; format is
a numeric index into the collection. )
Is that an exact copy-paste? If so, you've spelt protocol as
portocol. Also,
I'm not sure if the site name is case sensitive, but you have a lower
after the 21, it should be "*:21:".
Did you have any issues with the uninstall steps? Or the install of the new
FTP service?
I've haven't touched Core (or Windows 2008 yet) although I've heard
good things, although most people will probably want to wait for the
R2 release because Core doesn't support ASP.NET on IIS7 yet (I had a
long chat to the staff on the Windows Server 2008 stand at TechEd
Developer last month while taking a break from the stand I was
working on :) ).
--
Dan
bstillion
2008-12-11 16:28:01 UTC
Permalink
Dan,
Thanks! Chaning to single quotes around *:21: fixed the error.
Below is the my input and the output:

C:\>c:\windows\system32\inetsrv\appcmd.exe set site /site.name:"Default Web
Site" /+bindings.[protocol='ftp',bindingInformation='*:21:']
SITE object "Default Web Site" changed

Very much appreciated!
--
BStillion
Portland ME
Post by Daniel Crichton
Given the error message, I wonder if the double quotes around the *:21: are
correct. The message states that the format is
name='value',name2='value2'
Can you try it with '*:21:' instead?
Otherwise, I can't think of anything. Hopefully someone else who has managed
this install themselves will be able to help.
Dan
Post by bstillion
Daniel,
That was a direct copy/paste. I have corrected the syntax errors and
C:\>c:\windows\system32\inetsrv\appcmd.exe set site /site.name:"Default Web
Site" /+bindings.[protocol='ftp',bindingInformation="*:21:"]
ERROR ( message:Malformed collection indexer; format is
index into the collection. )
The uninstall went fine. I initially got an error when installing the
latest version of IIS 7 relating to Windows Activation Service Process
Model not being installed. Once I used the CoreConfigurator utility to
install WAS and then the WAS-process model, the error was fixed and
the installation succeeded.
--
BStillion
Portland ME
Post by Daniel Crichton
Post by bstillion
Hello all,
I have successfully installed IIS 7 on a virtual machine install of Server
http://blogs.technet.com/jorke/archive/2008/06/05/installing-ftp-
with-
iis7-on-2008-server-core.aspx
but have encountered this error when attempting to "add the
appropriate bindings to the site" as the instructions describe. Here
is my input and the resulting error.
Any thoughts?
C:\>c:\windows\system32\inetsrv\appcmd.exe set site
/site.name:"Default web
Site" /+bindings.[portocol='ftp',bindingINformation="*:21"]
ERROR ( message:Malformed collection indexer; format is
a numeric index into the collection. )
Is that an exact copy-paste? If so, you've spelt protocol as portocol. Also,
I'm not sure if the site name is case sensitive, but you have a lower
after the 21, it should be "*:21:".
Did you have any issues with the uninstall steps? Or the install of the new
FTP service?
I've haven't touched Core (or Windows 2008 yet) although I've heard
good things, although most people will probably want to wait for the
R2 release because Core doesn't support ASP.NET on IIS7 yet (I had a
long chat to the staff on the Windows Server 2008 stand at TechEd
Developer last month while taking a break from the stand I was
working on :) ).
--
Dan
Daniel Crichton
2008-12-11 16:30:52 UTC
Permalink
Glad to have been of help :)

Dan
Post by bstillion
Dan,
Thanks! Chaning to single quotes around *:21: fixed the error.
C:\>c:\windows\system32\inetsrv\appcmd.exe set site /site.name:"Default Web
Site" /+bindings.[protocol='ftp',bindingInformation='*:21:']
SITE object "Default Web Site" changed
Very much appreciated!
--
BStillion
Portland ME
Post by Daniel Crichton
Given the error message, I wonder if the double quotes around the
*:21: are correct. The message states that the format is
name='value',name2='value2'
Can you try it with '*:21:' instead?
Otherwise, I can't think of anything. Hopefully someone else who has
managed this install themselves will be able to help.
Dan
Post by bstillion
Daniel,
That was a direct copy/paste. I have corrected the syntax errors and
C:\>c:\windows\system32\inetsrv\appcmd.exe set site
/site.name:"Default
Web
Site" /+bindings.[protocol='ftp',bindingInformation="*:21:"]
ERROR ( message:Malformed collection indexer; format is
a numeric index into the collection. )
The uninstall went fine. I initially got an error when installing
the latest version of IIS 7 relating to Windows Activation Service
Process
Model not being installed. Once I used the CoreConfigurator utility
to install WAS and then the WAS-process model, the error was fixed
and the installation succeeded.
--
BStillion
Portland ME
Post by Daniel Crichton
Post by bstillion
Hello all,
I have successfully installed IIS 7 on a virtual machine install
of
Server
http://blogs.technet.com/jorke/archive/2008/06/05/installing-ftp-
with-
iis7-on-2008-server-core.aspx
but have encountered this error when attempting to "add the
appropriate bindings to the site" as the instructions describe.
Here is my input and the resulting error.
Any thoughts?
C:\>c:\windows\system32\inetsrv\appcmd.exe set site
/site.name:"Default web
Site" /+bindings.[portocol='ftp',bindingINformation="*:21"]
ERROR ( message:Malformed collection indexer; format is
is a numeric index into the collection. )
Is that an exact copy-paste? If so, you've spelt protocol as portocol. Also,
I'm not sure if the site name is case sensitive, but you have a
lower case w for web instead of Web. And finally you're missing
after the 21, it should be "*:21:".
Did you have any issues with the uninstall steps? Or the install of the new
FTP service?
I've haven't touched Core (or Windows 2008 yet) although I've heard
good things, although most people will probably want to wait for the
R2 release because Core doesn't support ASP.NET on IIS7 yet (I had
a long chat to the staff on the Windows Server 2008 stand at
TechEd
Developer last month while taking a break from the stand I was
working on :) ).
--
Dan
Loading...