Running Web Applications with Delphi 2006 on Windows XP 64 bit Edition.



Hello,

I write this message because it might be usefull in the future:

I followed these steps to get the web application working on Windows XP 64
bit Edition with Delphi 2006:

Step 1:

Start the World Wide Web Publishing Service in "Administrative
Tools->Services"

Step 2:

Enable ASP.NET 1.1, 32 bit version:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>cscript
%SYSTEMDRIVE%\inetpub\admin
scripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1

Step 3:

Install ASP.NET 1.1:

%SYSTEMROOT%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i

Step 4:

Allow "ASP.NET version 1.1.4322" in "Administrative Tools -> Internet
Information Services Manager -> Web Service Extensions"

This link from microsoft contains more information how to get different
asp.net versions working:

http://support.microsoft.com/kb/894435


Bye,
Skybuck


Full text:

"

How to switch between the 32-bit versions of ASP.NET 1.1 and the 64-bit
version of ASP.NET 2.0 on a 64-bit version of Windows
View products that this article applies to.
Article ID:894435
Last Review:April 20, 2006
Revision:3.0

On This Page
INTRODUCTION
MORE INFORMATION
ASP.NET 1.1, 32-bit version
ASP.NET 2.0, 32-bit version
ASP.NET 2.0, 64-bit version
Technical support for Windows x64 editions
REFERENCES
INTRODUCTION
This article discusses how to switch between the 32-bit version of Microsoft
ASP.NET 1.1 and both the 32-bit version and the 64-bit version of ASP.NET
2.0 on a 64-bit version of Microsoft Windows.

When you install both versions of ASP.NET, you may receive error messages if
you do not perform steps to enable each ASP.NET environment to run in
Microsoft Internet Information Services (IIS) 6.0. For example, when ASP.NET
is not set up correctly, you may receive the following error message from a
Web page:
Service Unavailable
Error messages that are similar to the following may be logged in the
Application log.
Event ID: 2268
Source: W3SVC-WP
Category: None
Description:
Could not load all ISAPI filters for site/service. Therefore startup
aborted.
Event ID: 2274
Source: W3SVC-WP
Category: None
Description:
ISAPI Filter
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.40607\aspnet_filter.dll' could not
be loaded due to a configuration problem. The current configuration only
supports loading images built for a AMD64 processor architecture. The data
field contains the error number. To learn more about this issue, including
how to troubleshooting this kind of processor architecture mismatch error,
see http://go.microsoft.com/fwlink/?LinkId=29349.
Back to the top

MORE INFORMATION
IIS 6.0 supports both the 32-bit mode and the 64-bit mode. However IIS 6.0
does not support running both modes at the same time on a 64-bit version of
Windows. ASP.NET 1.1 runs only in 32-bit mode. ASP.NET 2.0 runs in 32-bit
mode or in 64-bit mode. Therefore, if you want to run ASP.NET 1.1 and
ASP.NET 2.0 at the same time, you must run IIS in 32-bit mode.

Before you can switch between the different versions of ASP.NET, visit the
following Microsoft Developer Network (MSDN) Web site to download and
install both the .NET Framework 1.1 and the .NET Framework 2.0:
http://msdn.microsoft.com/netframework/downloads/updates/default.aspx
(http://msdn.microsoft.com/netframework/downloads/updates/default.aspx)
For example, if you are running Microsoft Windows x64 Edition, download the
following two redistributable packages: .The .NET Framework Version 2.0
Redistributable Package x64 (64 Bit)
..The .NET Framework Version 1.1 Redistributable
After you install the redistributable packages, you can switch between the
different versions of ASP.NET. To do this, follow these steps for each
ASP.NET version:
Back to the top

ASP.NET 1.1, 32-bit version
To run the 32-bit version of ASP.NET 1.1, follow these steps: 1.Click Start,
click Run, type cmd, and then click OK.
2.Type the following command to enable the 32-bit mode:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET
W3SVC/AppPools/Enable32bitAppOnWin64 1
3.Type the following command to install the version of ASP.NET 1.1 and to
install the script maps at the IIS root and under:
%SYSTEMROOT%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
4.Make sure that the status of ASP.NET version 1.1.4322 is set to Allowed in
the Web service extension list in Internet Information Services Manager.

Back to the top

ASP.NET 2.0, 32-bit version
To run the 32-bit version of ASP.NET 2.0, follow these steps: 1.Click Start,
click Run, type cmd, and then click OK.
2.Type the following command to enable the 32-bit mode:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET
W3SVC/AppPools/Enable32bitAppOnWin64 1
3.Type the following command to install the version of ASP.NET 2.0 (32-bit)
and to install the script maps at the IIS root and under:
%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.40607\aspnet_regiis.exe -i
4.Make sure that the status of ASP.NET version 2.0.40607 (32-bit) is set to
Allowed in the Web service extension list in Internet Information Services
Manager.

Back to the top

ASP.NET 2.0, 64-bit version
To run the 64-bit version of ASP.NET 2.0, follow these steps: 1.Click Start,
click Run, type cmd, and then click OK.
2.Type the following command to disable the 32-bit mode:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET
W3SVC/AppPools/Enable32bitAppOnWin64 0
3.Type the following command to install the version of ASP.NET 2.0 and to
install the script maps at the IIS root and under:
%SYSTEMROOT%\Microsoft.NET\Framework64\v2.0.40607\aspnet_regiis.exe -i
4.Make sure that the status of ASP.NET version 2.0.40607 is set to Allowed
in the Web service extension list in Internet Information Services Manager.
Note The build version of ASP.NET 2.0 may differ depending on what the
currently released build version is. These steps are for build version
2.0.40607.
Back to the top

Technical support for Windows x64 editions
Your hardware manufacturer provides technical support and assistance for
Microsoft Windows x64 editions. Your hardware manufacturer provides support
because a Windows x64 edition was included with your hardware. Your hardware
manufacturer might have customized the Windows x64 edition installation with
unique components. Unique components might include specific device drivers
or might include optional settings to maximize the performance of the
hardware. Microsoft will provide reasonable-effort assistance if you need
technical help with your Windows x64 edition. However, you might have to
contact your manufacturer directly. Your manufacturer is best qualified to
support the software that your manufacturer installed on the hardware.

For product information about Microsoft Windows XP Professional x64 Edition,
visit the following Microsoft Web site:
http://www.microsoft.com/windowsxp/64bit/default.mspx
(http://www.microsoft.com/windowsxp/64bit/default.mspx)
For product information about Microsoft Windows Server 2003 x64 editions,
visit the following Microsoft Web site:
http://www.microsoft.com/windowsserver2003/64bit/x64/default.mspx
(http://www.microsoft.com/windowsserver2003/64bit/x64/default.mspx)
Back to the top

REFERENCES
For more information about 64-bit versions of Windows and the 64-bit version
of the .NET Framework, visit the following Microsoft Developer Network
(MSDN) Web sites:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/64bitwindows.asp
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/64bitwindows.asp)

http://msdn.microsoft.com/netframework/programming/64bit/default.aspx
(http://msdn.microsoft.com/netframework/programming/64bit/default.aspx)
Back to the top




APPLIES TO
..Microsoft Windows Server 2003, Standard x64 Edition
..Microsoft Windows Server 2003, Enterprise x64 Edition
..Microsoft Windows Server 2003, Datacenter x64 Edition
..Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
..Microsoft Windows XP Professional x64 Edition
..Microsoft Windows XP Professional x64 Edition

Back to the top

Keywords: kbhowto kbinfo kbwebserver kbconfig KB894435

Back to the top
"


.



Relevant Pages