"Unable to load file" error when executed under IUSR_ account
From: Rajasekar Shanmugam (s_rajasekar@yahoo.com)
Date: 12/31/02
- Next message: Yasser Helmy: "Encrypting Data"
- Previous message: Jérôme Poudou: "reflection access problem..."
- Next in thread: Matt Lyons [MSFT]: "Re: "Unable to load file" error when executed under IUSR_ account"
- Reply: Matt Lyons [MSFT]: "Re: "Unable to load file" error when executed under IUSR_ account"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Rajasekar Shanmugam" <s_rajasekar@yahoo.com> Date: Tue, 31 Dec 2002 10:13:31 +0530
Hi,
I am trying to implement resource helper library which updates resources
when a change is detected. This library is to be used from ASP pages and
other native apps.
The resources are loaded into a helper domain and when a change is detected,
this appdomain is recreated. Of course, shadow copying is enabled to avoid
locking the actual resource files.
The test program (console app) works fine. When the same component is used
from an ASP page (anonymous user is IUSR_ account), Assembly.LoadFrom( )
method throws the FileLoadException with the message show below.
--------------------------------------------------
Location of findres.dll: e:\temp\loc\res\FindRes.Dll
FileLoadException FileName:findres.dll
FileLoadException Log:=== Pre-bind state information ===
LOG: Where-ref bind. Location = e:/temp/loc/res/findres.dll
LOG: Appbase = C:\WINDOWS\System32\inetsrv\
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///e:/temp/loc/res/findres.dll.
FileLoadException msg:Unable to load file 'findres.dll'.
--------------------------------------------------
If the anonymous user account is changed to an account in power users group,
everything just works fine.
A search in the web did not help.
Any pointers to any information available on this would be great.
Thanks for your time.
- Next message: Yasser Helmy: "Encrypting Data"
- Previous message: Jérôme Poudou: "reflection access problem..."
- Next in thread: Matt Lyons [MSFT]: "Re: "Unable to load file" error when executed under IUSR_ account"
- Reply: Matt Lyons [MSFT]: "Re: "Unable to load file" error when executed under IUSR_ account"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|