|
Server.CreateObject failed
The information in this article applies to:
Microsoft Active Server Pages (ASP) when used with Internet Information Server
4.0 or 5.0 on Microsoft Windows NT 4.0 or Microsoft Windows 2000.
Symptoms
The error messages that you may see are:
Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
test.asp, line 16
The call to Server.CreateObject failed while checking permissions.
Access is denied to this object.
Or
Server object error 'ASP 0196 : 80040154'
Cannot launch out of process component
/test.asp, line 16
Only InProc server components should be used. If you want to use
LocalServer components, you must set the AspAllowOutOfProcComponents
metabase setting. Please consult the help file for important
considerations.
Cause
This can happen if your Windows NT (or 2000) machine is not setup correctly to
allow ASP scripts to run out-of-process components such as purepage. Here are
the simple steps you can take to remedy this problem:
Solution
1) Make sure
you are logged on as an Administrator.
2) If you are running Windows NT 4.0, you will need to follow the instructions at
the following URL to allow Internet Information Server to execute out-of
-process
components. Windows 2000 users do not need to do this and can skip straight to
the next step.
3) You will need to configure DCOM to allow the web user to launch o
ut-of
-
process components. This process is simple and is explained well at the following
URL:
4) The web user will need full access to the registry branch that purepage uses:
Open Regedt32.exe.
Open (and select) the branch
HKEY_LOCAL_MACHINE\SOFTWARE\Inzone Software\ClickToConvert2\
From the Security
menu, select Permissions
In the permissions window that appears, add Everyone to the list of
named users and give them Full Control.
Select the branch HKEY_LOCAL_MACHINE
\SOFTWARE
\Inzone
Software\
From the Security
menu, select Permissions
In the permissions window that appears, add
Everyone to the list of
named users
and give them Full Control.
5) Open Windows Explorer and navigate to the folder that purepage is installed in
(usually C:\Program Files
\purepage\). For this folder and every file and folder
underneath it you need to make sure that the Everyone group has Full Control
permissions. To do this (for each folder or file):
Right click on the folder or file and select Properties from the pop up
menu.
In the
Security tab, add Everyone to the list of named users and
give them Full Control.
In Windows 2000, make
sure that Allow inheritable permissions
from parent to propagate to this object is checked
this will stop
you from having to follow this procedure for every file and folder.
6) Reboot your server. This step is required because some permissions do not
work until after Windows has been restarted.
|