Solved

File permissions ignored until a IIS restart

Posted on 2004-04-09
6
288 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
  • 3
6 Comments
 

Author Comment

by:tconsult
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 

Expert Comment

by:riskyricky1972
Comment Utility
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now