Today, I helped a customer configure the server and after testing the program, I found that the asp program prompted Server object error ASP 0178: 80070005. After testing, it was due to permission issues. Especially for those components that have just been installed, permissions need to be set manually, because for security reasons, the permissions are very low. You can refer to the following method to set it up.
Error message:
Server object error 'ASP 0178: 80070005'
Server.CreateObject access error
../asp.asp, line 123
The call to Server.CreateObject failed while checking permissions. Access to this object is denied.
As the error prompts, permissions exist.
Solution:
1. An error occurs when calling server.createObject(mssearch.application). The solution is as follows:
Start->Run->dcomcnfg
Find mssearch (the name depends on the Object you are calling), then right-click->Properties->security and give all three permissions to everyone. In fact, the first one is enough.
2. When the above problems occur, the cause is indeed a permission issue.
One solution is to modify the anonymous access permissions of IIS.
The second and easiest way is to register your component somewhere else. In particular, do not register it in some special directory on the desktop or C drive (system drive); instead, place it on drives such as D, E, etc. The reason is because usually the account you use for IIS is an account with lower system permissions. If you log in with your own account, the desktop access permissions may be higher than the IIS account permissions.
3. After checking the MS database, the solution is as follows, from aspxuexi.com asp learning network:
This article was previously published under Q315454
SYMPTOMS
When you attempt to browse to an Active Server Page (ASP) database results page created in Microsoft FrontPage, you may receive an error message similar to the following:
Program code:
Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
../config/coon.asp, line 5
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
CAUSE
This behavior can occur if incorrect NTFS permissions are defined for your %ProgramFiles%/Common Files/System folder.
RESOLUTION
To resolve your issue, reset the NTFS permissions on the %ProgramFiles%/Common Files/System folder. To do this, follow these steps:
1.. Open Windows Explorer. To do this, right-click Start and then click Explore on the shortcut menu.
2.. In Folders view, expand the %ProgramFiles%/Common Files/System folder.
3.. Right-click the folder and click Properties on the shortcut menu.
4.. Click the Security tab.
5.. Add Everyone to the existing permissions, give at least Read permissions to Everyone, and apply these new settings to all files and subfolders.
6.. Click OK.
-------------------------------------------------- ----------------------------------
If debugging locally:
To resolve the problem, reset the NTFS permissions on the %ProgramFiles%/Common Files/System folder. To do this, follow these steps:
1. Open Windows Explorer.
Right-click Start, and then click Browse on the shortcut menu.
2. In the folder view, expand the %ProgramFiles%/Common Files/System folder.
3. Right-click the folder and click Properties on the shortcut menu.
4. Click the Security tab.
5. Grant at least the existing permissions to Everyone, add Read permissions to Everyone, and apply these new settings to all files and subtitles.
6. Click OK.
-------------------------------------------------- ----------------------------------
If it is a server, give everyone permission to the relevant dll.