Solved

How does IIS come up with website identification numbers "/LM/W3SVC/???" ?

Posted on 2006-10-24
1
707 Views
Last Modified: 2008-03-10
How does IIS come up with website identification numbers "/LM/W3SVC/???" ?

It doesn't seem to have any rhyme or reason on sites outside the main subsite.  We want to generate a script to feed into iiscnfg.vbs to manipulate the xml metabase but the numbering seems random on newly generated sites.

We get results like "/LM/W3SVC/18876453" for a metabase path.

Does anyone know how these are generated?

Can we alter them in the metabase without disrupting the site?

Help!!
0
Comment
Question by:itcs-css
1 Comment
 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 250 total points
ID: 17799931
"How does IIS come up with website identification numbers "/LM/W3SVC/???" ?"

Aside from the Default Web Site and a few other specific cases where a predetermined number is used the site instance is generated by taking a hash value of the friendly name of the site i.e. "Company Web" will be hashed to a numeric value and "Bob's Fish and Fry" will get hashed to a different number.

"Does anyone know how these are generated?"
Yes....  ;-)

"Can we alter them in the metabase without disrupting the site?"
Yes.  I would recommend that if you want to do this you shut down IIS and make the changes in the metabase.xml file manually.

You might be able to make the changes dynamically but I'm not sure that scenario has been tested while IIS was actively running.

Dave Dietz
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question