Hi,
I'm porting a Web site from 32 bit IIS 6 to x64 IIS 6 (Windows Server 2003
x64 R2) and I'm having trouble using an ActiveX object inside an ASP page
(old ASP, not ASP.NET). The CreateObject call fails under x64 IIS, while is
working fine under x86 IIS.
I found out that the problem may be related to the fact that the ActiveX is
based on a 32 bit DLL, while IIS runs at 64 bit.
I tryed to simply write a WSH VBS file that creates the object. If I barely
doubleclick on it it'll fail, while running it with
C:\Windows\sysW ow64\Wscript.ex e script.vbs (so using the 32 bit version on
WSH) works fine.
Now I need to find a solution to the IIS problem. Considering that:
1) I don't have the source code of the ActiveX and the company that
developed it is not releasing a 64 bit version.
2) I cannot figure out to use a different ActiveX and change hundreds of
pages to adapt to it.
3) I don't like too much to use brand new x64 hardware with old 32 bit
operating system(without considering that I spent weeks to fine tune Windows
installation).
What else could I do ??
Is there any way to run certain ASP pages in 32 bit mode ? Otherwise, is
there any way to wrap something around the ActiveX to expose it to IIS as if
it was a 64 bit code ?
I think this problem should be very common when porting old sites to 64 bit
IIS.
Any suggestion is appreciated.
Thanks.
Massimo.