Groups | Blog | Home
all groups > iis security > october 2005 >

iis security : IIS 6 URL Authorization Erroe 518



Hink
10/13/2005 9:13:58 PM
Every now and then I receive a 518 (URL authorization store cannot be opened)
error. All ACL's are correct on the AzPolicy.xml file. Based on a MS
TechCenter article, I ran the File Monitor utility and it reports a "Sharing
Violation" on the AxPolicy.xml file each time I receive this error. Any
ideas why this is happening? How can I prevent the error from occuring?

sebastien.lessard NO[at]SPAM gmail.com
10/26/2005 1:38:18 PM
Hi,

Did you ever find the solution to this problem? We are currently
experiencing the same thing. Every once in a while, around 3-4 times
per day, we get the following event logged by our application (i know
the number of occurences doesn't mean much when you don't know the load
it's under, but, it's just to point out that it seems random and
unpredictable). The rest of the time, AZ seems to work just fine:

3) Exception Information
*********************************************
Exception Type: System.IO.FileLoadException
Message: Le processus ne peut pas acc=E9der au fichier car ce fichier
est utilis=E9 par un autre processus. (loose translation: The process
cannot access the file because it is used by another process)
FileName: NULL
FusionLog: NULL
TargetSite: Void Initialize(Int32, System.String, System.Object)
HelpLink: NULL
Source: Microsoft.Interop.Security.AzRoles

StackTrace Information
*********************************************
at
Microsoft.Interop.Security.AzRoles.AzAuthorizationStoreClass.Initialize(Int=
32
lFlags, String bstrPolicyURL, Object varReserved)


I've translated the text since we're running the french version of
W2k3.

We have been getting this error since the weekend, when we actually
installed quite a few security updates. They are:

Windows 2003 SP1
KB890725
KB896688
KB890830
KB904706
KB901017
KB899589
KB902400
KB905414
KB899591
KB890046
KB899587
KB896358
KB896422
KB896428
KB893756
KB899588
KB901214
KB898715

Before installing these pathches, we never got that error before.

I will try to reproduce the problem in a test environment, but i was
just curious to know if anybody had come across the same thing, just in
case.

Thanks in advance for your help,

Sebastien




[quoted text, click to view]
Hink
10/27/2005 7:30:07 AM
Hello,

I have not found a solution to this error.

I would like to know what type of server (processors, memory, etc.) you are
using to compare to my system. I have an old 500mhz single processor test
server that never gives me this error. My production server is a 2 processor
3.06 GHz Xeon and I can reproduce the error. Let me know your setup.

Thanks!



[quoted text, click to view]
sebastien.lessard NO[at]SPAM gmail.com
10/27/2005 1:33:45 PM
Hi,

Thank you for your comeback, i appreciate it.

I have seen the problem manifest itself on three different servers:

-The first two are two load balanced web servers. They are HP Proliant
DL580 G2, with dual Intel Xeon-A 2.8 Ghz, with HyperThreading.

-The third and last one is HP Proliant DL380, with a single Intel
Xeon-A 3.0 Ghz, also with HyperThreading.

Have you noticed a handle leak in the w3wp.exe process? I see one in
our web application, but i cannot determine yet if it is related to
Authorization Manager or some other part of the application.

I have also run FileMonitor to check on file system activity. I see the
process, w3wp.exe opening the file (in our case, AzPolicy.xml)
repeatedly without any problem when out of the blue, i get a "Sharing
Violation". But then, it continues to open it with success. I only get
one poor user who gets to see the dreaded error page (cannot open file
because it is used by another process).

Thanks for your help,

Sebastien



[quoted text, click to view]
AddThis Social Bookmark Button