?
Solved

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

Posted on 2006-10-24
1
Medium Priority
?
711 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 1000 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

764 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