tags:

views:

180

answers:

3

I have a shared development server with many virtual directories running off one of the websites. Is it possible to reorder how these virtual directories are displayed in IIS?

I tried looking at the metadata, using the Metabase Explorer, but there doesn't seem to be anything that drives the display order.

A: 

When you say "displayed" in IIS, do you mean the Internet Services Management snap-in? If so, it's my belief that it always presents virtual directories in an alphabetically sorted order, regardless of the order they are stored in the metabase.

Jason Musgrove
Yes, I am referring to the ISM snap-in. It definitely is not displaying them in alphabetical order. It seems to be entirely random.Oddly enough, the Metabase explorer did show them in alphabetical order.
AaronS
+1  A: 

The IIS Manager shows the sites in teh order they where entered...

The only way i have found is to click on the websites folder then reorder by discription / host header in the main window to get them in alphabetical order.

TheAlbear
A: 

According to this article: http://windowsitpro.com/web/article/articleid/25937/iis-informant-using-metaedit-22-to-resequence-virtual-directories.html the vdirs are displayed in creation date order (but it can depend on IIS and Win version).

The article suggests a way to reorder them by exporting the metabase to a text file, edit file to reorder the vdirs and reimport.

AUSteve