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

GD Star Rating
loading...

About Hardono

Howdy! 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 11 years.

Possibly relevant:

I have deployed my CPAMS application to the production server. To my dismay, I encountered this error message:

“Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.

Provider is unable to function until these components are installed.

So far I have used these resources to resolve this problem:

  1. How To Troubleshoot an ASP-to-Oracle Connectivity Problem
  2. OTN Discussion Forums : Oracle client and networking components
  3. System.Data.OracleClient requires Oracle client software version 8.1.7 or greater

None of them able to resolve the issue. I’ll update more on this issue later on.

GD Star Rating
loading...

About Hardono

Howdy! 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 11 years.

Possibly relevant: