Delphi Clinic C++Builder Gate Training & Consultancy Delphi Notes Weblog Dr.Bob's Webshop
Bob Swart (aka Drs.Bob) Dr.Bob's Delphi Clinics Dr.Bob's Delphi Courseware Manuals
View Bob Swart's profile on LinkedIn Drs.Bob's Delphi Notes
These are the voyages using Delphi Enterprise (and Architect). Its mission: to explore strange, new worlds. To design and build new applications. To boldly go...

Virtual directory is not configured with ASP.NET version 1.1

Author: Bob Swart
Posted: 1/17/2007 4:41:39 PM (GMT+1)

I've been hearing reports of Delphi for .NET developers who are getting error messages trying to run ASP.NET applications on web servers (that happen to have both ASP.NET 1.1 and 2.0 on them).

Basically, when you (or your ISP) have installed (ASP).NET 1.1 and (ASP).NET 2.0 on the same machine, then you can manually configure each virtual directory and specify which version of ASP.NET should be used for that application. By default, it's set to 2.0 (which you may have noticed), but you can set it to 1.1 manually.

The steps are as follows:

Right-click on "My Computer" and select "Manage", open "Services and Applications", open "Internet Information Services (IIS)", open "Web Sites" and then open all the way until you've found your virtual directory. Right-click on it, select Properties and in the dialog that follows, go to the ASP.NET tab. Here, you can specify the ASP.NET version (with ASP.NET 1.1 and 2.0 on the same machine, you can choose between 1.1.4322 and 2.0.50727).

These steps were not mentioned in my ASP.NET 1.1 Web Development courseware, since .NET 2.0 was released after these works were finished. But I should add it, and will send all people who bought a copy a new PDF file later this month (or early next month).



Greg 07/04/13 16:45:41I'm getting this running under IIS7 with Vista -- how do you get it to run the app under 1.1?
Bob Swart 07/04/13 23:27:05You need to make sure (ASP).NET 1.1 is installed on Windows Vista - which may not be the case (by default). After you've installed .NET 1.1, you can configure the virtual directory for ASP.NET 1.1 as described above.

New Comment (max. 2048 characters, no HTML):


This webpage © 2005-2017 by Bob Swart (aka Dr.Bob - All Rights Reserved.