When trying to create an instance of a Persits component, the line of codeSet obj = Server.CreateObject("Persits. <ProgID> ")
generates the following error (Windows NT4/ IIS4):
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create objectOn Windows 2000/IIS5, the error is
Server object, ASP 0178 (0x80070005)
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
Possibility 1:This may be an NTFS permission problem. Using Windows Explorer, right-click on the appropriate component DLL (such as aspupload.dll) on the server's hard drive, select Properties/Security, and give the "Everyone" account Full Control over it.
Possibility 2:
On a 64-bit version of Windows, this error may occur if there is a mismatch between the 32-bit version of the component and 64-bit mode of IIS, or vice versa.
On Windows 2008 and 7, the Enable 32-bit Applications option of the Application Pool assigned to your virtual directory must match the bit-ness of the component. For example, if the 32-bit version of the component is installed, the option must be set to True, as follows:
On Windows 2003, there is no way to configure individual virtual directories to run in a particular mode (32-bit or 64-bit). For more information on how to configure Windows 2003 to run in a 32-bit mode, see Articl PS080519170.
This article applies to AspUpload, AspEmail, AspEncrypt, AspJpeg, AspPDF, AspUser, and AspGrid.