IIS 5 & IIS 6
IIS7 on Windows 2008 Server object error 'ASP 0178 : 80070005'
Last post Apr 25, 2011 12:22 PM by Danno194
Apr 22, 2011 03:29 PM|Danno194|LINK
Server.CreateObject Access Error
/generic/directory/MyApp.asp, line 153
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
OK, so I have found a bunch of stuff out there, especially for IIS 6. Im guessing this is a DLL rights issue? Or maybe a COM object?
I have been tweaking my security settings for the past day and a half, and for the life of me I cant figure out what its having issues with. Can someone point me in a direction... any direction?
Also, a lot of the documentation I have been reading says that I should have an IUSR_ComputerName account, but I only have a Admin and guest account... Is that a problem?
Apr 22, 2011 04:09 PM|HCamper|LINK
Yes, It is very likely permissions issues.
Please look at this http://forums.iis.net/t/1175041.aspx .
You need may need to Windows 2008 add Account or Roles
check this guide
Then you need to use the IIS Manager to add IUSR,IIS_USERS to the IIS Server and Web Sites
to have basic read,execute,list basic permissions.
The setting in IIS Manager in Security and Advanced Tab has a box for "Inherit Settings":
A) If the box is selected the value is True / Yes for Security Settings are "Inherited" from the Root of the server
B) If the box is un-selected value is False / No Security Settings are not "Inherited" and need to be set each time a Web Site is created.
To make sure you can execute code and create temporary files the IUSR,IIS_USERS need to have
special permission of write in the %windir%\Temp directory.
To have proper permissions for Application Pool add the IUSR,IIS_USERS to
the Directories for Application Pool User.
To allow the creation of temporary files, intermediate files the IUSR,IIS_USERS need special permissions of write
in the Application Pool temp folders or directories.
The guide for settings for users and account is in the IIS Net library
The guide for settings and directories
and IIS Server here
Hope this helps,
Apr 22, 2011 04:17 PM|HCamper|LINK
Reference for Permissions in Windows 2008 Server and
Widows 7 http://support.microsoft.com/kb/981949/en-us the guide lists the directorys
and permissions for each.
Apr 25, 2011 12:22 PM|Danno194|LINK
Well... no surprise, it was a rights issue. The only problem is, I was getting frustrated so I took a bit of a shotgun approach and somewhere inside of there was the answer, now im trying to reverse engineer the answer. I may not be able to figure out what
was specifically wrong, because I think one of my COM objects didnt get the correct permissions and it was likely fixed while I was shooting at the side of the barn.
Thanks for your help Martin, your aces in my book.