Giải quyết hiệu quả vấn đề trong những mối quan hệ
By default, Windows 64-bit starts the 64-bit version of wscript.exe (the VBS interpreter). This results in the “800a01ad Active X component can’t create object” error message.
Chưa có cách nào tốt hết nhưng dưới đây là những cách tìm thấy do người ta đưa ra.
Có hai cách giải quyết vấn đề…
Create a batch file that contains the following line:
This will start the VBS script using the 32-bit version of VBS.
Change the “VBS” file extension permanently to the 32-bit version of wscript.exe, làm theo ba bước dưới đây:
The VBScript interpreter (cscript.exe/wscript.exe) comes in two flavors on a 64-bit version of Windows: a 32-bit version and a 64-bit version.
The 32-bit version can create and use 32-bit COM components only, and the 64-bit version can create and use only 64-bit COM components.
By default, .vbs files are associated with the 64-bit version. You COM component is most likely a 32-bit one, hence the error.
You can find the 32-bit version in the
%windir%\SysWOW64 folder. Launching this version should give you access to all 32-bit COM components:
To start a 32-bit command prompt, follow these steps:
* Click Start, click Run, type %windir%\SysWoW64\cmd.exe, and then click OK.
Windows 2008/Vista/7 allows some virtual directories to run in the 32-bit mode, and others in the 64-bit mode. A virtual directory is configured to run in the 32-bit mode by configuring its Application Pool to enable 32-bit application, as shown below.
Therefore, you can run the 32-bit and 64-bit versions of the Persits components side by side on Windows 2008/Vista/7. You still need separate 32-bit and 64-bit keys for all the products except AspPDF, and the key locations in the system registry are as described above.