Search Persits Software Knowledge Base

 

Article PS01032115

ActiveX component can't create object / The call to Server.CreateObject failed while checking permissions

Problem Description

When trying to create an instance of a Persits component, the line of code

Set obj = Server.CreateObject("Persits. <ProgID> ")

generates the following error (Windows NT4/ IIS4):

Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object

On 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.

Solution

This is 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.

Comments

This article applies to AspUpload, AspEmail, AspEncrypt, AspJpeg, AspUser, and AspGrid.

Created: 2/8/2002 3:13:31 AM
Last Modified: 2/9/2002 3:23:28 PM

Copyright © Persits Software, Inc. 1998 - 2010
For technical support, write to support@persits.com.