Solved

File permissions ignored until a IIS restart

Posted on 2004-04-09
6
291 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
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
 

Expert Comment

by:riskyricky1972
ID: 11382908
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

856 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