Solved

File permissions ignored until a IIS restart

Posted on 2004-04-09
6
293 Views
Last Modified: 2010-04-19
Greetings

We are using a .NET application to connect to authorize.net.  When first doing this, we were getting the following permissions error. "Unable to find an entry point named EnumerateSecurityPackagesW in DLL
security.dll"

To fix the issue, I added the ASPNET user group to the file that connects to authorize.net, gave it full control, re-started IIS,  and the error went away.  For about 5 days that is, then it returned generating the above error

When it returned, I noticed I could fix the problem by re-starting IIS.  Again, same thing.  It works again but every 4-5 days it stops working generating the above error.

In an attempt to resolve the issue once and for all, I added the ASPNET user group to the entire website and gave it modify permissions.  I also checked the box in IIS to allow script access for this site.  Again after 4 days it stopped working again generating the above error.

The least time,  I noticed that the ASPNET user group was removed from the entire web except the file I had originally set it on and the script access box had mysteriously become unchecked.  It would seem IIS permissions are being overwriiten and/or ignored.  Any clues as to why this happens and so sporadically?

Thanks....Rob
0
Comment
Question by:tconsult
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 

Author Comment

by:tconsult
ID: 10794274
Greetings all.....

My bad.  Please ignore the last paragraph above that starts with

"The least time,  I noticed that the ASPNET user group was removed from the entire web except the file I had originally..."

This was not the case.  BUT I still need to know why the file permissions are ignored every few days and why I have to re-start IIS to correct the problem.
0
 
LVL 20

Accepted Solution

by:
What90 earned 250 total points
ID: 10795146
I found this and it seems to be on the right tracks:

http://www.paypaldev.org/topic.asp?TOPIC_ID=5022


Hope it helps!
0
 

Author Comment

by:tconsult
ID: 10796700
Thank you but that is not the issue.  I have seen that documentation before and there is not a name conflict.  If there were then it would not work at all.  Again, many thanks!
0
 

Author Comment

by:tconsult
ID: 11061477
I accept What90s answer.  The problem was a file named security.dll that existed on the server.  Please not the file doesn ot need to exist on the smae website - just on the server somewhere and it will casue a problem.  Details here.
http://tconsult.com/aspnet/server2003/entry_point_EnumerateSecurityPackagesW.aspx
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question