Sounds like what happens when IIS hasn't had ASP.NET registered with
it. Go to the virtual directory in IIS and view it's properties. Click
the Configuration button on the Directory tab. Under Mappings you
should see that .aspx, .asmx, .asax etc are all registered (and use
..NET's aspnet_isapi.dll).
If your folder isn't a Virtual Directory then it must be inheriting
it's application configuration from a higher folder.
Is this the case for all folders on this machine? If so, you just need
to register aspnet with IIS (using aspnet_regiis -i at the .NET command
prompt). If it's just the virtual, you could probably delete and
recreate it - it should get the default settings like all the others
then.
Let me know how you get on.
Josh
http://www.thejoyofcode.com/