By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,424 Members | 1,402 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,424 IT Pros & Developers. It's quick & easy.

Create Application Pool Identity

P: n/a
I have some code downloaded from MSDN which creates the Web Site and
Application Pool. But I can not see where to put the Application Pool
Identity and corresponding password. Also, in the web site creation, I
want to enter ServerBindings. I have the port number going there
properly, but not the hostheadername.

Without posting the whole code sample from MSDN, I offer the basics of
what I am trying to do :

CreateAppPool("IIS://localhost/W3SVC/AppPools",
"My App Pool");

SetSingleProperty("IIS://Localhost/W3SVC/12345678",
"ServerBindings",
":80:hostheader.name.localhost.com");

Names changed to protect the innocent of course.

TIA -
Brian

Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.