C:\Users\Administrator>REM Create Application Pool
C:\Users\Administrator>C:\Windows\system32\inetsrv\Appcmd add AppPool -name:Pool
_Site100 -processModel.username:\PoolId100 -processModel.password:PoolIDPwd100 -
processModel.identityType:SpecificUser
ERROR ( message:Failed to add duplicate collection element "Pool_Site100". )
C:\Users\Administrator>REM Creating a site with the content, freb and log
C:\Users\Administrator>REM configuration entries set to the directories we creat
ed and
C:\Users\Administrator>REM secured before.
C:\Users\Administrator>C:\Windows\system32\inetsrv\AppCmd add site -name:Site100
-bindings:http/*:80:Site100 -physicalPath:C:\WWW\Site100\wwwroot ûlogfile.direc
tory:C:\WWW\Site100\logs\logfiles -traceFailedRequestsLogging.directory:C:\WWW\S
ite100\logs\failedReqLogfiles
ERROR ( message:The identifier is not supported in the current command usage. Y
ou specified "ûlogfile.directory:C:\WWW\Site100\logs\logfiles". )
C:\Users\Administrator>REM Now assign the root application of the newly created
web-site
C:\Users\Administrator>REM to its Application Pool
C:\Users\Administrator>C:\Windows\system32\inetsrv\Appcmd set app -app.name:"Sit
e100/" -applicationPool:Pool_Site100
ERROR ( message:Cannot find APP object with identifier "Site100/". )
SOOO WT* happened?
I'm confused ( OH AND I'm aware of the duplicate entry stuff, I already executed the script, I just edited it and tried again, but same errors - the non duplicate errors)
starpg
77 Posts
Re: Using FTP accounts
Oct 22, 2007 07:24 AM|LINK
you mean the tutorial for web hosting on IIS - 100-1000 sites one?
starpg
77 Posts
Re: Using FTP accounts
Oct 22, 2007 08:48 AM|LINK
okay.
big problem sort of.
I am getting a huge error in the command-line input in the Shared hosting article.
I'm entering the command line code from "Step 4 and 5" :
Step 5: Creating Application Pools and Sites:
(This is the result of every one of the 100)
The command line error's I'm getting back are:
C:\Users\Administrator>C:\createappsandsites.bat 100
C:\Users\Administrator>REM Create Application Pool
C:\Users\Administrator>C:\Windows\system32\inetsrv\Appcmd add AppPool -name:Pool
_Site100 -processModel.username:\PoolId100 -processModel.password:PoolIDPwd100 -
processModel.identityType:SpecificUser
ERROR ( message:Failed to add duplicate collection element "Pool_Site100". )
C:\Users\Administrator>REM Creating a site with the content, freb and log
C:\Users\Administrator>REM configuration entries set to the directories we creat
ed and
C:\Users\Administrator>REM secured before.
C:\Users\Administrator>C:\Windows\system32\inetsrv\AppCmd add site -name:Site100
-bindings:http/*:80:Site100 -physicalPath:C:\WWW\Site100\wwwroot ûlogfile.direc
tory:C:\WWW\Site100\logs\logfiles -traceFailedRequestsLogging.directory:C:\WWW\S
ite100\logs\failedReqLogfiles
ERROR ( message:The identifier is not supported in the current command usage. Y
ou specified "ûlogfile.directory:C:\WWW\Site100\logs\logfiles". )
C:\Users\Administrator>REM Now assign the root application of the newly created
web-site
C:\Users\Administrator>REM to its Application Pool
C:\Users\Administrator>C:\Windows\system32\inetsrv\Appcmd set app -app.name:"Sit
e100/" -applicationPool:Pool_Site100
ERROR ( message:Cannot find APP object with identifier "Site100/". )
SOOO WT* happened?
I'm confused ( OH AND I'm aware of the duplicate entry stuff, I already executed the script, I just edited it and tried again, but same errors - the non duplicate errors)
qbernard
5016 Posts
MVP
Moderator
Re: Using FTP accounts
Oct 22, 2007 08:54 AM|LINK
Errr. shared hosting? We are talking about ftp right?
I'm referring to this article.
http://www.iis.net/articles/view.aspx/IIS7/Managing-IIS7/Using-FTP-Server-in-IIS7/Creating-a-New-FTP-Site
Bernard Cheah
starpg
77 Posts
Re: Using FTP accounts
Oct 22, 2007 02:08 PM|LINK
see That article explains how to do things the exact way I don't want to, using Windows Accounts. I want an easier way of authentication.
oh and I'd still like some assistance with my problem up there. That would be nice
qbernard
5016 Posts
MVP
Moderator
Re: Using FTP accounts
Nov 06, 2007 05:01 AM|LINK
it has the section on how to deal with IIS Manager user, i followed the instruction and got not error.
Bernard Cheah