Rob Chartier ~ Contemplation...

.NET, C#, Work, etc.

News






www.flickr.com
This is a Flickr badge showing public photos from Rob & Kat Chartier. Make your own badge here.


Even Quicker Links

IIS6 App Mappings Bug...

Im running Windows 2003, IIS 6 and attempting to create an application mapping to the aspnet_isapi.dll to handle every incoming request (*).

In IIS5 you simply needed to provide the "*" extension so I gave that a try in IIS6.  It fails, with the error "Wrong Extension format".  This is the same for *.*, and .*.  So I decided to hit the old Help button.  It indicates:

"Type the file name extension associated with your application (or type an asterix as a wildcard character)."

This a (known) bug?  Anyone have any fix?

Elvin first pointed this out to me.  Thanks!

 

References:

http://www.aspalliance.com/nothingmn/images/IIS_AppMappings_Bug.jpg

http://www.15seconds.com/issue/030522.htm

Comments

TrackBack said:

ScottW's ASP.NET WebLog
# June 25, 2003 6:57 PM

Robert McLaws said:

have you tried ".***"?

Robert
# June 25, 2003 10:32 PM

Robert McLaws said:

I ask because maybe it lets you map stuff like ".asp*"
# June 25, 2003 10:33 PM

Rob Chartier said:


As soon as you put in a * it dont like it.
# June 25, 2003 10:47 PM

M. Keith Warren said:

I assume it is prolly a 'lock-down' feature.
# June 25, 2003 10:53 PM

Rob Chartier said:

Just tried to change it in the metabase.

Unless im a moron, i dont recommend ANYONE doing it. It messed up stuff pretty badly and didnt work.

Hopefully someone out there that is watching will be able to figgure it out.

# June 25, 2003 11:37 PM

Scott Watermasysk said:

Nope. No bug. See Here

-Scott
# June 26, 2003 1:53 AM

Scott Watermasysk said:

err...wrong link. lets try again.
# June 26, 2003 2:02 AM

Ole Lytjohan said:

Unless iam mistaken, that makes the application behave even stranger.
Known files (.aspx) in a folder wont be found
# June 26, 2003 7:18 AM

Ole Lytjohan said:

Ive tried that ScottW approach, and that seems to work, but only if you check off "verify if file exists"

but ok, that sortoff makes sense aswell :)

Works nicely with pathrewrite for nice apache like path's like host.com/page1 -> rewrite to index.aspx?id=1 etc.

Thanks
# June 26, 2003 8:35 AM

Scott Watermasysk said:

Hi Ole,

I will be releasing my blog code shortly (I know I keep saying this :D). I think you will see I have come up with something much nicer than use Context.ReWritePath.

-Scott
# June 26, 2003 11:51 AM

J said:

Hi,
Has anybody here got mapping ".*" -> aspnet_isapi.dll in XP Pro IIS 5.1?

I'm trying to do this on the default website (which shouldn't be an issue) and it gives me a "Wrong extension format" error when i type ".*", ".", or "*". Any ideas?

Cheers
# July 15, 2004 5:44 AM

J said:

.. following on from above

not sure if it makes a diff but I have IIS Lockdown/URLScan installed

but can't see how the IIS config tool interact with this to validate input for ignoring it at this stage
# July 15, 2004 5:46 AM

J said:

Sorted my problem....

Solution to my problem:

I have 'IIS Manager 5.1' (the default that comes with XP Pro) as well as IIS Manager for IIS6 (which I have installed so I can manage IIS6 websites from my desktop).

Have got into the habit of managing IIS 5.0 and IIS 5.1 with this newer version as it seems to be 100% backward compatible but obvioulsy not.

Trying to do the wild card mapping on IIS 5.1 using the IIS Manager for IIS6 on an XP Pro machine does not work.

Cheers,
# July 15, 2004 6:09 AM

TrackBack said:

# January 24, 2005 10:17 PM

D said:

Man, you don't know how much you helped me here (refering to J's post).

I've been trying all day to figure out what the heck is going on there, and all I had to do is open IIS 5 manager, instead of the IIS6 manager...

Thanks so much

# September 9, 2009 6:13 AM

Anthony said:

J, you've helped me so much!!! thanx :)

# January 26, 2010 10:06 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)