Solved

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

Posted on 2006-10-24
1
708 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

749 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