Server/WindowServer | Posted by 아키텍처 2012. 4. 25. 08:32

Installing IIS Web Services on Server 2003 64bit

 
 

We just worked through the issues involved in getting Interprise Suite Web Services up and running on a 64 bit edition of Windows Server 2003 and IIS 6.0.  Here is what we learned:

By default, Windows 2003 runs IIS in 64 bit “mode” and won’t run 32 bit dll’s.  We got an error indicating the inability of loading one of the dll’s in the bin folder.

You’ll need to enable IIS to run in 32 bit mode.  

Step 1 – Make sure the 32 bit version of the .NET framework is installed

Look on your C: drive for:

C:\Windows\Microsoft.Net\Framework\v2.0.50727
C:\Windows\Microsoft.Net\Framework64\v2.0.50727

You should have both folders (could possibly be a newer version number).  If you don’t, go to “Add and Remove Programs” in the Control Panel and uninstall ASP.NET 2.0 and reinstall.  You’ll need to reboot your server after the install.  You should then have both folders.

Step 2 – Set IIS to run 32 bit applications

Open a DOS window and navigate to the IIS admin scripts folder which is usually at: C:\Inetpub\AdminScripts

Run the following command:

cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 true

Note that “true” sets 32 bit mode, “false” will set it back to 64 bit.

Important Note!

IIS 6 does not support running both 64 and 32 bit applications at the same time.  In order to run the 32 bit Interprise Suite Web Service dll’s, you’ll have to set IIS to run in 32 bit mode.  You won’t be able to run other 64 bit apps on this server.

Step 3 – Reregister ASP.NET 2.0

Open a DOS window and navigate to the folder containing 32 bit version of the ASP.NET 2.0 framework:

C:\Windows\Microsoft.Net\Framework\v2.0.50727
(Note – could be a newer version)

Run the following command:

aspnet_regiis.exe -i

Step 4 – Enable the 32 bit web service extensions

Open Internet Information Services Manager and navigate to “Web Service Extensions”.  Check the list as it may show both:

ASP.NET v2.0.50727
ASP.NET v2.0.50727 (32-bit)

 

IIS Manager Showing Web Service Extensions

Note that the line that doesn’t indicate (32-bit) is the 64 bit extension.

Click on the 32 bit line and click “Allow”.  Then click on the 64 bit line (if it exists) and click “Prohibit”.

Step 5 – Restart IIS

Open a DOS window and type:

IISReset

This will stop and start IIS on your server.

Done!

You’re all set, your 32 bit Interprise Suite Web Services should be up and running!


출처 : http://interprisesuite.wordpress.com/2009/04/10/installing-is-web-services-on-server-2003-64bit/

Posted by 김준홍 (http://www.Juuun.com)