browse by category or date

Woohoo

Earlier today, I blogged about the connection problem between IIS and Oracle. I finally found the answer. The problem is actually very simple, it is related to NTFS File permission.

All this time I thought that when you give a user permission to a parent folder, the permission will automatically inherited by the child folders and files (if you click the Advanced button in Folder’s Properties – Security tab, the “Inherit from parent the permission entries that apply to child objects. ….” is checked by default).

So I did add full-control permission to the Oracle Home folder for the IIS Anonymous User account as recommended by Microsoft Knowledge Base. But it didn’t help.

After trying to use the Oracle OLE DB Provider (provided by Oracle, previously using the one provided by Microsoft), I encountered a new error message. I googled for it, and I found that I must REPLACE the child objects’ NTFS security permission in the Oracle Home Folder to make the parent’s folder NTFS security permission transcended to the child objects.

So remember, after added the IIS Anonymous User (IUSR_…) to Oracle Home’s folder, we need to force the permission to apply to its child folders and files. Hopefully the following screenshots will help.

Folder - Properties - Security - Advanced

About Hardono

Hi, I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 9 years.

Incoming Search

iis oracle connection problem, oracle iis, https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1837 T1aT8KTGF2Z0CMjypnjmtdw9YEzaMFSyIzpvAfw1FQQ eb6f987a48e45c3bf7fa809644a3a09f9a7d2637&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXmeppkgUc0YM1sNxN_KHOPAD

1 comment so far

Add Your Comment
  1. Thanks