Using ASP.NET 1.1 on a machine with 2.0 installed

  • Thread starter Jon Skeet [C# MVP]
  • Start date
J

Jon Skeet [C# MVP]

I've recently run into an issue with a webapp running under ASP.NET
2.0. It runs fine under ASP.NET 1.1, and everything still works with
both versions installed so long as I manually select ASP.NET version
1.1 in the MMC. However, I'd rather do it in a configuration file or
something similar - is there any way of programmatically selecting
ASP.NET 1.1 rather than 2.0? Obviously in the future I'd like to make
the webapp work with 2.0, but fixing the working state in the first
place is more urgent.

I've looked for answers in various places, but they only seem to
mention the MMC. Is the version property available from scripting,
perhaps, if web.config doesn't help? (I can't find anything in
web.config which looks appropriate.)

Note that I don't want to configure the whole web site to run ASP.NET
1.1, just the single webapp.

Thanks,
Jon Skeet
 
C

Christopher Reed

Jon,

I believe you have discovered the two more straightforward ways to configure
a web application for a particular version of .NET. To be honest, while I'm
not that much of a GUI guy, I like the configuration tab in IIS. (The
jury's still out on the web.config configuration button however.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top