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/
'Server > WindowServer' 카테고리의 다른 글
WindowServer 2008 작업 스케줄러를 이용한 서버 자동 리부팅(2) (2) | 2012.08.13 |
---|---|
DNS 주소 리스트 (0) | 2012.08.10 |
WindowServer 2000,2003 예약된 작업을 이용한 서버 자동 리부팅(1) (0) | 2012.08.09 |
Window2008 R2 IIS 사이트 설정 및 로그 기록 (0) | 2012.04.25 |
WindowServer DLL파일 등록 (0) | 2012.04.25 |