Solved

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

Posted on 2006-10-24
1
695 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
Comment Utility
"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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now