64-bit Win2003 IIS6 running a 32-bit. NET Program

Source: Internet
Author: User

As a Web service migration, migrating from 32-bit win2003 to 64-bit win2003, the database is 32-bit Oracle on another server.

After the migration database a variety of connections, Oracle's client 32-bit loaded 64-bit, odp.net is also a variety of installed, has been a test database connection tool finally connected to the database, but 64-bit IIS can not connect the database. After a while 32 bit 64 bit, originally Oracle is not familiar with the client is also particularly large, no idle effort to study it. Let's use one of the simplest and most irresponsible ways to solve it, hum.

Change IIS under 64-bit systems to 32-bit operation.

IIS7 is simple, on the site corresponding to the application pool right-click Advanced Settings, in general, enable 32-bit applications to be true.

IIS6 a little more complicated,

1, run in command line

cscript.exe%SystemDrive%\inetpub\adminscripts\adsutil.vbs SET W3svc/apppools/enable32bitapponwin64 1
That is, modify the IIS configuration to allow 32-bit programs to run
2. Re-register. NET Frameworks
%systemroot%\microsoft.net\framework\v2.0.50727\aspnet_regiis.exe-i
3, when completed, the Web service extension for IIS will have an extra 32-bit ASP. NET set it to allow. This way, the problem is that all the sites on IIS are running in 32-bit compatibility, hehe.
4, after which a service unavailable error may occur. There may be an ISAPI filter error, and you can look at the system log. Workaround: Open iis--> View the properties of the Web site--->isapi filter-removes items with a downward red arrow and restarts Iis-->ok. Not OK to the site Properties home directory configuration of the ISAPI filter is also deleted on the OK

64-bit Win2003 IIS6 running a 32-bit. NET Program

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.